Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

receipt removed from OrderTransaction GraphQL Admin API

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

Was this section helpful?