Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://api.decodahealth.com/inventory/stocks/link-stock \ --header 'API-KEY: <api-key>' \ --header 'Content-Type: application/json' \ --header 'TENANT: <tenant>' \ --data ' [ { "itemId": "<string>", "stockId": "<string>", "quantityUsed": 123 } ] '
[ { "itemId": "<string>", "stockId": "<string>", "quantityUsed": 123 } ]
The tenant you are making this request on behalf of
Your api key
ID of the item
ID of the stock
Quantity of the item
Successful Response