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": "bcz-1IwBh"
}

Response

{
"checkoutVerifyAndUpdate": {
"checkout": {
"_id": "025f28fdea79c24881d97c9b",
"id": "nDq-5BKBU",
"configRef": "1686740392cabc8843f4ab24",
"origin": "example",
"created": 1763889017639,
"orderId": "example",
"updated": 1745233275111,
"expires": 1763627143478,
"status": "example",
"message": "example",
"useSingleAddress": true
},
"message": "example"
}
}

Arguments

NameTypeDescription
idString!Checkout identifier string.

Returns

CheckoutVerifyAndUpdateResponse