Shops
Switch a code on or off, or change its end or limit
patch/shops/{shopId}/discounts/{discountId}
Request
- Base URL: https://hostingsurge.com/api/v1
- URL: https://hostingsurge.com/api/v1/shops/{shopId}/discounts/{discountId}
- Auth: one of:
- HTTP bearer
- API key in cookie __Host-hs_session
Path parameters
shopIdstring uuid required
discountIdstring uuid required
Request body
Discount Patch Body required
See DiscountPatch in packages/platform/src/contracts-shop.ts
Response
The discount
Changes
No recorded changes to this operation across all 1 revision of this API.