Update Product Assumptions
PATCH/api/v2/pro-forma/products/:productId/assumptions
Persist product-level pro forma assumptions used as analyzer defaults, plus optional per-listing marketplace fee overrides.
products:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Body fields (all optional/nullable):
proforma_shipping_cost(numeric, min 0) — default outbound shipping cost per unitproforma_landed_cost_percentage(numeric, 0-100) — landed cost uplift percentproforma_marketplace_cost_percentage(numeric, 0-100) — marketplace fee override percent (beats rate cards; listing-level value beats this)listings(array, optional) — per-listing marketplace fee overrideslistings.*.product_listing_id(integer, required with listings, must exist) — listing to override; silently ignored if the listing does not belong to this productlistings.*.proforma_marketplace_cost_percentage(numeric|null, 0-100) — listing-level marketplace fee override percent (null clears the override)
Requires Bearer token (products scope).
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.