| GET | /aggregatedStock/{brand}/{posCode} | Get aggregated stock |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| brand | path | string | Yes | Brand |
| posCode | path | string | Yes | Authorized POS Code e.g. ES100:102048 |
| articleCodes | query | List<string> | No | Article Codes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| clusterCode | form | string | Yes | Cluster code |
| stockItems | form | List<ClusterStockItem> | Yes | Stock Items |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| articleCode | form | string | Yes | Article Code |
| assetQuantity | form | int | Yes | Asset Quantity |
| consignmentQuantity | form | int | Yes | Consignment Quantity |
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 /aggregatedStock/{brand}/{posCode} HTTP/1.1
Host: dev-api-booster.richemont.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
clusterCode: String,
stockItems:
[
{
articleCode: String,
assetQuantity: 0,
consignmentQuantity: 0
}
]
}