Direction of the order, from the current user's perspective.
ID of the order.
Promo code of the order promotion.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Auto-apply promotions to an order Apply up to 100 eligible promotions where AutoApply=true. Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Approve an order Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Cancel an order Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Create an order Check out the docs for more info
Direction of the order, from the current user's perspective.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Decline an order Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Delete an order Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Retrieve an order Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
List orders Check out the docs for more info
Direction of the order, from the current user's perspective.
OptionalbuyerID?: stringID of the buyer.
Optionalfilters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optionalfrom?: stringLower bound of date range that the order was created.
Optionalpage?: numberPage of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
OptionalpageSize?: numberNumber of results to return per page.
Optionalsearch?: stringWord or phrase to search for.
OptionalsearchOn?: ("ID" | "FromCompanyID" | "ToCompanyID" | "Comments")[]Comma-delimited list of fields to search on.
OptionalsearchType?: SearchTypeType of search to perform.
OptionalsortBy?: (Comma-delimited list of fields to sort by.
OptionalsupplierID?: stringID of the supplier.
Optionalto?: stringUpper bound of date range that the order was created.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
List 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.
ID of the order.
Optionalfilters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optionalpage?: numberPage of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
OptionalpageSize?: numberNumber of results to return per page.
Optionalsearch?: stringWord or phrase to search for.
OptionalsearchOn?: ("Comments" | "ApprovalRuleID" | "ApprovingGroupID" | "Approver")[]Comma-delimited list of fields to search on.
OptionalsortBy?: (Comma-delimited list of fields to sort by.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
List 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.
ID of the order.
Optionalfilters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optionalpage?: numberPage of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
OptionalpageSize?: numberNumber of results to return per page.
Optionalsearch?: stringWord or phrase to search for.
OptionalsearchOn?: ("ID" | "LastName" | "FirstName" | "Username" | "Email")[]Comma-delimited list of fields to search on.
OptionalsortBy?: (Comma-delimited list of fields to sort by.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
List eligible promotions for an order Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
Optionalfilters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optionalpage?: numberPage of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
OptionalpageSize?: numberNumber of results to return per page.
Optionalsearch?: stringWord or phrase to search for.
OptionalsearchOn?: (Comma-delimited list of fields to search on.
OptionalsortBy?: (Comma-delimited list of fields to sort by.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
List order promotions Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
Optionalfilters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optionalpage?: numberPage of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
OptionalpageSize?: numberNumber of results to return per page.
Optionalsearch?: stringWord or phrase to search for.
OptionalsearchOn?: (Comma-delimited list of fields to search on.
OptionalsortBy?: (Comma-delimited list of fields to sort by.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
List shipments for an order Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
Optionalfilters?: FiltersAn object or dictionary representing key/value pairs to apply as filters. Valid keys are top-level properties of the returned model or 'xp.???'
Optionalpage?: numberPage of results to return. When paginating through many items (> page 30), we recommend the "Last ID" method, as outlined in the Advanced Querying documentation.
OptionalpageSize?: numberNumber of results to return per page.
Optionalsearch?: stringWord or phrase to search for.
OptionalsearchOn?: (Comma-delimited list of fields to search on.
OptionalsortBy?: (Comma-delimited list of fields to sort by.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Partially update an order Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Partially update an order from user 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.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Refresh promotions on an order Re-calculates promotion discounts, removes promotions that are no longer valid, and adds eligible promotions where AutoApply=true (up to limit of 100) Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Remove a promotion from an order Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
Promo code of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Repeat an order Creates a new unsubmitted order from a previously submitted order, copying available line items with recalculated prices. Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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.
ID of the order.
Required fields: Street1, City, Country
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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.
ID of the order.
Required fields: Street1, City, Country
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Submit an order Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Validate an order in its current state Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Add a promotion to an order Check out the docs for more info