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": "3e6-2tRcl"
}

Response​

{
"checkoutVerifyAndUpdate": {
"checkout": {
"_id": "0b77755a5f653bbe710aac5f",
"id": "yX1-OCKFQ",
"configRef": "b5265447c11283aa81bcf03f",
"origin": "example",
"created": 1737922275191,
"orderId": "example",
"updated": 1753837166360,
"expires": 1776514081656,
"status": "example",
"message": "example",
"useSingleAddress": true
},
"message": "example"
}
}

Arguments​

NameTypeDescription
idString!Checkout identifier string.

Returns​

CheckoutVerifyAndUpdateResponse