Skip to main content

Allocate Cost Entry to Product

POST 

/api/cost-entries/:costEntry/allocate/product/:product

Allocates part of a cost entry to a specific product. The allocation feeds into landed cost and profitability reporting.

Required scope: purchase-orders:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Fields: amount (required, the amount to allocate), allocation_date (the ledger date for the allocation, defaults to today), period_start and period_end (optional period the cost applies to).

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type