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": "RHY-NKwOE"
}

Response​

{
"checkoutVerifyAndUpdate": {
"checkout": {
"_id": "cad3d2b53949ae189989ae40",
"id": "5t5-ldLnw",
"configRef": "8fbb965d0edda7a56b809f9e",
"origin": "example",
"created": 1748206970297,
"orderId": "example",
"updated": 1759290799033,
"expires": 1767439668040,
"status": "example",
"message": "example",
"useSingleAddress": true
},
"message": "example"
}
}

Arguments​

NameTypeDescription
idString!Checkout identifier string.

Returns​

CheckoutVerifyAndUpdateResponse