The order has no returned label when using the return api

Topic summary

Issue: A return created via Shopify’s Admin REST “refund” resource (2022-01) does not display the “Returned” label on the order in the admin UI.

Observation: Manually returning the order in the Shopify admin shows the “Returned” label, but the API-triggered return does not.

Reference: The user follows the guide at https://shopify.dev/api/admin-rest/2022-01/resources/refund. A screenshot is referenced and is central to illustrating the missing label in the UI.

Context: The post is categorized under GraphQL, but the implementation link and details reference the Admin REST API.

Status: No responses or solutions yet; no confirmed reason for the discrepancy.

Open questions: Whether the REST return/refund API sets or exposes the “Returned” label, and if any additional endpoint, parameter, or action is required to make the label appear in the order UI.

Summarized with AI on February 7. AI used: gpt-5.

Hi there,

I’m using the return api as followed here:

https://shopify.dev/api/admin-rest/2022-01/resources/refund

I noticed that there is no returned label on the order but, when I return the order manually through the admin I can see it.

Please check the screenshot.