---
title: >-
  receipt removed from OrderTransaction GraphQL Admin API - Shopify developer
  changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/receipt-removed-from-ordertransaction-graphql-admin-api
  md: >-
    https://shopify.dev/changelog/receipt-removed-from-ordertransaction-graphql-admin-api.md
metadata:
  effectiveApiVersion: 2024-04
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: true
  createdAt: '2024-01-29T17:14:00-05:00'
  postedAt: '2024-04-01T09:00:00-04:00'
  updatedAt: '2024-02-07T09:58:30-05:00'
  effectiveAt: '2024-04-01T09:00:00-04:00'
---

April 1, 2024

Tags:

* Action Required
* Admin GraphQL API
* 2024-04

# `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](https://shopify.dev/docs/api/admin-graphql/2024-04/objects/OrderTransaction)
