Skip to main content

List Cost Change Usages

GET 

/api/cost-changes/:costChange/usages

Returns the usages behind the set's "already consumed" figure: for each staged line, the sales orders, assemblies and transfers that drew units from that receipt, the units each took, and what this change does to the cost of goods each carries (cogs_delta). Results are keyed by line ID.

Required scope: inventory:read

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

Transfers into a marketplace-run warehouse (Amazon FBA/AWD, Walmart WFS) are flagged external: their units left the layer and are trued up as cost of goods, but there is no local destination layer to re-cost. For transfers into Amazon FBA, destination follows the units onto the Amazon FIFO layers they created, with those layers' own usages (kind: sale, transfer, other) and children.

Authentication: Requires Bearer token (inventory scope).

Path params:

  • costChange: Cost change set ID

Request

Responses

OK

Response Headers
    Content-Type