post https://api.zenoti.com/v1/giftcards/templates/custom
Supply the request body and this API will generate a custom gift card template with specified amount.
Request Details
| Name | Type | Description |
|---|---|---|
| center_id | guid | unique identifier of the center. |
| custom_amount | object | object which contains details of the custom amount template. |
| custom_amount.amount | double | value of the gift card. |
| custom_amount.validity | int (optional) | validity of the template in days. (If not supplied validity is set to default value specified in organization setting. |
Response Details
| Name | Type | Description |
|---|---|---|
| id | guid | unique identifier of the template. |
| name | string | name of the template. |
| description | string | description about the template. |
| price | double | price of the template. |
| value | double | value of the template. |
| validity | integer | validity of the template in days. |
