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": "PA1-W2GOr"
}

Response​

{
"checkoutDisassociateUser": {
"_id": "beb5d8d02f2812a4f9e330c3",
"id": "lvm-eGLRX",
"configRef": "e241681a9a077998c888f440",
"origin": "example",
"created": 1743855342925,
"shipping": {
"status": "example",
"date": 1779552218232,
"method": "example",
"freeShippingThreshold": 1.23,
"tracking": "example",
"shopCollection": true,
"weight": "example"
},
"billing": {
"status": "example",
"paymentDate": 1741010269729,
"refundDate": 1749220745629
},
"orderId": "example",
"note": {
"date": 1757615073304,
"content": "example"
},
"items": [
{
"_id": "06c0cef3d79d0d7b4355cfa2",
"id": "IJd-YRDKL",
"quantity": 1.23,
"added": 1748030444600,
"total": 29.99,
"unavailable": true
}
],
"buyer": {
"_id": "cddb112050384fd74109993f",
"email": "email@example.com",
"firstName": "example",
"id": 1.23,
"lastName": "example",
"name": "example",
"telephone": "example",
"organisation": "example",
"taxNumber": "example",
"isGuest": true
},
"seller": {
"_id": "f346421202cbf49f4a9b33d3",
"id": "sHE-xMk0m",
"firstName": "example",
"lastName": "example",
"name": "example",
"email": "email@example.com",
"telephone": "example",
"taxNumber": "example"
},
"updated": 1756981332873,
"expires": 1741793910090,
"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