Close
logo

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 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