Private
impersonatingCreate a new line item. 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.
ID of the order.
Required fields: ProductID
Delete a line item. 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.
ID of the line item.
Get a single line item. 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.
ID of the line item.
Get a list of line items. 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 line item across 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.
Partially update a line item. 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.
ID of the line item.
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. Possible values: incoming, outgoing, all.
ID of the order.
ID of the line item.
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. Possible values: incoming, outgoing, all.
ID of the order.
ID of the line item.
Required fields: ProductID
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. Possible values: incoming, outgoing, all.
ID of the order.
ID of the line item.
Required fields: Street1, City, State, Zip, Country
Generated using TypeDoc
Description
enables impersonation by calling the subsequent method with the stored impersonation token
Example