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": "Mpi-Ra4Tz"
}

Response

{
"checkoutVerifyAndUpdate": {
"checkout": {
"_id": "2670280dcfc9aba836583709",
"id": "IkN-F2T58",
"configRef": "48857bfb27aeda5b131a756a",
"origin": "example",
"created": 1766347356966,
"orderId": "example",
"updated": 1760742577173,
"expires": 1744350106230,
"status": "example",
"message": "example",
"useSingleAddress": true
},
"message": "example"
}
}

Arguments

NameTypeDescription
idString!Checkout identifier string.

Returns

CheckoutVerifyAndUpdateResponse