Packing
The Packing Details resource provides information about a product’s packaging, including dimensions, weights, and quantities across different levels (graphic, inner, and master cartons) to help manage storage and shipping efficiently within Lumytic.
Get Family Packing
This endpoint retrieves packing information for a single product family. It is useful when you need to display or integrate packing family information.
Endpoint:
GET
/packing /v1/families/{family_id}
Path Parameters:
- family_id (integer): The unique identifier of the product family
Request Example
curl -X GET "https://api.lumytic.com/packing /v1/families/62" \
-H "ApiKey: YOUR_API_KEY_HERE" \
-H "Content-Type: application/json"
-H "Accept-Language: en"
Response Example
{
"success": true,
"message": "Packaging info data retrieved for Family ID: 62",
"data": [
{
"product_code": "PRGL40344-A",
"packaging_info": {
"ID": "735",
"color_box_width": "0",
"color_box_length": "0",
"color_box_height": "0",
"color_box_g_weight": "0",
"color_box_quantity_per_box": "20",
"inner_box_width": "0",
"inner_box_length": "0",
"inner_box_quantity_per_outer_box": "0",
"outer_box_width": "23",
"outer_box_length": "48",
"outer_box_height": "39",
"outer_box_n_weight": "5.4",
"outer_box_g_weight": "6.6",
"has_inner_box": "0",
"is_accessory": "0",
"net_weight": "0",
"outer_box_dimension": "L 48 x W 23 x H 39",
"inner_box_dimension": null,
"color_box_dimension": "L 0 x W 0 x H 0",
"qty": "20",
"ctn_volume": 0.043056
}
},
{
"product_code": "PRGL30343-A",
"packaging_info": {
"ID": "734",
"color_box_width": "0",
"color_box_length": "0",
"color_box_height": "0",
"color_box_g_weight": "0",
"color_box_quantity_per_box": "20",
"inner_box_width": "0",
"inner_box_length": "0",
"inner_box_quantity_per_outer_box": "0",
"outer_box_width": "23",
"outer_box_length": "48",
"outer_box_height": "39",
"outer_box_n_weight": "5.4",
"outer_box_g_weight": "6.6",
"has_inner_box": "0",
"is_accessory": "0",
"net_weight": "0",
"outer_box_dimension": "L 48 x W 23 x H 39",
"inner_box_dimension": null,
"color_box_dimension": "L 0 x W 0 x H 0",
"qty": "20",
"ctn_volume": 0.043056
}
}
]
}
Possible Error
| Code | Message | Description |
|---|---|---|
| 400 | Bad Request | Invalid query parameters provided |
| 401 | Unauthorized | Missing or invalid API key |
| 404 | Not Found | No family found matching the criteria. |
| 500 | Internal Server Error | An unexpected error occurred on the server |