Skip to main content
GET
Get cost configuration

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.

Query Parameters

type
enum<string>

Filter to a single cost type. Cost configuration type. Used to filter /api/costs.

Available options:
global_product_override,
order,
gateway,
shipping,
variable,
fixed

Response

The cost configuration (or the filtered subset).

Shape depends on ?type= — without a filter, returns the full configuration bag keyed by cost type.