ID of the return.
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.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
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).
OptionalcancelToken?: CancelTokenAxios cancelToken that can be used to cancel the request.
OptionalrequestType?: stringIdentify the type of request. Useful for error logs.
Approve an order return Check out the docs for more info