Delete a cost line
COSTS
Delete a cost line
Remove a cost line from the named cost config by its ULID. Triggers a per-order COGS recalculation downstream — the deleted line is passed to the recalc trigger so affected orders can be identified.
Required scope: costs:write.
DELETE
Delete a cost line
Authorizations
Your Upstack API key. Starts with upstack_.
The pixel id the request targets.
Path Parameters
Query Parameters
The five cost-line surfaces. Each value selects the corresponding
line shape in the line (POST) or updates (PUT) field of the
request body.
Available options:
order, gateway, shipping, variable, fixed Response
The updated cost config (with the line removed).