Product

The type definition of LiSA product:

type Product = {
  /** The LiSA internal product identifier. */
  id: UUID;
  /** A map-like structure of media assets. */
  assets?: Record<string, Asset>;
  /** The product's brand name. */
  brand?: LocalizedString;
  /** The product description. */
  description?: LocalizedString;
  /** The product's origin information, adopted from the customer's ecom system. */
  origin?: {
    /** The product identifier, as defined in the customer's ecom system. */
    id: string;
    /** The time of the most recent data synchronization. */
    lastSyncedAt: DateTime;
  };
  /** The product price information. */
  price?: Price;
  /** The store configuration in a multi-store environment. */
  stores?: StoreConfig[];
  /** The product title. */
  title?: LocalizedString;
  /** The product URL. */
  url?: LocalizedString;
  /** A list of product variants. */
  variants?: ProductVariant[];
};

ProductVariant

ProductVariation

Price

StoreConfig

Last updated