Private
impersonatingID of the return.
enables impersonation by calling the subsequent method with the stored impersonation token
OrderReturns.As().List() // lists OrderReturns using the impersonated users' token
Cancel an OrderReturn. Check out the docs for more info
ID of the return.
Complete an OrderReturn. Use only when an order return won't have an associated payment. You will not to reopen an order return after completing it. Check out the docs for more info
ID of the return.
Create a new order return. 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
Required fields: OrderID
Decline an order return. Check out the docs for more info
ID of the return.
Delete an order return. Check out the docs for more info
ID of the return.
Delete an order return item. Check out the docs for more info
ID of the return.
ID of the line item.
Get a single order return. Check out the docs for more info
ID of the return.
Get a list of order returns. Check out the docs for more info
Optional
approvable?: booleanOnly returns orders awaiting the user's approval if true.
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 return approvals. Returns all Approvals associated with the Order Return. Check out the docs for more info
ID of the return.
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 return eligible approvers. Returns all Users who can approve or decline this order return (but have not done so). Check out the docs for more info
ID of the return.
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 return. Check out the docs for more info
ID of the return.
Create or update an order return. If an object with the same ID already exists, it will be overwritten. Check out the docs for more info
ID of the return.
Required fields: OrderID
Submit an order return. Check out the docs for more info
ID of the return.
Generated using TypeDoc
Approve an order return. Check out the docs for more info