Docs

Add Line Items

POST /orders/{orderId}/lineItems

POST/orders/{orderId}/lineItems

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.

Bulk-adds one or more line items to an order. Each line item references a procurement asset and is assigned to a line item group.

Path Parameters

FieldTypeRequiredDescription
orderIdGuidRequiredThe ID of the order. Replace `{{orderId}}` in the URL.

Request Body

FieldTypeRequiredDescription
lineItemsLineItem[]RequiredArray of line items to add. At least one required.
lineItems[].groupIdGuidRequiredThe line item group to assign this item to. Replace `{{lineItemGroupId}}` with a real ID.
lineItems[].procurementAssetIdGuidRequiredID of the procurement asset to add as a line item.
lineItems[].quantityintRequiredQuantity requested.

Response

Returns 201 Created with an empty body on success.