Append a new COG line to a variant’s manualCostHistory. The server
assigns a ULID for the new line. Triggers a per-order COGS
recalculation downstream.
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.
The updated variant (with the new line added to history).
A single SKU under a product. manualCostHistory is the chronological list of COG lines.