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": "Qww-Jb3ZV"
}

Response

{
"checkoutDisassociateUser": {
"_id": "caa2c4afa7c2230950b53b13",
"id": "5nm-BA3b5",
"configRef": "d14a2c2cbfc8da47604f982a",
"origin": "example",
"created": 1718555806699,
"shipping": {
"status": "example",
"date": 1754787222459,
"method": "example",
"freeShippingThreshold": 1.23,
"tracking": "example",
"shopCollection": true,
"weight": "example"
},
"billing": {
"status": "example",
"paymentDate": 1755945308274,
"refundDate": 1768830911020
},
"orderId": "example",
"note": {
"date": 1739816804914,
"content": "example"
},
"items": [
{
"_id": "8ec620f708bfe09b4dde4876",
"id": "bPh-vQCgL",
"quantity": 1.23,
"added": 1735796043830,
"total": 29.99,
"unavailable": true
}
],
"buyer": {
"_id": "c15f2f2c449f22e58677446b",
"email": "email@example.com",
"firstName": "example",
"id": 1.23,
"lastName": "example",
"name": "example",
"telephone": "example",
"organisation": "example",
"taxNumber": "example",
"isGuest": true
},
"seller": {
"_id": "48f21c6f7d154549dca48226",
"id": "UIl-Y7uql",
"firstName": "example",
"lastName": "example",
"name": "example",
"email": "email@example.com",
"telephone": "example",
"taxNumber": "example"
},
"updated": 1768861818528,
"expires": 1749171636140,
"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