Close
logo

Setting a Return Label

Git RepositoryEdit on Github
Last update: 4 months 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 https://api.jetti.io/api/sale-returns/:id.json \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{"labelUrl": "https://domain.com/label.jpg"}'
πŸ”ƒ Returns β€” Previous
Changing the Status of a Return
Next β€” πŸ’² Payments
Custom Payment Method