Create a line item Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
Required fields: ProductID
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 a line item Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
ID of the line item.
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 a line item Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
ID of the line item.
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 line items 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" | "ProductID")[]Comma-delimited list of fields to search on.
OptionalsortBy?: ("ID" | "ProductID" | "!ID" | "DateAdded" | "!DateAdded" | "!ProductID")[]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 line item across 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" | "ProductID")[]Comma-delimited list of fields to search on.
OptionalsearchType?: SearchTypeType of search to perform.
OptionalsortBy?: ("ID" | "ProductID" | "!ID" | "DateAdded" | "!DateAdded" | "!ProductID")[]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.
Partially update a line item Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
ID of the line item.
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 a line item shipping address Partially update the Shipping Address of the Line Item. Not allowed on unsubmitted Line Items 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.
ID of the line item.
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 a line item 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.
ID of the line item.
Required fields: ProductID
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 Set the Shipping Address of the Line Item. Appropriate only when the Address is not to be saved/reused. To use a Saved Address (i.e. from the Addresses resource), PATCH the Line Item's ShippingAddressID property instead. Check out the docs for more info
Direction of the order, from the current user's perspective.
ID of the order.
ID of the line item.
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.
Description
enables impersonation by calling the subsequent method with the stored impersonation token
Example