DocsAPI ReferenceCart/bff/cart/delete
postCartAdmin BFF

/bff/cart/delete

Hard-deletes a cart together with its line items and applied vouchers. Multi-tenant safe — only carts of the calling organisation can be removed.

CartpostBffCartDelete

Parameters

1 body

1 total
Body · 1
idstringRequired

Cart identifier (32-char shop__cart.identifier) to delete.

Request

POST /bff/cart/delete

post
curl -X POST "https://api.bizkithub.com/bff/cart/delete" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
  "id": "example_id"
}'

Response

JSON payload

{
  "success": true,
  "deleted": false,
  "itemCount": 0,
  "voucherCount": 0
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key