ProductPackaging
Type: schema
TypeScript Definition
typescript
ProductPackaging: {{
product_id?: $Read<string>;
/** @description `null` when packaging applies to a product without variants. */
product_variant_id?: $Read<string | null>;
product_name?: $Read<string>;
/** @description `null` when packaging applies to a product without variants. */
variant_name?: $Read<string | null>;
/** Format: float */
pack_width: number;
/** Format: float */
pack_height: number;
/** Format: float */
pack_length: number;
/** Format: float */
pack_dry_weight: number;
/** Format: int32 */
units_per_pack: number;
/** @description Indicates whether items can be rotated during packing or if they must be kept in a strictly vertical orientation. */
vertical_rotation: boolean;
/** Format: float */
shipper_width?: number | null;
/** Format: float */
shipper_height?: number | null;
/** Format: float */
shipper_length?: number | null;
/** Format: float */
shipper_dry_weight?: number | null;
/** Format: int32 */
units_per_shipper?: number | null;
} | null;
/**
* ProductPricing
* @description Selects the requested customer group price, then the default group price, then the highest selling price when neither is available.
*/
}OpenAPI Schema
json
{
"type": [
"object",
"null"
],
"properties": {
"product_id": {
"type": "string",
"readOnly": true
},
"product_variant_id": {
"description": "`null` when packaging applies to a product without variants.",
"type": [
"string",
"null"
],
"readOnly": true
},
"product_name": {
"type": "string",
"readOnly": true
},
"variant_name": {
"description": "`null` when packaging applies to a product without variants.",
"type": [
"string",
"null"
],
"readOnly": true
},
"pack_width": {
"type": "number",
"format": "float"
},
"pack_height": {
"type": "number",
"format": "float"
},
"pack_length": {
"type": "number",
"format": "float"
},
"pack_dry_weight": {
"type": "number",
"format": "float"
},
"units_per_pack": {
"type": "integer",
"format": "int32"
},
"vertical_rotation": {
"description": "Indicates whether items can be rotated during packing or if they must be kept in a strictly vertical orientation.",
"type": "boolean"
},
"shipper_width": {
"type": [
"number",
"null"
],
"format": "float"
},
"shipper_height": {
"type": [
"number",
"null"
],
"format": "float"
},
"shipper_length": {
"type": [
"number",
"null"
],
"format": "float"
},
"shipper_dry_weight": {
"type": [
"number",
"null"
],
"format": "float"
},
"units_per_shipper": {
"type": [
"integer",
"null"
],
"format": "int32"
}
},
"externalDocs": {
"url": "https://llm-docs.commercengine.io/admin-pos/schemas/ProductPackaging"
},
"required": [
"pack_width",
"pack_height",
"pack_length",
"pack_dry_weight",
"units_per_pack",
"vertical_rotation"
],
"title": "ProductPackaging",
"x-tags": [
"Catalog"
]
}Auto-generated from OpenAPI spec and TypeScript definitions