Skip to content
QaydTech Beta launch

Stock

Delete a stock draft

delete https://your-business.qaydtech.com/api/v1/stock/documents/{id}

Deletes a draft. A posted document is never deleted: it is corrected by another one.

Permission: stock.write

Request

Path parameters

  • id integer required

    The record’s number.

    Example: 42

Headers

  • Authorization string required

    Bearer followed by the API key.

    Example: Bearer qayd_…

  • Accept-Language string optional

    en for English error messages. Arabic by default.

    Example: en

Responses

  • 204 Deleted
  • Errors · 401 · 403 · 429