post https://{instance_zuid}.api.zesty.io/v1/web/stylesheets/variables
This creates a new stylesheet variable.
Body: raw JSON
| name | description |
|---|---|
| referenceName | [string] Required. The name of your variable that will be referenced by your stylesheets. Must follow conventional LESS/SASS/SCSS variable naming convention |
| name | [string] Required. Friendly name for your variable |
| value | [string] Required. The value of your variable represented as a string |
| type | [string] Required. The variable type you wish to create. Variable must be one of: text , color, dropdown, font_picker |
| category | [string] Required. Should correspond with category ID. |
| sort | [string] Defaults to number of variables + 1. |
| description | [string] Defaults to null string |
| options | [string] Object should contain key:value pairs corresponding to dropdown options. Defaults to null. The key is what is used as the value output using Parsley, while the value is used in the UI. |
