Skip to main content
PATCH
Map a line item to a product / toggle flags

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

salesOrderItemId
integer
required

ID of the sales order line item

Body

application/json
product_id
integer | null

Luminous product ID to map this line to. Omit to leave the mapping untouched (useful when only toggling flags).

Required range: x >= 1
add_as_alternate_sku
boolean
default:false

When true and the line's channel SKU differs from the product's internal SKU, upsert an alternate SKU record so future orders with that SKU auto-map.

non_physical_item
boolean

Mark the line as non-physical (no inventory effect on post).

ignore_item
boolean

Mark the line as ignored for purgatory evaluation.

Response

Updated sales order line item

data
object