Anchor to section titled 'undefined'

disputeEvidenceUpdate
mutation

Requires write_shopify_payments_dispute_evidences access scope. Also: The user must have manage_orders_information permission.

Updates a dispute evidence.


Anchor to id
id
required

The ID of the dispute evidence to be updated.

The updated properties for a dispute evidence.


Was this section helpful?

The updated dispute evidence.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation disputeEvidenceUpdate($id: ID!, $input: ShopifyPaymentsDisputeEvidenceUpdateInput!) {
  disputeEvidenceUpdate(id: $id, input: $input) {
    disputeEvidence {
      # ShopifyPaymentsDisputeEvidence fields
    }
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{
  "id": "gid://shopify/<objectName>/10079785100",
  "input": {
    "accessActivityLog": "<your-accessActivityLog>",
    "cancellationPolicyDisclosure": "<your-cancellationPolicyDisclosure>",
    "cancellationPolicyFile": {
      "destroy": true,
      "id": "gid://shopify/<objectName>/10079785100"
    },
    "cancellationRebuttal": "<your-cancellationRebuttal>",
    "customerCommunicationFile": {
      "destroy": true,
      "id": "gid://shopify/<objectName>/10079785100"
    },
    "customerEmailAddress": "<your-customerEmailAddress>",
    "customerFirstName": "<your-customerFirstName>",
    "customerLastName": "<your-customerLastName>",
    "refundPolicyDisclosure": "<your-refundPolicyDisclosure>",
    "refundPolicyFile": {
      "destroy": true,
      "id": "gid://shopify/<objectName>/10079785100"
    },
    "refundRefusalExplanation": "<your-refundRefusalExplanation>",
    "serviceDocumentationFile": {
      "destroy": true,
      "id": "gid://shopify/<objectName>/10079785100"
    },
    "shippingAddress": {
      "address1": "<your-address1>",
      "address2": "<your-address2>",
      "city": "<your-city>",
      "company": "<your-company>",
      "country": "<your-country>",
      "countryCode": "AC",
      "firstName": "<your-firstName>",
      "id": "gid://shopify/<objectName>/10079785100",
      "lastName": "<your-lastName>",
      "phone": "<your-phone>",
      "province": "<your-province>",
      "provinceCode": "<your-provinceCode>",
      "zip": "<your-zip>"
    },
    "shippingDocumentationFile": {
      "destroy": true,
      "id": "gid://shopify/<objectName>/10079785100"
    },
    "submitEvidence": true,
    "uncategorizedFile": {
      "destroy": true,
      "id": "gid://shopify/<objectName>/10079785100"
    },
    "uncategorizedText": "<your-uncategorizedText>"
  }
}
input ShopifyPaymentsDisputeEvidenceUpdateInput {
  accessActivityLog: String
  cancellationPolicyDisclosure: String
  cancellationPolicyFile: ShopifyPaymentsDisputeFileUploadUpdateInput
  cancellationRebuttal: String
  customerCommunicationFile: ShopifyPaymentsDisputeFileUploadUpdateInput
  customerEmailAddress: String
  customerFirstName: String
  customerLastName: String
  refundPolicyDisclosure: String
  refundPolicyFile: ShopifyPaymentsDisputeFileUploadUpdateInput
  refundRefusalExplanation: String
  serviceDocumentationFile: ShopifyPaymentsDisputeFileUploadUpdateInput
  shippingAddress: MailingAddressInput
  shippingDocumentationFile: ShopifyPaymentsDisputeFileUploadUpdateInput
  submitEvidence: Boolean
  uncategorizedFile: ShopifyPaymentsDisputeFileUploadUpdateInput
  uncategorizedText: String
}

input ShopifyPaymentsDisputeFileUploadUpdateInput {
  destroy: Boolean
  id: ID!
}

input MailingAddressInput {
  address1: String
  address2: String
  city: String
  company: String
  country: String
  countryCode: CountryCode
  firstName: String
  id: ID
  lastName: String
  phone: String
  province: String
  provinceCode: String
  zip: String
}