Tags:
- Action Required
- Admin GraphQL API
- Admin REST API
- 2024-10
Exposing the order adjustments connection on a Refund
As of the 2024-10 Admin GraphQL API, you can use the connection to query for the difference between calculated and actual refund amounts. The webhook topic will include order adjustments too. As of 2024-10, the webhook payload for will not include the kind field.
Please note that the field is now deprecated in the Admin GraphQL API. It is also deprecated in the legacy resource in the Admin REST API.
For this reason, refunded shipping costs will not be included in the connection. To query for refunded shipping costs, use the connection instead. This connection has been updated as of July 18, 2024 to include refunded shipping costs; more info here. Refunded shipping costs will not be present in the webhook payload for as of 2024-10 for the same reason.
The field will be present on the unstable API version for 6 months to allow apps to migrate to the 2024-10 API version.