checkoutDelete Mutation
Deletes a checkout.
Arguments
#
Response
#
Returns CheckoutDelete .
Example
#
mutation ($token: UUID!) {
checkoutDelete(token: $token) {
checkoutErrors {
field
message
code
variants
}
checkout {
created
lastChange
quantity
note
currency
discountName
translatedDiscountName
voucherCode
poNumbers
id
email
isShippingRequired
token
discountType
}
}
}
3
{
"token": "123e4567-e89b-12d3-a456-426614174000"
}
3
{
"checkoutDelete": {
"checkoutErrors": [
{
"field": "string",
"message": "string",
"code": "BILLING_ADDRESS_NOT_SET",
"variants": [
"dmFyaWFudHM6ODg="
]
}
],
"checkout": {
"created": "2022-03-06T08:23:45.000Z",
"lastChange": "2022-03-06T08:23:45.000Z",
"quantity": 42,
"note": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dictum, risus vel suscipit rhoncus, felis turpis tristique arcu, sit amet lobortis nulla neque at mi.",
"currency": "string",
"discountName": "string",
"translatedDiscountName": "string",
"voucherCode": "string",
"poNumbers": [
"string"
],
"id": "aWQ6MTY=",
"email": "user@example.com",
"isShippingRequired": true,
"token": "125d1240-2b9c-4634-a6f2-70fecc5d88cc",
"discountType": "SHIPPING"
}
}
}
3