Private
impersonatingDirection of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Promo code of the order promotion.
AutoApply eligible promotions. Apply up to 100 eligible promotions to an order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Approve an order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Cancel an order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Complete an order. Use only when an order doesn't need a shipment. You will not be able to ship or reopen an order after completing it. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Create a new order. If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
Decline an order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Delete an order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Forward an order. Creates and submits 0 or more outgoing Orders to Suppliers, one for each unique Product.DefaultSupplierID on this Order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Get a single order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Get a list of orders. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
Optional
buyerID?: stringID of the buyer.
Optional
filters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optional
from?: stringLower bound of date range that the order was created.
Optional
page?: numberPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
Optional
pageNumber of results to return per page. Default: 20, max: 100.
Optional
search?: stringWord or phrase to search for.
Optional
searchComma-delimited list of fields to search on.
Optional
searchType of search to perform. Possible values: AnyTerm (default), AllTermsAnyField, AllTermsSameField, ExactPhrase, ExactPhrasePrefix.
Optional
sortComma-delimited list of fields to sort by.
Optional
supplierID?: stringID of the supplier.
Optional
to?: stringUpper bound of date range that the order was created.
Get a list of order approvals. Returns all Approvals associated with the Order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Optional
filters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optional
page?: numberPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
Optional
pageNumber of results to return per page. Default: 20, max: 100.
Optional
search?: stringWord or phrase to search for.
Optional
searchComma-delimited list of fields to search on.
Optional
sortComma-delimited list of fields to sort by.
Get a list of order eligible approvers. Returns all Users who can approve or decline this order (but have not done so). Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Optional
filters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optional
page?: numberPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
Optional
pageNumber of results to return per page. Default: 20, max: 100.
Optional
search?: stringWord or phrase to search for.
Optional
searchComma-delimited list of fields to search on.
Optional
sortComma-delimited list of fields to sort by.
List eligible promotions. Get a list of promotions eligible for an order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Optional
filters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optional
page?: numberPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
Optional
pageNumber of results to return per page. Default: 20, max: 100.
Optional
search?: stringWord or phrase to search for.
Optional
searchComma-delimited list of fields to search on.
Optional
sortComma-delimited list of fields to sort by.
Get a list of order promotions. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Optional
filters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optional
page?: numberPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
Optional
pageNumber of results to return per page. Default: 20, max: 100.
Optional
search?: stringWord or phrase to search for.
Optional
searchComma-delimited list of fields to search on.
Optional
sortComma-delimited list of fields to sort by.
List shipments for an order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Optional
filters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optional
page?: numberPage of results to return. Default: 1. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
Optional
pageNumber of results to return per page. Default: 20, max: 100.
Optional
search?: stringWord or phrase to search for.
Optional
searchComma-delimited list of fields to search on.
Optional
sortComma-delimited list of fields to sort by.
Partially update an order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Partially update an order billing address. Not allowed on unsubmitted orders where BillingAddressID has been set. In that case, use the Addresses resource to update the saved address. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Update order FromUser. Only FirstName, LastName, and Email can be updated.
Primarily used to facilitate guest checkout scenarios.
Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Partially update an order shipping address. Not allowed on unsubmitted orders where ShippingAddressID has been set. In that case, use the Addresses resource to update the saved address. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Remove a promotion from an order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Promo code of the order.
Create or update an order. If an object with the same ID already exists, it will be overwritten. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Set a billing address. Use only when the address is not to be saved/reused.
To use a saved address (i.e. from the Addresses resource), PATCH the order's BillingAddressID property instead.
Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Required fields: Street1, City, State, Zip, Country
Set a shipping address. Use only when the address is not to be saved/reused. To use a saved address (i.e. from the Addresses resource), PATCH the order's ShippingAddressID property instead. The address used will be populated on the ShippingAddress property of each LineItem. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Required fields: Street1, City, State, Zip, Country
Create a new shipment containing all items on an order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Split an order. Creates, but does not submit, 0 or more outgoing Orders to Suppliers, one for each unique Product.DefaultSupplierID on this Order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Submit an order. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Validate an order in its current state. Check out the docs for more info
Direction of the order, from the current user's perspective. Possible values: incoming, outgoing, all.
ID of the order.
Generated using TypeDoc
Add a promotion to an order. Check out the docs for more info