Update Order Item

Change a line's quantity. Only the quantity can change: a different SKU is a different line, so delete this one and add the new one. Sending another sku returns 400 {"errors": ["Item sku can't be changed; delete the item and add a new one"]}.

Only while the order's status is unverified; otherwise returns 403. The body can be wrapped ({"order_item": {...}}) or have the fields at the top level.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The store ID your customer sent you with the credentials. It must belong to the same store as the username.

string
required

The order id Warehance returned when the order was created. It stays the same after the warehouse splits or merges the order. Ignored when order_number is sent.

string
required

The line's id, returned when the line was created.

Query Params
string
length ≥ 1

Your order number. When sent, it takes priority over {order_id}, so /orders/0.json?order_number=10001 finds the order by number.

Body Params
order_item
object
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json