Get returns

Get all returns from FeedAMP, filtered by the provided query params

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

mp_order_numberslist of stringsOptional

Comma-delimited list of marketplace order numbers

mp_return_numberslist of stringsOptional

Comma-delimited list of marketplace return numbers

stateenumOptional
Filter by return processing state <ul> <li>AUTHORIZED - Return has been authorized</li> <li>REFUNDED - The merchant has released the funds for the return</li> </ul>
Allowed values:
has_errorsbooleanOptional

Include returns either with or without errors. If not set, returns will be returned regardless of the presence/absence of errors

page_sizeintegerOptional10-50Defaults to 20
The number of returns per page to return
cursorstringOptional
Cursor for the next page of orders

Response

Order Returns
returnslist of objects
next_cursorstringOptional
The cursor to get the next page of orders

Errors

400
Bad Request Error
401
Unauthorized Error