Skip to main content
POST
Append line items to a purchase order

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

purchaseOrderId
integer
required

ID of the purchase order to append line items to

Body

application/json
items
object[]
required

Line items to append to the purchase order

Minimum array length: 1
volume_target_cbm
number<float> | null

Optionally set or update the purchase order's target container volume in cubic metres (the container-fill gauge's denominator) while appending line items.

Required range: x >= 0
Example:

67

Response

Line items appended; the updated purchase order is returned

data
object