ChildCategory
Type: schema
TypeScript Definition
typescript
ChildCategory: {{
id?: $Read<string>;
name?: string;
description?: string | null;
/** @default true */
active: boolean;
parent_category_id?: string | null;
product_count?: $Read<number>;
/** Format: date-time */
created_at?: $Read<string>;
/** Format: date-time */
modified_at?: $Read<string>;
/** @default false */
auto_assign_products: boolean;
assign_products_condition?: components["schemas"]["CategoryAssignmentCondition"] | null;
};
/** CollectInStoreFulfillment */
}Component References
| Reference | Resolves To |
|---|---|
components["schemas"]["CategoryAssignmentCondition"] | CategoryAssignmentCondition |
OpenAPI Schema
json
{
"title": "ChildCategory",
"type": "object",
"properties": {
"id": {
"type": "string",
"readOnly": true
},
"name": {
"type": "string",
"maxLength": 128
},
"description": {
"type": [
"string",
"null"
]
},
"active": {
"type": "boolean",
"default": true
},
"parent_category_id": {
"type": [
"string",
"null"
]
},
"product_count": {
"type": "integer",
"readOnly": true
},
"created_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"modified_at": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"auto_assign_products": {
"type": "boolean",
"default": false
},
"assign_products_condition": {
"anyOf": [
{
"$ref": "#/components/schemas/CategoryAssignmentCondition"
},
{
"type": "null"
}
]
}
}
}Auto-generated from OpenAPI spec and TypeScript definitions