# POST Create a size

Create a size pricing record. FIXED_WIDTH sizes accept char_limit, line_limit, width_cm, min_char, height_strategy, and line_height_cm. MATERIAL_LENGTH sizes require width_multiplier. FRAME_FIT sizes require width_cm and height_cm.

- Source URL: https://www.signcustomiser.com/help/api/post-create-a-size/
- Markdown URL: https://www.signcustomiser.com/help/api/post-create-a-size.md
- Group: Pricing - Sizes
- Method: POST
- Path: /api/v2/customisers/{customiser}/sizes
- Auth: Bearer token

## Path parameters

- customiser (string, required): The customiser ID. Example: 1

## Body parameters

- label (string, optional): No description provided.
- description (string, optional): No description provided.
- char_limit (integer, optional): No description provided.
- line_limit (integer, optional): No description provided.
- width_cm (integer, optional): No description provided.
- height_cm (integer, optional): No description provided.
- min_char (integer, optional): No description provided.
- height_strategy (string, optional): No description provided.
- line_height_cm (integer, optional): No description provided.
- width_multiplier (number, optional): No description provided.
- length_cm (integer, optional): No description provided.

## Request body example

```json
{
  "label": "Small",
  "description": "Up to 50cm wide",
  "char_limit": 20,
  "line_limit": 3,
  "width_cm": 50,
  "height_cm": 30,
  "min_char": 1,
  "height_strategy": "WIDTH",
  "line_height_cm": 12,
  "width_multiplier": 1.2,
  "length_cm": 100
}
```

## cURL example

```bash
curl https://web.signcustomiser.com/api/v2/customisers/1/sizes \
  --request POST \
  --header 'Accept: application/json' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --header 'Content-Type: application/json' \
  --data '{
  "label": "Small",
  "description": "Up to 50cm wide",
  "char_limit": 20,
  "line_limit": 3,
  "width_cm": 50,
  "height_cm": 30,
  "min_char": 1,
  "height_strategy": "WIDTH",
  "line_height_cm": 12,
  "width_multiplier": 1.2,
  "length_cm": 100
}'
```

## Response examples

### 200 POST 200 example 1

```json
{
  "size": {
    "size_id": 1,
    "selection_id": 1,
    "label": "Small",
    "width_cm": 50,
    "sort_order": 1
  }
}
```
