Skip to main content
PATCH /api/v2/storefront/house-discounts/{id} Partially updates a house discount. The houseDomain scope is immutable — to re-key a discount to a different house, delete the row and create a new one.

Request

curl

Parameters

Send only the fields you want to change.

Response

Returns 200 with the updated row.

Errors

  • 400 VALIDATION_ERRORdiscountPercent outside 0100.
  • 404 NOT_FOUND — no house discount with this id on the storefront.
  • 401 UNAUTHORIZED — missing or invalid bearer token.
See Errors for the full error contract.

House discount tasks

All house-discount operations.

Delete house discount

Remove a row to re-key it to a different house.