Setting a Return Label

Git RepositoryEdit on Github
Last update: 2 years ago by luigi mangaReading time: 2 min

While setting up a Sale Return, Onport allows the marketplace to upload a pre-generated shipping label which will appear in the vendor portal for printing purposes.

This task can be carried out from within Onport's app as well as via Onport's API.

The following cURL request sets the return label URL to a given address:

curl --request PUT \
--url \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{"labelUrl": ""}'
πŸ”ƒ Returns β€” Previous
Changing the Status of a Return
Next β€” πŸ’² Payments
Custom Payment Method