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": "Yud-WJBAY"
}
Response
{
"checkoutVerifyAndUpdate": {
"checkout": {
"_id": "ccc5a5f21ad3ea2c0862dc2a",
"id": "rwD-7musC",
"configRef": "7edc5cb7f4a72ad6fc77ba17",
"origin": "example",
"created": 1712584117539,
"orderId": "example",
"updated": 1738891080366,
"expires": 1709118071329,
"status": "example",
"message": "example",
"useSingleAddress": true
},
"message": "example"
}
}
Arguments
| Name | Type | Description |
|---|---|---|
id | String! | Checkout identifier string. |