younifyd
Menu

disputeEvidence

Fetch a single shopify payments dispute evidence by its ID.

Use it in a workflow

  1. Add a step and choose the Shopify connector.
  2. Pick the disputeEvidence action (under Dispute).
  3. Fill in the fields below, then reference the result from later steps as {{disputeevidence.response.data}}.

Query

This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.

graphql
query DisputeEvidence($id: ID!) {
  disputeEvidence(id: $id) {
    accessActivityLog
    billingAddress {
      address1
      address2
      city
      company
      coordinatesValidated
      country
      countryCode
      countryCodeV2
      firstName
      formattedArea
      id
      lastName
      latitude
      longitude
      name
      phone
      province
      provinceCode
      timeZone
      validationResultSummary
      zip
    }
    cancellationPolicyDisclosure
    cancellationPolicyFile {
      disputeEvidenceType
      fileSize
      fileType
      id
      originalFileName
      url
    }
    cancellationRebuttal
    customerCommunicationFile {
      disputeEvidenceType
      fileSize
      fileType
      id
      originalFileName
      url
    }
    customerEmailAddress
    customerFirstName
    customerLastName
    customerPurchaseIp
    dispute {
      amount {
        amount
        currencyCode
      }
      disputeEvidence
      evidenceDueBy
      evidenceSentOn
      finalizedOn
      id
      initiatedAt
      legacyResourceId
      order {
        additionalFees
        alerts
        app
        attribution
        billingAddress
        billingAddressMatchesShippingAddress
        canMarkAsPaid
        canNotifyCustomer
        cancelReason
        cancellation
        cancelledAt
        capturable
        cartDiscountAmount
        cartDiscountAmountSet
        cartToken
        channel
        channelInformation
        checkoutToken
        clientIp
        closed
        closedAt
        confirmationNumber
        confirmed
        createdAt
        currencyCode
        currentCartDiscountAmountSet
        currentShippingPriceSet
        currentSubtotalLineItemsQuantity
        currentSubtotalPriceSet
        currentTaxLines
        currentTotalAdditionalFeesSet
        currentTotalDiscountsSet
        currentTotalDutiesSet
        currentTotalPriceSet
        currentTotalTaxSet
        currentTotalWeight
        customAttributes
        customer
        customerAcceptsMarketing
        customerJourney
        customerJourneySummary
        customerLocale
        discountCode
        discountCodes
        displayAddress
        displayFinancialStatus
        displayFulfillmentStatus
        disputes
        dutiesIncluded
        edited
        email
        estimatedTaxes
        fulfillable
        fulfillmentsCount
        fullyPaid
        hasTimelineComment
        id
        landingPageDisplayText
        landingPageUrl
        legacyResourceId
        merchantBusinessEntity
        merchantEditable
        merchantEditableErrors
        merchantOfRecordApp
        name
        netPayment
        netPaymentSet
        note
        number
        originalTotalAdditionalFeesSet
        originalTotalDutiesSet
        originalTotalPriceSet
        paymentCollectionDetails
        paymentGatewayNames
        paymentTerms
        phone
        physicalLocation
        poNumber
        presentmentCurrencyCode
        processedAt
        productNetwork
        publication
        purchasingEntity
        referralCode
        referrerDisplayText
        referrerUrl
        refundDiscrepancySet
        refundable
        registeredSourceUrl
        requiresShipping
        restockable
        retailLocation
        returnStatus
        risk
        riskLevel
        shippingAddress
        shippingLine
        shopifyProtect
        sourceIdentifier
        sourceName
        staffMember
        subtotalLineItemsQuantity
        subtotalPrice
        subtotalPriceSet
        tags
        taxExempt
        taxLines
        taxesIncluded
        test
        totalCapturable
        totalCapturableSet
        totalCashRoundingAdjustment
        totalDiscounts
        totalDiscountsSet
        totalOutstandingSet
        totalPrice
        totalPriceSet
        totalReceived
        totalReceivedSet
        totalRefunded
        totalRefundedSet
        totalRefundedShippingSet
        totalShippingPrice
        totalShippingPriceSet
        totalTax
        totalTaxSet
        totalTipReceived
        totalTipReceivedSet
        totalWeight
        transactionsCount
        unpaid
        updatedAt
      }
      reasonDetails {
        networkReasonCode
        reason
      }
      status
      type
    }
    disputeFileUploads {
      disputeEvidenceType
      fileSize
      fileType
      id
      originalFileName
      url
    }
    fulfillments {
      id
      shippingCarrier
      shippingDate
      shippingTrackingNumber
    }
    id
    productDescription
    refundPolicyDisclosure
    refundPolicyFile {
      disputeEvidenceType
      fileSize
      fileType
      id
      originalFileName
      url
    }
    refundRefusalExplanation
    serviceDocumentationFile {
      disputeEvidenceType
      fileSize
      fileType
      id
      originalFileName
      url
    }
    shippingAddress {
      address1
      address2
      city
      company
      coordinatesValidated
      country
      countryCode
      countryCodeV2
      firstName
      formattedArea
      id
      lastName
      latitude
      longitude
      name
      phone
      province
      provinceCode
      timeZone
      validationResultSummary
      zip
    }
    shippingDocumentationFile {
      disputeEvidenceType
      fileSize
      fileType
      id
      originalFileName
      url
    }
    submitted
    uncategorizedFile {
      disputeEvidenceType
      fileSize
      fileType
      id
      originalFileName
      url
    }
    uncategorizedText
  }
}

Variables

Pass these as a JSON object in the step's Variables field.

idstringrequired

The ID of the `ShopifyPaymentsDisputeEvidence` to return.

json
{
  "id": "string"
}

Response

Read the result with {{disputeevidence.response.data.data.disputeEvidence}}. If the API returns errors, the step fails and they are at {{disputeevidence.response.data.errors}}.

accessActivityLogstring
billingAddressobject
address1string
address2string
citystring
companystring
coordinatesValidatedboolean
countrystring
countryCodestring
countryCodeV2string

One ofAFAXALDZADAOAIAGARAMAWACAUATAZBSBHBDBBBYBEBZBJBMBTBOBABWBVBRIOBNBGBFBIKHCACVBQKY

firstNamestring
formattedAreastring
idstring
lastNamestring
latitudenumber
longitudenumber
namestring
phonestring
provincestring
provinceCodestring
timeZonestring
validationResultSummarystring

One ofNO_ISSUESERRORWARNING

zipstring
cancellationPolicyDisclosurestring
cancellationPolicyFileobject
disputeEvidenceTypestring

One ofCUSTOMER_COMMUNICATION_FILEREFUND_POLICY_FILECANCELLATION_POLICY_FILEUNCATEGORIZED_FILESHIPPING_DOCUMENTATION_FILESERVICE_DOCUMENTATION_FILERESPONSE_SUMMARY_FILE

fileSizenumber
fileTypestring
idstring
originalFileNamestring
urlstring
cancellationRebuttalstring
customerCommunicationFileobject
disputeEvidenceTypestring

One ofCUSTOMER_COMMUNICATION_FILEREFUND_POLICY_FILECANCELLATION_POLICY_FILEUNCATEGORIZED_FILESHIPPING_DOCUMENTATION_FILESERVICE_DOCUMENTATION_FILERESPONSE_SUMMARY_FILE

fileSizenumber
fileTypestring
idstring
originalFileNamestring
urlstring
customerEmailAddressstring
customerFirstNamestring
customerLastNamestring
customerPurchaseIpstring
disputeobject
amountobject2 fields
disputeEvidenceobject

Recursive reference to ShopifyPaymentsDisputeEvidence, not further expanded.

evidenceDueBystring
evidenceSentOnstring
finalizedOnstring
idstring
initiatedAtstring
legacyResourceIdstring
orderobject40 fields
reasonDetailsobject2 fields
statusstring

One ofACCEPTEDLOSTNEEDS_RESPONSEPREVENTEDUNDER_REVIEWWONCHARGE_REFUNDED

typestring

One ofCHARGEBACKINQUIRY

disputeFileUploadsarray<object>
disputeEvidenceTypeobject
fileSizeobject
fileTypeobject
idobject
originalFileNameobject
urlobject
fulfillmentsarray<object>
idobject
shippingCarrierobject
shippingDateobject
shippingTrackingNumberobject
idstring
productDescriptionstring
refundPolicyDisclosurestring
refundPolicyFileobject
disputeEvidenceTypestring

One ofCUSTOMER_COMMUNICATION_FILEREFUND_POLICY_FILECANCELLATION_POLICY_FILEUNCATEGORIZED_FILESHIPPING_DOCUMENTATION_FILESERVICE_DOCUMENTATION_FILERESPONSE_SUMMARY_FILE

fileSizenumber
fileTypestring
idstring
originalFileNamestring
urlstring
refundRefusalExplanationstring
serviceDocumentationFileobject
disputeEvidenceTypestring

One ofCUSTOMER_COMMUNICATION_FILEREFUND_POLICY_FILECANCELLATION_POLICY_FILEUNCATEGORIZED_FILESHIPPING_DOCUMENTATION_FILESERVICE_DOCUMENTATION_FILERESPONSE_SUMMARY_FILE

fileSizenumber
fileTypestring
idstring
originalFileNamestring
urlstring
shippingAddressobject
address1string
address2string
citystring
companystring
coordinatesValidatedboolean
countrystring
countryCodestring
countryCodeV2string

One ofAFAXALDZADAOAIAGARAMAWACAUATAZBSBHBDBBBYBEBZBJBMBTBOBABWBVBRIOBNBGBFBIKHCACVBQKY

firstNamestring
formattedAreastring
idstring
lastNamestring
latitudenumber
longitudenumber
namestring
phonestring
provincestring
provinceCodestring
timeZonestring
validationResultSummarystring

One ofNO_ISSUESERRORWARNING

zipstring
shippingDocumentationFileobject
disputeEvidenceTypestring

One ofCUSTOMER_COMMUNICATION_FILEREFUND_POLICY_FILECANCELLATION_POLICY_FILEUNCATEGORIZED_FILESHIPPING_DOCUMENTATION_FILESERVICE_DOCUMENTATION_FILERESPONSE_SUMMARY_FILE

fileSizenumber
fileTypestring
idstring
originalFileNamestring
urlstring
submittedboolean
uncategorizedFileobject
disputeEvidenceTypestring

One ofCUSTOMER_COMMUNICATION_FILEREFUND_POLICY_FILECANCELLATION_POLICY_FILEUNCATEGORIZED_FILESHIPPING_DOCUMENTATION_FILESERVICE_DOCUMENTATION_FILERESPONSE_SUMMARY_FILE

fileSizenumber
fileTypestring
idstring
originalFileNamestring
urlstring
uncategorizedTextstring

Need more? See the Shopify guide for connection setup and behaviour shared by every action.

Was this page helpful?
disputeEvidence — Shopify — Documentation