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 order return Check out the docs for more info
ID of the return.
Complete an order return 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 an order return 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.
Retrieve an order return Check out the docs for more info
ID of the return.
List 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. 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.
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 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. 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.
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 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. 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.
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