Skip to main content

Allocate Cost Entry to Sales Order Line

POST 

/api/cost-entries/:costEntry/allocate/sales-order-line/:salesOrderLine

Allocates part of a cost entry to a specific sales order line.

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