ID of the return.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
Cancel an order return Check out the docs for more info
ID of the return.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
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.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
Create an order return Check out the docs for more info
Required fields: OrderID
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
Decline an order return Check out the docs for more info
ID of the return.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
Delete an order return Check out the docs for more info
ID of the return.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
Delete an order return item Check out the docs for more info
ID of the return.
ID of the line item.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
Retrieve an order return Check out the docs for more info
ID of the return.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
List order returns Check out the docs for more info
Optionalapprovable?: booleanOnly returns orders awaiting the user's approval if true.
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" | "OrderID")[]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).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
List order return approvals Returns all Approvals associated with the Order Return. Check out the docs for more info
ID of the return.
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).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
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.
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).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
Partially update an order return Check out the docs for more info
ID of the return.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
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
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
Submit an order return Check out the docs for more info
ID of the return.
OptionalaccessToken?: stringAlternative token to the one stored in the sdk instance (useful for impersonation).
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Optionalsignal?: AbortSignalAbortSignal that can be used to cancel the request.
Approve an order return Check out the docs for more info