List Returns

GET {{baseUrl}}/v1/order_returns?limit=<string>&ending_before=<string>&starting_after=<string>&tokens=<string>,<string>

Retrieve a list of all order returns.

Request Params

KeyDatatypeRequiredDescription
limitstringThe maximum number of returns to list. Range - 1-100. Default is 10.
ending_beforestringThe ID of the order created after the last order you want to retrieve a return from.
starting_afterstringThe ID of the order created before the first order you want to retrieve a return from.
tokensstringFilters the list for orders related to the specified order.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;status&quot;:{&quot;error_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;message&quot;:&quot;\u003cstring\u003e&quot;,&quot;operation_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;response_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;status&quot;:&quot;\u003cstring\u003e&quot;},&quot;data&quot;:[{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;amount&quot;:&quot;\u003cnumber\u003e&quot;,&quot;created&quot;:&quot;\u003cinteger\u003e&quot;,&quot;currency&quot;:&quot;CZK&quot;,&quot;items&quot;:[{&quot;amount&quot;:&quot;\u003cnumber\u003e&quot;,&quot;currency&quot;:&quot;HRK&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;parent&quot;:&quot;\u003cnumber\u003e&quot;,&quot;quantity&quot;:&quot;\u003cnumber\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;},{&quot;amount&quot;:&quot;\u003cnumber\u003e&quot;,&quot;currency&quot;:&quot;MAD&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;parent&quot;:&quot;\u003cnumber\u003e&quot;,&quot;quantity&quot;:&quot;\u003cnumber\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;}],&quot;order&quot;:&quot;\u003cstring\u003e&quot;,&quot;refund&quot;:&quot;\u003cstring\u003e&quot;},{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;amount&quot;:&quot;\u003cnumber\u003e&quot;,&quot;created&quot;:&quot;\u003cinteger\u003e&quot;,&quot;currency&quot;:&quot;PYG&quot;,&quot;items&quot;:[{&quot;amount&quot;:&quot;\u003cnumber\u003e&quot;,&quot;currency&quot;:&quot;MRO&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;parent&quot;:&quot;\u003cnumber\u003e&quot;,&quot;quantity&quot;:&quot;\u003cnumber\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;},{&quot;amount&quot;:&quot;\u003cnumber\u003e&quot;,&quot;currency&quot;:&quot;MXN&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;parent&quot;:&quot;\u003cnumber\u003e&quot;,&quot;quantity&quot;:&quot;\u003cnumber\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;}],&quot;order&quot;:&quot;\u003cstring\u003e&quot;,&quot;refund&quot;:&quot;\u003cstring\u003e&quot;}]}