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. The product defaults apply to any variant with no cost of its own (no manual COG line and no Shopify cost for the order's date).

defaultCogs
number

Default COGS as a percentage (0 to 100) of the line item's sale price. A value above 100 is accepted but never applied.

Required range: x >= 0
globalHandlingFee
number

Per-unit handling fee for variants that don't have their own.

Required range: x >= 0
currency
string

ISO currency code (e.g. USD).

Response

The updated global override configuration.

config
Global product override · object
required

One stored cost configuration. Which shape you get follows costType.