PATCH /api/v2/storefront/buyer-instructions/{id}
Partially updates a buyer-instructions row. Send only the fields you want to
change. The scope columns (operatorDomain, brandDomain) are immutable —
delete and
recreate the row to change them.
Request
curl
Parameters
| Field | In | Type | Required | Notes |
|---|---|---|---|---|
id | path | integer | Yes | Surrogate id of the row to update |
discountPercent | body | number | null | No | Discount off base price, 0–100. The resolver picks the MAX across matching rows. null clears the discount |
notes | body | string | null | No | Composition notes, max 2000 chars. null clears the notes |
countries | body | string[] | null | No | ISO 3166-1 alpha-2 codes (uppercase), at least one when set. Omit or send null for a global row |
Response
200 with the updated row.
Errors
400 VALIDATION_ERROR—discountPercentout of0–100, malformed country code, or an attempt to change a scope column.404 NOT_FOUND— no row with thatidon your storefront.401 UNAUTHORIZED— missing or invalid bearer token.
Related
Buyer instruction tasks
All buyer-instructions operations.
Delete buyer instructions
Remove a row to change its scope.