Skip to main content
POST
cURL
Send sale_invoice.id and the returns lines under return_merchandise_authorisation. The invoice must have fulfilled stock, and each return names a fulfilled invoice line and a quantity. The new RMA has status active and return_status pending.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Body

application/json
return_merchandise_authorisation
object
required

Response

201 - application/json

The new RMA's id, code, status and version, under return_merchandise_authorisation.

return_merchandise_authorisation
object
required