Library referenceTypes
ShopDisplay
type ShopDisplay = {
children: {
data: Record<string, unknown>;
id: number;
order: number;
parent_id: number;
product_id?: number;
type: string;
}[];
data: Record<string, unknown>;
id: number;
order: number;
products: Record<string, ShopProduct>;
type: string;
};GET /shop/displays, a tree of displays with the products they show
Properties
| Property | Type |
|---|---|
children | { data: Record<string, unknown>; id: number; order: number; parent_id: number; product_id?: number; type: string; }[] |
data | Record<string, unknown> |
id | number |
order | number |
products | Record<string, ShopProduct> |
type | string |