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": "yUb-nJYkj"
}

Response​

{
"checkoutDisassociateUser": {
"_id": "d997281cddfe994d767c5576",
"id": "CL6-Fl0zX",
"configRef": "e0639f2238bf0e77c018be9c",
"origin": "example",
"created": 1750773325244,
"shipping": {
"status": "example",
"date": 1771430382786,
"method": "example",
"freeShippingThreshold": 1.23,
"tracking": "example",
"shopCollection": true,
"weight": "example"
},
"billing": {
"status": "example",
"paymentDate": 1775500600674,
"refundDate": 1777449634936
},
"orderId": "example",
"note": {
"date": 1764586998963,
"content": "example"
},
"items": [
{
"_id": "3ded1ea467e41e14e5651adc",
"id": "9DV-LSKRa",
"quantity": 1.23,
"added": 1784199907017,
"total": 29.99,
"unavailable": true
}
],
"buyer": {
"_id": "07a67508fe327aa1fbb49ac4",
"email": "email@example.com",
"firstName": "example",
"id": 1.23,
"lastName": "example",
"name": "example",
"telephone": "example",
"organisation": "example",
"taxNumber": "example",
"isGuest": true
},
"seller": {
"_id": "a8472f73177e72f84f50fd6d",
"id": "iGb-KjB6U",
"firstName": "example",
"lastName": "example",
"name": "example",
"email": "email@example.com",
"telephone": "example",
"taxNumber": "example"
},
"updated": 1744277307105,
"expires": 1773263579338,
"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