Skip to main content

checkoutVerifyAndUpdate Mutation

Description

Verifies checkout validity and updates it if needed.

mutation checkoutVerifyAndUpdate($id: String!) {
checkoutVerifyAndUpdate(id: $id) {
checkout {
_id
id
configRef
origin
created
orderId
updated
expires
status
message
useSingleAddress
}
message
}
}

Variables

{
"id": "dOn-15JbH"
}

Response

{
"checkoutVerifyAndUpdate": {
"checkout": {
"_id": "47305fa9bdc0a1964c353675",
"id": "iGg-JBPLI",
"configRef": "2708d30afc8f763b9f295e53",
"origin": "example",
"created": 1717269731872,
"orderId": "example",
"updated": 1720728128892,
"expires": 1751440008450,
"status": "example",
"message": "example",
"useSingleAddress": true
},
"message": "example"
}
}

Arguments

NameTypeDescription
idString!Checkout identifier string.

Returns

CheckoutVerifyAndUpdateResponse