Skip to main content

Packaging Type Codes

Standardized packaging type codes for categorizing different types of packaging used in products and shipments following industry classification systems.

The ref_packaging_type_codes Object

Packaging type codes collection provides standardized categories for different types of packaging materials and containers used in product packaging and shipment operations.

Field NameTypeDescription
codestringPrimary key. Unique identifier code for the packaging type following industry standards (e.g., "AA", "AE", "AM").
user_createdobjectUser who created the packaging type record. Read-only. Links to directus_users.
date_createddatetimeTimestamp in ISO 8601 when the packaging type record was created. Read-only.
user_updatedobjectUser who last updated the packaging type record. Read-only. Links to directus_users.
date_updateddatetimeTimestamp in ISO 8601 when the packaging type record was last updated. Read-only.
packaging_type_namestringHuman-readable description of the packaging type.

List Packaging Type Codes

List existing packaging type codes.

GET /items/ref_packaging_type_codes

Query Parameters

Supports all global query parameters.

Returns

An array of up to limit packaging type codes objects. If no items are available, data will be an empty array.


Retrieve a Packaging Type Code

Retrieve a specific packaging type code by code.

GET /items/ref_packaging_type_codes/:code

Returns

Returns a packaging type codes object if a valid code was provided.


Create a Packaging Type Code

Create a new packaging type code.

POST /items/ref_packaging_type_codes

{
"code": "CX",
"packaging_type_name": "Custom packaging type"
}

Query Parameters

Supports all global query parameters.

Request Body

A partial packaging type codes object.

Returns

Returns the packaging type codes object for the created packaging type code.


Update a Packaging Type Code

Update an existing packaging type code.

PATCH /items/ref_packaging_type_codes/:code

{
"packaging_type_name": "Updated packaging type name"
}

Query Parameters

Supports all global query parameters.

Request Body

A partial packaging type codes object.

Returns

Returns the packaging type codes object for the updated packaging type code.


Delete a Packaging Type Code

Delete an existing packaging type code.

DELETE /items/ref_packaging_type_codes/:code

Returns

Empty body.


Sample Data

CodePackaging Type Name
AAIntermediate bulk container, rigid plastic
AEAerosol
AMAmpoule
BABarrel
BBGBag in Box