Skip to main content
POST /api/v2/storefront/house-discounts Creates a rate-card discount on the brand or operator axis. (houseDomain, scope) is unique per storefront — a duplicate fails with 409. To change an existing row, update it instead.

Request

curl
A brand discount on nike.com applies to every advertiser that rolls up to the Nike house — a Converse buy (converse.com → nike.com) gets this rate. An operator discount on groupm.com applies to every buy GroupM makes, whatever the brand.

Parameters

Response

Returns 201 with the created row. The discount is floored at the storefront’s wholesale cost when applied, and the larger of this and any matching buyer instruction wins.

Errors

  • 400 VALIDATION_ERROR — missing houseDomain or scope, or discountPercent outside 0100.
  • 409 CONFLICT — a discount already exists for this (houseDomain, scope). The same domain may carry both a brand and an operator discount; only a same-axis duplicate conflicts. Update the existing row instead.
  • 401 UNAUTHORIZED — missing or invalid bearer token.
See Errors for the full error contract.

House discount tasks

All house-discount operations.

How a discount is chosen

Nearest-ancestor within an axis, larger-of across axes.