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 status200

Parameters

NameInTypeDescription
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"
    }
}