Update the default COGS / handling fee applied to product variants
that have no per-variant COG line. At least one of defaultCogs,
globalHandlingFee, or currency must be supplied.
Triggers a per-order COGS recalculation downstream (same SQS message the web UI emits for this change).
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.
At least one field is required. Applied to any product variant with no
per-variant COG line. currency is purely informational — the underlying
cost number is stored as-is and applied as the product's effective COGS.
The updated global override configuration.