# Create Packaging

## /packaging

<mark style="color:green;">`POST`</mark> `https://api.terminal.africa/v1/packaging`

This endpoint allows you to add new packaging.

#### Headers

| Name                                            | Type   | Description                      |
| ----------------------------------------------- | ------ | -------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | Set value to `Bearer SECRET_KEY` |
| Content-Type                                    | string | Set value to `application/json`  |

#### Request Body

| Name                                           | Type   | Description                                                                            |
| ---------------------------------------------- | ------ | -------------------------------------------------------------------------------------- |
| height<mark style="color:red;">\*</mark>       | number | Height of packaging.                                                                   |
| length<mark style="color:red;">\*</mark>       | number | Length of packaging.                                                                   |
| name<mark style="color:red;">\*</mark>         | string | Name of packaging.                                                                     |
| size\_unit<mark style="color:red;">\*</mark>   | string | Unique size unit for packaging, only ***cm*** available at this time.                  |
| type<mark style="color:red;">\*</mark>         | string | Type of packaging. Accepted values are ***box**, **envelope** and **soft-packaging**.* |
| width<mark style="color:red;">\*</mark>        | number | Width of packaging.                                                                    |
| weight<mark style="color:red;">\*</mark>       | number | Weight of packaging.                                                                   |
| weight\_unit<mark style="color:red;">\*</mark> | string | Weight unit of packaging. Only ***kg*** available at this time.                        |

{% tabs %}
{% tab title="200 " %}

```
{
	status: true,
	message: 'Packaging created successfully',
	data: {
		height: 5,
		id: 'LsuiGzcYlz4dKRYnEXeobJu9gnVbQVXN',
		length: 40,
		name: 'Soft Packaging',
		packaging_id: 'PA-97263925515',
		size_unit: 'cm',
		type: 'soft-package',
		weight: 0.01,
		weight_unit: 'kg',		
		width: 30,
		created_at: '2021-07-13T20:25:53.011Z',
		updated_at: '2021-07-13T20:25:53.011Z'
	}
}
```

{% endtab %}
{% endtabs %}
