Typescript (SDK)
Discounts
Update discount
Updates an existing discount
PATCH
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Path Parameters
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Body
application/json
Available options:
percentage, fixed Available options:
forever, once, repeating Response
Discount updated
Available options:
active, inactive Available options:
percentage, fixed Available options:
forever, once, repeating 
