Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Create return label functionality via API

Solved

Create return label functionality via API

danylosi
Visitor
3 0 0

Hi. I noticed that I create/approve returns I can create or upload return labels. To manage upload return label I can use API related to reverse deliveries and so on. But what about "create return label" functionality?  It has package, weight,  shipping service fields and I can send generated labels to customer's email. Can I do the similar stuff but via API or it can be done only via Shopify Admin?

Attaching some screens:

image.pngScreenshot 2023-08-07 at 16.53.28.pngScreenshot 2023-08-07 at 16.53.38.png

Thanks!

Accepted Solution (1)

Liam
Community Manager
3108 344 891

This is an accepted solution.

Hi Danylosi,

 

Shopify doesn't currently provide a direct API endpoint to generate or manage return labels. Most of the return management, including label creation, is done through the Shopify Admin interface.

However, you have a couple of other options:

 

1. You can use third-party shipping and logistics apps that provide APIs for return label generation. These might include services like Shippo, EasyPost, or ShipStation, among others. You would need to integrate these services into your app and use their APIs to manage return labels.

2. If you're developing a custom fulfillment service, you may be able to generate return labels through your own systems (outside of Shopify), and then provide those to customers via email or other means.

 

Hope this helps!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

Liam
Community Manager
3108 344 891

This is an accepted solution.

Hi Danylosi,

 

Shopify doesn't currently provide a direct API endpoint to generate or manage return labels. Most of the return management, including label creation, is done through the Shopify Admin interface.

However, you have a couple of other options:

 

1. You can use third-party shipping and logistics apps that provide APIs for return label generation. These might include services like Shippo, EasyPost, or ShipStation, among others. You would need to integrate these services into your app and use their APIs to manage return labels.

2. If you're developing a custom fulfillment service, you may be able to generate return labels through your own systems (outside of Shopify), and then provide those to customers via email or other means.

 

Hope this helps!

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

artemisathletix
Shopify Partner
1 0 0

Hey Liam!

Is it now possible?


Shopify doesn't currently provide a direct API endpoint to generate or manage return labels