Skip to main content
PUT
Update the global product override

Authorizations

x-api-key
string
header
required

Your Upstack API key. Starts with upstack_.

x-pixel-id
string
header
required

The pixel id the request targets.

Body

application/json

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.

defaultCogs
number

Default per-unit COGS amount for un-mapped variants.

Required range: x >= 0
globalHandlingFee
number

Per-unit handling fee added on top of COGS.

Required range: x >= 0
currency
string

ISO currency code (e.g. USD).

Response

The updated global override configuration.

config
object
required