Partial-update an existing cost line by its ULID. Only the fields
supplied in updates are written; omitted fields stay as-is.
Triggers a per-order COGS recalculation downstream (except for
variable and fixed).
Required scope: costs:write.
Documentation Index
Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
Use this file to discover all available pages before exploring further.
Your Upstack API key. Starts with upstack_.
The pixel id the request targets.
Partial update — every field of the corresponding line shape is
optional in updates. Only the supplied fields are written;
omitted fields stay as-is.
The five cost-line surfaces. Each value selects the corresponding
line shape in the line (POST) or updates (PUT) field of the
request body.
order, gateway, shipping, variable, fixed Subset of fields from the line shape selected by costType.
The updated cost config.