Richemont.Booster2.PublicApi

<back to all web services

TransferStockBulk

Requires Authentication
The following routes are available for this service:
POST/stock/{brand}/transferBulkBulk Transfer Stock from one POS to another
TransferStockBulk Parameters:
NameParameterData TypeRequiredDescription
brandpathstringYesBrand Trigram
posCodeOriginbodystringYesPOS of the stock origin
posCodeDestinationbodystringYesPOS of the stock destination
itemsbodyList<Item>YesItems to be transferred
Item Parameters:
NameParameterData TypeRequiredDescription
articleCodeformstringYesArticle Code of the item to be transferred
quantityformintYesQuantity of the the item to be transferred
serialNumbersformList<string>NoSerial Numbers of the item to be transferred
TransferStockBulkResponse Parameters:
NameParameterData TypeRequiredDescription
itemsformList<ItemResponse>YesResponse of items
ItemResponse Parameters:
NameParameterData TypeRequiredDescription
articleCodeformstringYesArticle Code of the item response
stockTransferStatusIdformintYesStatus of Stock Transfer: 1 means done, 2 means might take a while because consignment transfers need to be approved by SAP
errorsformList<Lookup<String>>YesErrors of items

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /stock/{brand}/transferBulk HTTP/1.1 
Host: dev-api-booster.richemont.com 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"brand":"String","posCodeOrigin":"String","posCodeDestination":"String","items":[{"articleCode":"String","quantity":0,"serialNumbers":["String"]}]}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"items":[{"articleCode":"String","stockTransferStatusId":0,"errors":[{"id":"String","description":"String"}]}]}