PUT
/
v1
/
inventory_items
/
:id
curl --location --request PUT 'https://api.stateset.com/v1/inventory_items/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30"
}'
{
    "inventory_items": [
        {
            "id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
            "sku": "SKU-123",
            "description": "This is a description",
            "size": "Large",
            "incoming": 10,
            "color": "Red",
            "warehouse": 1,
            "available": 10,
            "arriving": "2021-01-01",
            "purchase_order_id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30"
        },
    ]
}  

Body

id
string
This is the unique identifier for the inventory item.
sku
string
This is the stock keeping unit (SKU) for the inventory item.
description
string
This is the description for the inventory item.
size
string
This is the size for the inventory item.
incoming
number
This is the number of items incoming for the inventory item.
color
string
This is the color for the inventory item.
warehouse
number
This is the identifier for the warehouse for the inventory item.
available
number
This is the number of items available for the inventory item.
arriving
date
This is the date when the items are expected to arrive for the inventory item.
purchase_order_id
string
This is the identifier for the purchase order associated with the inventory item.

Response

id
string
This is the unique identifier for the inventory item.
sku
string
This is the stock keeping unit (SKU) for the inventory item.
description
string
This is the description for the inventory item.
size
string
This is the size for the inventory item.
incoming
number
This is the number of items incoming for the inventory item.
color
string
This is the color for the inventory item.
warehouse
number
This is the identifier for the warehouse for the inventory item.
available
number
This is the number of items available for the inventory item.
arriving
date
This is the date when the items are expected to arrive for the inventory item.
purchase_order_id
string
This is the identifier for the purchase order associated with the inventory item.
curl --location --request PUT 'https://api.stateset.com/v1/inventory_items/:id' \
--header 'Content-Type: application/json' \
--header 'Authorization: Token <token>' \
--data-raw '{
    "id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30"
}'
{
    "inventory_items": [
        {
            "id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
            "sku": "SKU-123",
            "description": "This is a description",
            "size": "Large",
            "incoming": 10,
            "color": "Red",
            "warehouse": 1,
            "available": 10,
            "arriving": "2021-01-01",
            "purchase_order_id": "0901f083-aa1c-43c5-af5c-0a9d2fc64e30"
        },
    ]
}