I’m trying to use the disputeEvidenceUpdate GraphQL mutation to submit evidence to a dispute, as shown in this example: disputeEvidenceUpdate - GraphQL Admin
However, I’m unclear on how to retrieve the required IDs:
evidence.id – The ID of the dispute evidence to be updated
I reviewed the dispute data via GraphQL (shopifyPaymentsDispute), but I don’t see any field that returns the evidence ID.
uncategorizedFile.id – The ID of the file uploaded to the dispute
How and where do I retrieve this after uploading the file?
Could you please clarify how to obtain both of these IDs using the Admin GraphQL API?
However, I’m unclear on how to retrieve the required IDs:
evidence.id – The ID of the dispute evidence to be updated
I reviewed the dispute data via GraphQL (shopifyPaymentsDispute), but I don’t see any field that returns the evidence ID.
uncategorizedFile.id – The ID of the file uploaded to the dispute
How and where do I retrieve this after uploading the file?
Could you please clarify how to obtain both of these IDs using the Admin GraphQL API?
Hey! Sorry I missed this follow up! The GID (Global ID) of the file should be able to be used in the disputeUpdate mutation to associate the file with a dispute.
If you run in to issues with that though, let me know!