---
title: Read and write disputes and dispute evidence in the GraphQL and REST 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/read-and-write-disputes-and-dispute-evidence-in-the-graphql-and-rest-admin-api
  md: https://shopify.dev/changelog/read-and-write-disputes-and-dispute-evidence-in-the-graphql-and-rest-admin-api.md
---

July 1, 2022

Tags:

* API
* 2022-07

# Read and write disputes and dispute evidence in the GraphQL and REST Admin API

You can now read and write disputes and dispute evidence for Shopify Payments using the REST and GraphQL Admin APIs. The following new objects, mutations, and endpoints are available:

### GraphQL Admin API

* [`ShopifyPaymentsDisputeEvidence`](https://shopify.dev/api/admin-graphql/latest/objects/ShopifyPaymentsDisputeEvidence) object
* [`ShopifyPaymentsDisputeFileUploadUpdateInput`](https://shopify.dev/api/admin-graphql/latest/input-objects/ShopifyPaymentsDisputeFileUploadUpdateInput) input object
* [`ShopifyPaymentsDisputeEvidenceFileType`](https://shopify.dev/api/admin-graphql/latest/enums/ShopifyPaymentsDisputeEvidenceFileType) enum
* [`ShopifyPaymentsDisputeFileUpload`](https://shopify.dev/api/admin-graphql/latest/objects/ShopifyPaymentsDisputeFileUpload) object
* [`ShopifyPaymentsDisputeEvidenceUpdate`](https://shopify.dev/api/admin-graphql/latest/mutations/disputeEvidenceUpdate) mutation

### REST Admin API

* `POST /admin/api/2022-07/shopify_payments/disputes/{{dispute_id}}/dispute_file_uploads.json`
* `DELETE /admin/api/{version}/shopify_payments/disputes/{{dispute_id}}/dispute_file_uploads/{{dispute_file_upload_id}}`
* `PUT /admin/api/{version}/shopify_payments/disputes/{{dispute_id}}/dispute_evidences.json`

For more information, refer to the [Dispute](https://shopify.dev/api/admin-rest/latest/resources/dispute#top) resource developer documentation.