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": "5dQ-Gd2Q1"
}

Response​

{
"checkoutDisassociateUser": {
"_id": "f65eeac3fa34ea2858d05328",
"id": "8TU-rqa79",
"configRef": "a5eb09a1a688f8d79c247560",
"origin": "example",
"created": 1765619851182,
"shipping": {
"status": "example",
"date": 1735863929714,
"method": "example",
"freeShippingThreshold": 1.23,
"tracking": "example",
"shopCollection": true,
"weight": "example"
},
"billing": {
"status": "example",
"paymentDate": 1740140042243,
"refundDate": 1737844024235
},
"orderId": "example",
"note": {
"date": 1753631021578,
"content": "example"
},
"items": [
{
"_id": "eaf74d4bc3bc69b25ca0938e",
"id": "R9A-1FnIg",
"quantity": 1.23,
"added": 1787193361233,
"total": 29.99,
"unavailable": true
}
],
"buyer": {
"_id": "4f55c285861fda2817c7dac7",
"email": "email@example.com",
"firstName": "example",
"id": 1.23,
"lastName": "example",
"name": "example",
"telephone": "example",
"organisation": "example",
"taxNumber": "example",
"isGuest": true
},
"seller": {
"_id": "75596fe0f7a745a572262ddc",
"id": "BH9-FuxUd",
"firstName": "example",
"lastName": "example",
"name": "example",
"email": "email@example.com",
"telephone": "example",
"taxNumber": "example"
},
"updated": 1742000926644,
"expires": 1750364902584,
"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