P&L
List stored cost inputs
Every cost input stored for this shop: cost of goods per SKU and per-unit sample cost per product. Returns full history — a row per effective_from — not just what is in force today, so a caller restating an old window can see which amount applied then. sku_id is null on the product-level default.
get/pnl/costs
Query parameters
cost_typestring nullable
Filter to one type: cogs | sample_unit_cost.
Filter to one type: cogs | sample_unit_cost.
product_idstring nullable
Filter to one product.
Filter to one product.
sku_idstring nullable
Filter to one SKU. Pass an empty string to see only product-level defaults.
Filter to one SKU. Pass an empty string to see only product-level defaults.
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.