PUT
/
v1
/
packing_list_items
/
:id
curl --location --request PUT 'https://api.stateset.com/v1/packing_list_items/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "1",
    "sku": "1",
    "description": "1",
    "quantity": 1,
    "packing_list": "1",
    "arrived": true
}'
{
    "id": "1",
    "sku": "1",
    "description": "1",
    "quantity": 1,
    "packing_list": "1",
    "arrived": true
}

Body

id
string
required
The ID of the packing list item to update.
sku
string
required
The SKU of the packing list item to update.
description
string
required
The description of the packing list item to update.
quantity
number
required
The quantity of the packing list item to update.
packing_list
string
required
The packing list of the packing list item to update.
arrived
boolean
required
The arrived of the packing list item to update.

Response

id
string
required
The ID of the packing list item to update.
sku
string
required
The SKU of the packing list item to update.
description
string
required
The description of the packing list item to update.
quantity
number
required
The quantity of the packing list item to update.
packing_list
string
required
The packing list of the packing list item to update.
arrived
boolean
required
The arrived of the packing list item to update.
curl --location --request PUT 'https://api.stateset.com/v1/packing_list_items/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "1",
    "sku": "1",
    "description": "1",
    "quantity": 1,
    "packing_list": "1",
    "arrived": true
}'
{
    "id": "1",
    "sku": "1",
    "description": "1",
    "quantity": 1,
    "packing_list": "1",
    "arrived": true
}