Tags:
- Action Required
- API
- 2023-04
Payment properties deprecation on the Admin API Order resource
The following properties on the REST and GraphQL Admin API's Order resource, including webhooks, are deprecated:
gateway
The gateway and properties are available on the corresponding Transaction resources.
The property is no longer available due to orders supporting multiple transactions with various processing methods, the field contained incorrect data. The values it provided can be inferred from various sources:
free. This is accessible through the order totals.checkoutcan be determined by the presence ofon an order.express,direct,offsite, andmanualcan be inferred through thegatewayandproperties.
These deprecated properties will be removed from unstable in January 2023. The change will be made official in the 2023-04 Admin API version.
Was this section helpful?