Skip to main content

Allocate Cost Entry to Sales Channel

POST 

/api/cost-entries/:costEntry/allocate/sales-channel/:salesChannel

Allocates part of a cost entry to a sales channel.

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