Overview
You can use this endpoint to add products to an existing Pallet. To consume it, you must:
- Be an authenticated user.
For information on how you can authenticate, see Authentication.
To see how to create a new pallet, click here.
Endpoint
An example of such an endpoint for XX server is:
https://xx.api.sellercloud.com/rest/api/Inventory/Pallets/{palletID}/Items
For your server endpoint will be:
https://{your_server_id}.api.sellercloud.com/rest/api/Inventory/Pallets/{palletID}/Items
Request
- Method Type: HttpPost
- Authorization: Use Bearer Token + token received from token authentication
- Header info: Content-Type: application/json
- Path Parameter: Valid ID of an existing Pallet
Request Parameters
Parameter | Data Type | Description | Is Required |
Items | ProductID
SerialNumber LotNumber ExpiryDate |
Provide details of the items you are adding to the Pallet. | yes |
ProductID | string | Valid SKU of an existing product. | yes |
Qty | integer | Number of units to add for the specific SKU. | yes |
SerialNumber | string | Required if the product is enabled for Require Serial Number Scan While Shipping.
If Qty > 1, provide comma-separated serial numbers for each unit. |
yes – see description |
LotNumber | string | The product’s Lot Number. Becomes required if the product is marked as Expirable in Sellercloud. You can only provide 1. | yes – see description |
ExpiryDate | datetime | The unit Expiry date. Becomes required if the product is marked as Expirable in Sellercloud. You can only provide 1. | yes – see description |
Request Body
{ "Items": [ { "ProductID": "string", "Qty": 0, "SerialNumber": "string", "LotNumber": "string", "ExpiryDate": "2024-09-18T17:09:49.383Z" } ] }
Response
- If the user is authenticated and provides a valid ID of an order, 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.
- On server response => Status Code 500 => Internal Server Error.