Switch the shipping cost attribution method. fixedRateAmount is
required when method=fixed_rate.
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.
Shipping cost attribution method.
shopify_charges — use the shipping charge captured on each order.fixed_rate — apply a flat per-order amount (fixedRateAmount required).shipping_profiles — match shipping zones / weights configured in Shopify.shopify_charges, fixed_rate, shipping_profiles Required when method=fixed_rate. Applied as the per-order shipping cost.
x >= 0ISO currency code (e.g. USD).
The updated shipping configuration.