POST
/
v1
/
packing_list_items
/
:id
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
 
}

Body

id
string
required

The ID of the packing list item to create.

sku
string
required

The SKU of the packing list item to create.

description
string
required

The description of the packing list item to create.

quantity
number
required

The quantity of the packing list item to create.

packing_list
string
required

The packing list of the packing list item to create.

arrived
boolean
required

The arrived of the packing list item to create.

Response

id
string
required

The ID of the packing list item to create.

sku
string
required

The SKU of the packing list item to create.

description
string
required

The description of the packing list item to create.

quantity
number
required

The quantity of the packing list item to create.

packing_list
string
required

The packing list of the packing list item to create.

arrived
boolean
required

The arrived of the packing list item to create.

Packing List Item

NameTypeDescription
idText (Primary Key, Unique)Unique identifier for the packing list item
skuTextStock Keeping Unit (SKU) for the packing list item
descriptionTextDescription or additional details about the item
quantityIntegerQuantity of the item in the packing list item
packing_listTextIdentifier for the associated packing list
arrivedBoolenWhether or not the packing list item has arrived