checkoutDisassociateUser Mutation
Description
Disassociates a user account from a checkout.
mutation checkoutDisassociateUser($id: String!) {
checkoutDisassociateUser(id: $id) {
_id
id
configRef
origin
created
shipping {
status
date
method
freeShippingThreshold
tracking
shopCollection
weight
}
billing {
status
paymentDate
refundDate
}
orderId
note {
date
content
}
items {
_id
id
quantity
added
total
unavailable
}
buyer {
_id
email
firstName
id
lastName
name
telephone
organisation
taxNumber
isGuest
}
seller {
_id
id
firstName
lastName
name
email
telephone
taxNumber
}
updated
expires
status
message
totals {
grand
leftToPay
discount
itemsQuantity
itemQuantity
subtotal
subtotalBeforeTaxes
shipping
tax
}
urls {
checkout
storefront
}
useSingleAddress
}
}
Variables
{
"id": "16c-7WkFK"
}
Response
{
"checkoutDisassociateUser": {
"_id": "a87ccbc858f473c60196dfbf",
"id": "Xep-ne7NA",
"configRef": "bcf89f5ae8710cb7cef5898a",
"origin": "example",
"created": 1737806685481,
"shipping": {
"status": "example",
"date": 1721005219617,
"method": "example",
"freeShippingThreshold": 1.23,
"tracking": "example",
"shopCollection": true,
"weight": "example"
},
"billing": {
"status": "example",
"paymentDate": 1727192492985,
"refundDate": 1746610884091
},
"orderId": "example",
"note": {
"date": 1722990748394,
"content": "example"
},
"items": [
{
"_id": "63b3e75ae69858829fe3c02a",
"id": "ZkT-cz3Ea",
"quantity": 1.23,
"added": 1753350329659,
"total": 29.99,
"unavailable": true
}
],
"buyer": {
"_id": "e4702d41262159e8706c1d5b",
"email": "email@example.com",
"firstName": "example",
"id": 1.23,
"lastName": "example",
"name": "example",
"telephone": "example",
"organisation": "example",
"taxNumber": "example",
"isGuest": true
},
"seller": {
"_id": "629f1261e93299b6697efc43",
"id": "s7g-RU9M9",
"firstName": "example",
"lastName": "example",
"name": "example",
"email": "email@example.com",
"telephone": "example",
"taxNumber": "example"
},
"updated": 1769290026005,
"expires": 1757005080475,
"status": "example",
"message": "example",
"totals": {
"grand": 1.23,
"leftToPay": 1.23,
"discount": 0.1,
"itemsQuantity": 1.23,
"itemQuantity": 42,
"subtotal": 1.23,
"subtotalBeforeTaxes": 1.23,
"shipping": 1.23,
"tax": 1.23
},
"urls": {
"checkout": "example",
"storefront": "example"
},
"useSingleAddress": true
}
}
Arguments
| Name | Type | Description |
|---|---|---|
id | String! | Checkout identifier string. |