receipt
removed from OrderTransaction GraphQL Admin API
API
Effective April 01, 2024
Action required
As of 2024-04, OrderTransaction.receipt
will be removed from the Admin GraphQL API. The field has been deprecated since 2019-04 and is replaced by OrderTransaction.receiptJson
Both fields contains the same data but in different formats. receipt
was returning a Ruby hash formatted as a string, while receiptJson
is returning JSON.
Standardizing around JSON-formatted receipts will make it easier for developer to build consistent integrations and removing duplicate fields will simplify our API.
Learn more about the change in the OrderTransaction GraphQL API documentation