returnReasons
Reasons a buyer may give, in the store's language
Returns
| Field | Type | Description |
|---|---|---|
code | String! | |
label | String! | |
requiresPhotos | Boolean! | Each line returned for this reason needs at least one photo attached |
Example
query ReturnReasons { returnReasons { code label requiresPhotos }}{ "data": { "returnReasons": [ { "code": "Example", "label": "Example", "requiresPhotos": true } ] }}The query selects the return type's fields two levels deep; pick the ones you need. The response shows its shape with placeholder values.
Served by
| @evolve-framework/commercetools | Resolved |
Used by
The storefront packages that send it, in these GraphQL documents:
- @evolve-storefront/feature-return:
GetReturnReasons

