Skip to main content

checkoutDelete Mutation

Description​

Deletes a checkout permanently from the system.

mutation checkoutDelete($id: String!, $version: Int) {
checkoutDelete(id: $id, version: $version)
}

Variables​

{
"id": "ziQ-SN5eY",
"version": 42
}

Response​

{
"checkoutDelete": "example"
}

Arguments​

NameTypeDescription
idString!String identifier of the checkout to delete.
versionIntCurrent version number of the checkout for optimistic locking. Prevents conflicts when multiple users edit simultaneously.

Returns​

String!