Skip to main content

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": "unW-mO07f"
}

Response​

{
"checkoutDisassociateUser": {
"_id": "eeafb48c84c2b01474d8c311",
"id": "rfT-TDB7L",
"configRef": "84eff11274ef1c2c6849356e",
"origin": "example",
"created": 1738636388944,
"shipping": {
"status": "example",
"date": 1781567566962,
"method": "example",
"freeShippingThreshold": 1.23,
"tracking": "example",
"shopCollection": true,
"weight": "example"
},
"billing": {
"status": "example",
"paymentDate": 1775753680159,
"refundDate": 1747060647777
},
"orderId": "example",
"note": {
"date": 1733035838583,
"content": "example"
},
"items": [
{
"_id": "a6d793867607c29a35fa1c7b",
"id": "P9s-8qsoo",
"quantity": 1.23,
"added": 1756294282558,
"total": 29.99,
"unavailable": true
}
],
"buyer": {
"_id": "a9d7d112a4007522d8a85277",
"email": "email@example.com",
"firstName": "example",
"id": 1.23,
"lastName": "example",
"name": "example",
"telephone": "example",
"organisation": "example",
"taxNumber": "example",
"isGuest": true
},
"seller": {
"_id": "ac5d15b371ae93954a91613d",
"id": "NS8-o6Tt6",
"firstName": "example",
"lastName": "example",
"name": "example",
"email": "email@example.com",
"telephone": "example",
"taxNumber": "example"
},
"updated": 1761472594942,
"expires": 1737305835622,
"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​

NameTypeDescription
idString!Checkout identifier string.

Returns​

Checkout