Overview /
Stock & supply /
Post a receipt to stock
Post a receipt to stock
post
https://api.flactrum.com/v1/goods-receipts/{receipt}/post
Adds the received quantities to the destination and updates the weighted average cost. This cannot be undone, which is why it is a separate call from editing the lines.
| Required scope | goods_receipts.write |
| Success status | 200 |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| receipt * | path | string | ULID of the record. |
Examples
Recorded from the test suite — these are real requests and their real responses.
curl -X POST 'https://api.flactrum.com/v1/goods-receipts/01m43mzm8xynncss7r71wvr4q7/post' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 200 · application/json
{
"data": {
"posted_lines": 1
},
"meta": {
"goods_receipt_id": "01m43mzm8xynncss7r71wvr4q7",
"posted_at": "2026-10-04T14:27:13+00:00"
}
}
curl -X POST 'https://api.flactrum.com/v1/goods-receipts/01m43mzmdbk7rjw6y16107r6a9/post' \
-H 'Authorization: Bearer flk_your_key:your_secret' \
-H 'Accept: application/json'
HTTP 409 · application/json
{
"error": {
"code": "conflict",
"message": "This receipt has already been posted to stock."
}
}