Skip to content
QaydTech Beta launch

Stock

Post a stock document

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

Posts a draft: the stock moves, the entry is written and it takes its number. A test key never posts.

Permission: stock.write

The user the key acts as also needs: Post stock documents

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

  • 200 OK
  • Errors · 401 · 403 · 429