We are trying to test billing on deferred purchases. However, the following request:
mutation {
orderCreateMandatePayment(
id: “gid://shopify/Order/4944625139950” idempotencyKey:“idempotencyKey_40599y1l846sjii”
mandateId: “1”
) {
paymentReferenceId
userErrors { field
message
}
}
}
is throwing the following error:
{
“errors”: [
{
“message”: “Invalid global id ‘1’”,
“locations”: [
{
“line”: 3,
“column”: 7
}
],
“path”: [
“mutation”,
“orderCreateMandatePayment”,
“mandateId”
],
“extensions”: {
“code”: “argumentLiteralsIncompatible”,
“typeName”: “CoercionError”
}
}
]
}
Any help will be appreciated.