OrderLineItemTagRequirements
List order line item tag requirements
Returns all active required/preferred inventory-tag requirements for the company's order line items.
path Parameters
companyIdThe unique identifier of the company
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List order line item tag requirements › Responses
Active tag requirements
orderLineItemIdThe order line item the requirement belongs to
tagIdThe inventory tag required or preferred of the supplying stock
requirement'Required' (hard constraint) or 'Preferred' (soft preference)
List tag requirements for an order line item
Returns the active required/preferred inventory-tag requirements of the specified order line item. Empty when the line item has none (or does not exist for the company).
path Parameters
companyIdThe unique identifier of the company
orderLineItemIdThe unique identifier of the order line item
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
List tag requirements for an order line item › Responses
Active tag requirements of the line item
orderLineItemIdThe order line item the requirement belongs to
tagIdThe inventory tag required or preferred of the supplying stock
requirement'Required' (hard constraint) or 'Preferred' (soft preference)
Set tag requirements for an order line item
Replaces the required and preferred inventory-tag requirements of an order line item with the provided sets. Both lists must be supplied; pass empty lists to clear. A tag cannot be both required and preferred, and every tag must be an active inventory tag of the company.
path Parameters
companyIdThe unique identifier of the company
orderLineItemIdThe unique identifier of the order line item
Headers
GoSmarter-Api-KeyThe GoSmarter-Api-Key header is used to authenticate with the API using your API key. Value is of the format YOUR_KEY_HERE.
Set tag requirements for an order line item › Request Body
requiredTagIdspreferredTagIdsSet tag requirements for an order line item › Responses
The line item's active tag requirements after the change
orderLineItemIdThe order line item the requirement belongs to
tagIdThe inventory tag required or preferred of the supplying stock
requirement'Required' (hard constraint) or 'Preferred' (soft preference)

