Packing List Items
Create Packing List Item
This endpoint creates a new packing list item
POST
/v1/packing_list_items/:id
Bearer*
Body
idrequired
string
The ID of the packing list item to create.
skurequired
string
The SKU of the packing list item to create.
descriptionrequired
string
The description of the packing list item to create.
quantityrequired
number
The quantity of the packing list item to create.
packing_listrequired
string
The packing list of the packing list item to create.
arrivedrequired
boolean
The arrived of the packing list item to create.
Response
idrequired
string
The ID of the packing list item to create.
skurequired
string
The SKU of the packing list item to create.
descriptionrequired
string
The description of the packing list item to create.
quantityrequired
number
The quantity of the packing list item to create.
packing_listrequired
string
The packing list of the packing list item to create.
arrivedrequired
boolean
The arrived of the packing list item to create.
curl --location --request POST 'https://api.stateset.com/v1/packing_list_item/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "pi_ODkRWQtx9NVsRX",
"sku": "sku_1",
"description": "description_1",
"quantity": 1,
"packing_list": "pl_1",
"arrived": true
}'
{
"id": "pi_ODkRWQtx9NVsRX",
"sku": "sku_1",
"description": "description_1",
"quantity": 1,
"packing_list": "pl_1",
"arrived": true
}
Packing List Item
Name | Type | Description |
---|---|---|
id | Text (Primary Key, Unique) | Unique identifier for the packing list item |
sku | Text | Stock Keeping Unit (SKU) for the packing list item |
description | Text | Description or additional details about the item |
quantity | Integer | Quantity of the item in the packing list item |
packing_list | Text | Identifier for the associated packing list |
arrived | Boolen | Whether or not the packing list item has arrived |
curl --location --request POST 'https://api.stateset.com/v1/packing_list_item/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
"id": "pi_ODkRWQtx9NVsRX",
"sku": "sku_1",
"description": "description_1",
"quantity": 1,
"packing_list": "pl_1",
"arrived": true
}'
{
"id": "pi_ODkRWQtx9NVsRX",
"sku": "sku_1",
"description": "description_1",
"quantity": 1,
"packing_list": "pl_1",
"arrived": true
}