This class is used to send requests to Admin Return API Routes. All its method
are available in the JS Client under the
All methods in this class require user authentication.
A return can be created by a customer or an admin to return items in an order. Admins can manage these returns and change their state.
Related Guide: How to manage returns.
Registers a return as canceled. The return can be associated with an order, claim, or swap.
Retrieve a list of Returns. The returns can be paginated.
To list returns:
By default, only the first
50 records are retrieved. You can control pagination by specifying the
Paignation configurations to be applied on the retrieved returns.
Mark a return as received. This also updates the status of associated order, claim, or swap accordingly.
payloadAdminPostReturnsReturnReceiveReqRequiredThe received return.