Tags:
- Admin GraphQL API
- Customer Account API
- Webhook
- 2026-01
New Return Reason Definitions API for Better Return Insights
You can now use the new type to capture more granular, category-specific return reasons when managing returns. This replaces the previous enum with a richer data model that helps provide merchants with better insights in their return analytics, and more tailored return experiences for their buyers.
What's new
- A new
type withid,handle, andnamefields. Use the stablehandlefor programmatic logic. - The
query retrieves the full library of available return reasons. - A new
connection onprovides return reasons tailored to each product's category. - The
,, andmutations now acceptin their line item inputs. - Access
onandtypes.
Deprecations
The field on input types and return line item types is deprecated. Use for inputs and for reading return data.
Migration
If your app creates returns, update your mutations to use instead of . Query on to get contextually relevant reasons for each product. For reading returns, update your queries to use instead of .
These changes are available in API version 2026-01.
Was this section helpful?