Batch attach shipments to an RMA

post
/returns/rma/{rma_number}/shipment-batch

If you are a 3PL or a specific carrier that acts on behalf of the merchant to provide return shipping labels to shoppers, you might want to generate a label by yourself and then attach it to the return, after the webhook event return.approved occured and was sent to your registered endpoint.

rma_number
string
required
shipments
array[object]
tracking_number
string
Example:
9400100000000000000000
label
object
send_notification
boolean
Auth
:
Parameters
:
Body
preparing...