krapio
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

PropertyType
children{ data: Record<string, unknown>; id: number; order: number; parent_id: number; product_id?: number; type: string; }[]
dataRecord<string, unknown>
idnumber
ordernumber
productsRecord<string, ShopProduct>
typestring

On this page