Overview
You can use this endpoint to create a single new Pallet. To consume it, you must:
- Be an authenticated user.
For information on how you can authenticate, see Authentication.
To see how to add items to a pallet, click here.
Endpoint
An example of such an endpoint for XX server is:
https://xx.api.sellercloud.com/rest/api/Inventory/Pallets
For your server endpoint will be:
https://{your_server_id}.api.sellercloud.com/rest/api/Inventory/Pallets
Request
- Method Type: HttpPost
- Authorization: Use Bearer Token + token received from token authentication
- Header info: Content-Type: application/json
Request Parameters
Parameter | Data Type | Description | Is Required |
PalletReferenceNumber | string | Provide the Reference Number for the new Pallet. | yes |
Request Body
{ "PalletReferenceNumber" }
Response
- If the user is authenticated and provides a valid ID of an order, then the response will be Status Code 200 => OK and the Pallet ID in JSON format.
- 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.