Get returns

get
/returns
approval_status
string

The approval status of the return.

Allowed values:
submittedapproveddonerejectedexpired
created_at_max
string<date-time>

End date and time of returns created. The default value is the current time. Please make sure the value of the parameter is properly escaped in URL encoding.

Example:
2024-01-01T00:00:00Z
created_at_min
string<date-time>

Start date and time of returns created. AfterShip will only respond with data from the past 365 days at most. The default value is 365 days ago. Please make sure the value of the parameter is properly escaped in URL encoding.

Example:
2024-01-01T00:00:00Z
customer_email
string<email>

The customer email used when submitting a return. Please make sure the value of the parameter is properly escaped in URL encoding.

limit
number
>= 1<= 50
Default:
10
order_name
string

The order name of the origin order associated with the return.

Example:
#1001
outcome
string

The return is considered a match if the outcomes field in the resource contains at least one of the specified outcome values.

Allowed values:
exchangerefundupsellstore_credit
page
number
>= 1<= 200
Default:
1
return_method
string

The return method of the return.

Allowed values:
happy_returnsretail_reworksretailer_labelcarrier_pickupcustomer_courierin_storegreen_returncarrier_dropoff
Auth
:
Parameters
:
:
:
:
:
:
:
:
: