Skip to main content
PATCH
Update a purchase order item

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

purchase_order_item_id
integer
required

The ID of the purchase order item

Body

application/json
quantity

Updated quantity (must be greater than 0)

Required range: x > 0
sku
string | null

Updated SKU identifier

total_price
integer | null

Updated total price for this line item, in cents

Required range: x >= 0

Response

200 - application/json

OK

created
string<date-time>
required

The datetime this object was created.

id
integer
required

The unique identifier for the purchase order item

inventory_id
integer | null
required

The inventory id for this item

modified
string<date-time>
required

The datetime this object was last modified; changes to related entities will not update this field.

quantity
required

The quantity ordered

sku
string
required

The SKU identifier for this item

total_price
integer
required

The total price for this line item, in cents

unit_of_measure
string
required

The unit of measure for this item

inventory_shortcode
string
default:""

The inventory shortcode (human-readable code) for this item