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
-
idinteger requiredThe record’s number.
Example:
42
Headers
-
Authorizationstring requiredBearer followed by the API key.
Example:
Bearer qayd_… -
Accept-Languagestring optionalen for English error messages. Arabic by default.
Example:
en
Responses
- 200 OK
- Errors · 401 · 403 · 429