Approve Return By Return ID

post
/returns/{return_id}/approve

Through the approve return API, you can transition a return to approved status.

return_id
string
required
notify_customer
boolean

Whether to send a notification to the customer.

generate_label
boolean

Whether to execute the creation of labels according to the default configuration during the approval process.

customize_label_info
object
label_reference
string

If generate_label is set to true, this field can be used to customize the reference on the label.

ship_from
Address

If generate_label is set to true, this field is used to specify the sender's address

Example:
{"street_1":"1234 Elm Street","street_2":"Apt 5","city":"New York","state":{"name":"New York"},"postal_code":"10001","country_region":{"code":"USA"}}
ship_to
Address

If generate_label is set to true, this field is used to specify the receipent's address.

Example:
{"street_1":"1234 Elm Street","street_2":"Apt 5","city":"New York","state":{"name":"New York"},"postal_code":"10001","country_region":{"code":"USA"}}
Auth
:
Parameters
:
Body
preparing...