Create Packaging
Create new packaging for wrapping parcels
/packaging
POST
https://api.terminal.africa/v1/packaging
This endpoint allows you to add new packaging.
Headers
Name
Type
Description
Authorization*
string
Set value to Bearer SECRET_KEY
Content-Type
string
Set value to application/json
Request Body
Name
Type
Description
height*
number
Height of packaging.
length*
number
Length of packaging.
name*
string
Name of packaging.
size_unit*
string
Unique size unit for packaging, only cm available at this time.
type*
string
Type of packaging. Accepted values are box, envelope and soft-packaging.
width*
number
Width of packaging.
weight*
number
Weight of packaging.
weight_unit*
string
Weight unit of packaging. Only kg available at this time.
{
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'
}
}
Last updated
Was this helpful?