POST /api/v2/storefront/buyer-instructions
Creates a new buyer-instructions row. The (operatorDomain, brandDomain) tuple
is unique per storefront — a duplicate scope fails with 409. To change an
existing row, update
it instead.
Request
curl
Parameters
All five fields are required. Sendnull for any you want to leave unscoped.
Response
201 with the created row. The resolver picks the maximum
discountPercent across all rows that match a given buyer.
Errors
400 VALIDATION_ERROR— missing required field,discountPercentout of0–100, or a malformed country code.409 CONFLICT— a row already exists for this(operatorDomain, brandDomain)scope. Update that row instead.401 UNAUTHORIZED— missing or invalid bearer token.
Related
Buyer instruction tasks
All buyer-instructions operations.
Update buyer instructions
Change discount, notes, or countries.