Add Order Item

Add a line to the order and return it with its new id. Adding a SKU that's already on the order creates a second line; to change how many are ordered, update the existing line instead.

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.

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