Skip to main content

Get Cost Allocation

GET 

/api/cost-allocations/:costAllocation

Returns a single cost allocation by ID, including a summary of the target entity (allocatable). The summary fields depend on the target type: products include name and sku; brands, suppliers and sales channels include name; sales order lines include sales_order_id, product_id, product_name and quantity. amount is in the parent cost entry's currency and amount_in_tenant_currency is the equivalent in the account currency.

Required scope: purchase-orders:read

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

Authentication: Requires Bearer token. Scope: purchase-orders (read/write).

Request

Responses

OK

Response Headers
    Content-Type