Overview
You can use this endpoint to receive Warehouse Inventory Transfer (WITR) items. To consume it, you must:
- Be an authenticated user
For information on how you can authenticate, see: Authentication
As soon as you authenticate and receive a valid token, it needs to be passed to the service call.
Endpoint
An example of such an endpoint for XX server is:
https://xx.api.sellercloud.com/rest/api/WarehouseInventoryTransfers/{id}/ReceiveShipment
For your server, the endpoint will be:
https://{your_server_id}.api.sellercloud.com/rest/api/WarehouseInventoryTransfers/{id}/ReceiveShipment
Request
- Method Type: HttpPut
- Authorization: Use Bearer Token (where ‘Token’ is the token received from token authentication)
- Header info: Content-Type: application/json
- Parameter: ID of the existing Warehouse Inventory Transfer (WITR)
Parameter | Data Type | Description | Is Required |
Items | list | List of products to receive. | yes |
ID | string | The product ID of the item you are receiving. | yes |
ReceivingWarehouseID | integer | ID of the receiving warehouse. | yes |
SerialNumbers | list/string | Serial numbers of the item you are receiving, if applicable. | no |
Request Body
{ "Items": [ { "ID": 0, "QtyToReceive": 0, "ReceivingWarehouseID": 0, "SerialNumbers": [ "string" ] } ] }
Response
- If the user is authenticated and the request is successful, then the response will be Status Code 200 => OK
- If the user is not authenticated, then the response will be Status Code 401 => Not Valid Token
- In case of an error, the response will be Status Code 500 => Internal Server Error