| GET | /posChain/{brand}/{posCode}/availableForTransfer | Get available POS within the same Chain where stock is transferable |
|---|
"use strict";
export class Pos {
/** @param {{posCode?:string,name?:string,city?:string,address?:string,country?:string,brand?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description POS Code */
posCode;
/**
* @type {string}
* @description Name of the POS */
name;
/**
* @type {string}
* @description City of the POS */
city;
/**
* @type {string}
* @description Address of the POS */
address;
/**
* @type {string}
* @description Country of the POS */
country;
/**
* @type {string}
* @description Brand of the POS */
brand;
}
export class GetPosChainTransferAvailableResponse extends Array {
constructor(init) { super(init); Object.assign(this, init) }
}
export class GetPosChainTransferAvailable {
/** @param {{brand?:string,posCode?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description Brand */
brand;
/**
* @type {string}
* @description POS Legacy Code */
posCode;
}
JavaScript GetPosChainTransferAvailable DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /posChain/{brand}/{posCode}/availableForTransfer HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length [ ]