For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update a ticket product

Changes the quantity or price of a product on a ticket. Changing the quantity adjusts the product's stock by the difference.

put
Authorizations
api_keystringRequired

Your business's Cekat API key, from Settings → Developers & API in the Cekat dashboard (https://chat.cekat.ai/developers?section=apikeys). Available on the Business and Enterprise plans.

Path parameters
idstring · uuidRequired

The ticket product ID.

Body
quantityinteger · min: 1Optional
adjusted_pricenumberOptional
Responses
202

Product updated.

application/json
messagestringOptional
put/api/tickets/products/{id}
PUT /api/tickets/products/{id} HTTP/1.1
Host: api.cekat.ai
api_key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 14

{
  "quantity": 2
}
{
  "message": "text",
  "data": {
    "ANY_ADDITIONAL_PROPERTY": "anything"
  }
}

Last updated