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" }, ] }
This endpoint updates an existing inventory item.