Set Returns Access
PUT//:domain/api/shopify/:integrationInstance/returns-access
Toggle whether the Shopify GraphQL returns field should be queried when this integration instance syncs orders. Set to false when the app installation lacks the read_returns permission scope — Shopify rejects the field with "Access denied for returns field" otherwise. The system also auto-flips this to false the first time that error is observed.
Authentication: Requires Bearer token.
Request body:
- has_returns_access (required, boolean): true to include returns in order syncs, false to exclude them.
Request
Responses
- 200
- 422
OK
Response Headers
Content-Type
Unprocessable Entity
Response Headers
Content-Type