Create discount
loyverse_create_discountCreate a new discount in your Loyverse store. Send discount fields per the API; if a 400 error occurs, adjust fields and retry.
Instructions
Create a new discount in Loyverse (POST /discounts). Field names follow the Loyverse API v1.0 (developer.loyverse.com/docs). If a call fails with a 400, the error message from Loyverse is returned verbatim — adjust the fields and retry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The discount fields, per the Loyverse API schema. |