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": "gBC-JtK7X"
}

Response

{
"checkoutDisassociateUser": {
"_id": "7503e38ecf0e29f7c6274062",
"id": "4MQ-TRHAf",
"configRef": "48de558dfd9da3856f2a4867",
"origin": "example",
"created": 1718723103078,
"shipping": {
"status": "example",
"date": 1709448094177,
"method": "example",
"freeShippingThreshold": 1.23,
"tracking": "example",
"shopCollection": true,
"weight": "example"
},
"billing": {
"status": "example",
"paymentDate": 1747918625555,
"refundDate": 1714062102140
},
"orderId": "example",
"note": {
"date": 1710487957726,
"content": "example"
},
"items": [
{
"_id": "741aa4c085e8836a829300ae",
"id": "Z6A-Vy4OI",
"quantity": 1.23,
"added": 1743916492247,
"total": 29.99,
"unavailable": true
}
],
"buyer": {
"_id": "ea9800fc4796b420267aadbf",
"email": "email@example.com",
"firstName": "example",
"id": 1.23,
"lastName": "example",
"name": "example",
"telephone": "example",
"organisation": "example",
"taxNumber": "example",
"isGuest": true
},
"seller": {
"_id": "5424933fc1fa68366d7a0e78",
"id": "hZD-v5XZE",
"firstName": "example",
"lastName": "example",
"name": "example",
"email": "email@example.com",
"telephone": "example",
"taxNumber": "example"
},
"updated": 1735505081518,
"expires": 1723668460901,
"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