Discounts
Update a discount code
Updates discount-code availability, usage, expiry, page, payment-method, and minimum-revenue settings. Code, discount type, and discount amount are immutable after creation.
patch/v3/discount-codes/{id}
Request
- Base URLhttps://api.scalev.com
- URLhttps://api.scalev.com/v3/discount-codes/{id}
- Auth
- HTTP bearer
- or API key in header authorization
- or OAuth 2Authorization code: https://api.scalev.com/v3/oauth/authorizeToken URL: https://api.scalev.com/v3/oauth/token scopes: discount_code:update
Request body
Response
Discount code
Changes
No recorded changes to this operation across all 14 revisions of this API.