coupons
Crear un cupón
Changed onCrea un nuevo cupón de descuento. Puedes especificar un descuento fijo (amount_off_in_cents) o un porcentaje (percent_off), pero no ambos.
post/coupons
Request
- Base URLhttps://app.recurrente.com/api
- AuthAPI key in header X-SECRET-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Cupón creado exitosamente
Changes
- breaking
added to the
response propertyoneOflist for the response status - breaking
the
/response's property type changed fromobjecttoarrayfor status
- breaking
- warning
deleted the
headerrequest parameterX-SECRET-KEY - info
the endpoint scheme security
secretKeywas added to the API
- warning