Retrieve a list of returns which have been created under your API credentials.
40, which can be controlled by the page_size query param.
You can filter the results to only include return parcels created within a specific time frame using the from_date and to_date parameters, or based on the parent_parcel_status.Basic Authentication using API key and secrets is currently the main authentication mechanism.
The cursor query string is used as the pivot value to filter results. If no value is provided, the first page of results will be returned. To get this value, you must encode the offset, reverse and position into a base64 string.
There are 3 possible parameters to encode:
o: Offsetr: Reversep: PositionFor example, r=1&p=300 encoded as a base64 string would be cj0xJnA9MzAw. The query string would then be cursor=cj0xJnA9MzAw.
"cj0xJnA9MzAw"
Excludes all returns before this datetime
"2022-04-06 00:00:00"
Excludes all returns after this datetime
"2022-04-07 00:00:00"
Search for returns with this parent status
ready-to-send, announced, to-sorting, delayed, sorted, unsorted, sorting, delivery-failed, delivery-forced, delivered, awaiting-customer-pickup, announced-uncollected, collect-error, unsorted2, undeliverable, shipment-on-route, driver-on-route, picked-up-by-driver, collected-by-customer, no-label, announcing, cancelling-upstream, cancelling, cancelled, cancelled-upstream, unknown, announcement-failed, at-customs, at-sorting-centre, refused-by-recipient, returned-to-sender, delivery-method-changed, delivery-date-changed, delivery-address-changed, exception, address-invalid "announced"
Refers to the number of items per page
1 <= x <= 4010