Delete a COG line
PRODUCTS
Delete a COG line
Remove a COG line from a variant’s history. Triggers a per-order COGS recalculation downstream (the deleted line is passed through to the recalc trigger so affected-orders can be identified).
Required scope: costs:write.
DELETE
Delete a COG line
Authorizations
Your Upstack API key. Starts with upstack_.
The pixel id the request targets.
Response
The updated variant (with the line removed).
A single SKU under a product. manualCostHistory is the chronological list of COG lines.