Skip to main content
POST
Set sales order lines' fulfillment priority list

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

salesOrderId
integer
required

Sales order ID

Body

application/json
items
object[]
required

Lines to update. Each sales_order_item_id may appear only once.

Required array length: 1 - 500 elements
dry_run
boolean
default:false

When true, return the plan and write nothing.

notes
string | null

Optional note recorded with the change.

Maximum string length: 2000

Response

Dry-run plan or apply result. A dry run returns lines, will_unpush_fo_ids, and preview. An apply returns lines and result.

data
object