Create a house-scoped discount row
Create a discount scoped to a corporate house domain. The house_domain is unique per storefront — a duplicate returns 409; use PATCH to update an existing row.
Authorizations
API key or access token
Body
Request body for creating a house-scoped discount. house_domain is unique per storefront — a duplicate fails with a conflict; use PATCH to update it.
Lowercase corporate house domain (e.g. "nike.com"). A buy is matched to this row when its advertiser brand resolves up its hierarchy to this house — so a discount on "nike.com" applies to a converse.com buy.
1 - 253"nike.com"
Discount percent off the storefront quote for buys whose advertiser resolves to this house. 0–100. The larger of this and any buyer-specific discount wins; the quote is floored at the wholesale cost.
0 <= x <= 10020
Freeform operator notes for this house discount (e.g. "Negotiated 2026 Nike-house rate"). Null = no notes.
2000Response
Create a house-scoped discount row
A single house-scoped buyer-discount row.
Surrogate id (BIGINT serialized as string).
"17"
Storefront the row belongs to (BIGINT serialized as string).
"1234"
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$