import { CreateProductRequest as CreateProductRequest$1, CreateProductResponse as CreateProductResponse$1, UpdateProductRequest as UpdateProductRequest$1, UpdateProductResponse as UpdateProductResponse$1, DeleteProductRequest as DeleteProductRequest$1, DeleteProductResponse as DeleteProductResponse$1, UpdateVariantsRequest as UpdateVariantsRequest$1, UpdateVariantsResponse as UpdateVariantsResponse$1, ResetAllVariantDataRequest as ResetAllVariantDataRequest$1, ResetAllVariantDataResponse as ResetAllVariantDataResponse$1, AddProductsToCollectionRequest as AddProductsToCollectionRequest$1, AddProductsToCollectionResponse as AddProductsToCollectionResponse$1, RemoveProductsFromCollectionRequest as RemoveProductsFromCollectionRequest$1, RemoveProductsFromCollectionResponse as RemoveProductsFromCollectionResponse$1, AddProductMediaRequest as AddProductMediaRequest$1, AddProductMediaResponse as AddProductMediaResponse$1, RemoveProductMediaRequest as RemoveProductMediaRequest$1, RemoveProductMediaResponse as RemoveProductMediaResponse$1, AddProductMediaToChoicesRequest as AddProductMediaToChoicesRequest$1, AddProductMediaToChoicesResponse as AddProductMediaToChoicesResponse$1, RemoveProductMediaFromChoicesRequest as RemoveProductMediaFromChoicesRequest$1, RemoveProductMediaFromChoicesResponse as RemoveProductMediaFromChoicesResponse$1, DeleteProductOptionsRequest as DeleteProductOptionsRequest$1, DeleteProductOptionsResponse as DeleteProductOptionsResponse$1, RemoveProductBrandRequest as RemoveProductBrandRequest$1, RemoveProductBrandResponse as RemoveProductBrandResponse$1, CreateCollectionRequest as CreateCollectionRequest$1, CreateCollectionResponse as CreateCollectionResponse$1, UpdateCollectionRequest as UpdateCollectionRequest$1, UpdateCollectionResponse as UpdateCollectionResponse$1, DeleteCollectionRequest as DeleteCollectionRequest$1, DeleteCollectionResponse as DeleteCollectionResponse$1, RemoveProductRibbonRequest as RemoveProductRibbonRequest$1, RemoveProductRibbonResponse as RemoveProductRibbonResponse$1, BulkUpdateProductsRequest as BulkUpdateProductsRequest$1, BulkUpdateProductsResponse as BulkUpdateProductsResponse$1, BulkAdjustProductPropertiesRequest as BulkAdjustProductPropertiesRequest$1, BulkAdjustProductPropertiesResponse as BulkAdjustProductPropertiesResponse$1, QueryProductsPlatformizedRequest as QueryProductsPlatformizedRequest$1, QueryProductsPlatformizedResponse as QueryProductsPlatformizedResponse$1, GetProductRequest as GetProductRequest$1, GetProductResponse as GetProductResponse$1, GetCollectionBySlugRequest as GetCollectionBySlugRequest$1, GetCollectionBySlugResponse as GetCollectionBySlugResponse$1, ProductOptionsAvailabilityRequest as ProductOptionsAvailabilityRequest$1, ProductOptionsAvailabilityResponse as ProductOptionsAvailabilityResponse$1, QueryProductVariantsRequest as QueryProductVariantsRequest$1, QueryProductVariantsResponse as QueryProductVariantsResponse$1, QueryStoreVariantsRequest as QueryStoreVariantsRequest$1, QueryStoreVariantsResponse as QueryStoreVariantsResponse$1, GetStoreVariantRequest as GetStoreVariantRequest$1, GetStoreVariantResponse as GetStoreVariantResponse$1 } from './index.typings.js'; import '@wix/sdk-types'; interface Product { /** * Product ID (generated automatically by the catalog). * @readonly */ id?: string; /** * Product name. * * Min: 1 character * Max: 80 characters * @minLength 1 * @maxLength 80 */ name?: string | null; /** * A friendly URL name (generated automatically by the catalog when a product is created), can be updated. * @maxLength 100 */ slug?: string; /** * Whether the product is visible to site visitors. * * Supported as a `filter` field in [Query Products](https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v1/catalog/query-products). * Unless the request sets `includeHiddenProducts` to `true`, the server adds a `visible` * equals `true` condition to every filter, so `{"visible": false}` matches nothing. Set * `includeHiddenProducts` to `true` to include hidden and draft products, and combine it * with a `{"visible": false}` filter to get hidden products alone. * * While `includeHiddenProducts` is `false`, the response excludes hidden products and * contains no flag or notice indicating that products were filtered out. `totalResults` * counts the visible products. */ visible?: boolean | null; /** Currently, only creating physical products ( `"productType": "physical"` ) is supported via the API. */ productType?: ProductTypeWithLiterals; /** * Product description. Accepts [rich text](https://dev.wix.com/api/rest/wix-stores/rich-text). * @maxLength 8000 */ description?: string | null; /** * Stock keeping unit. If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, SKUs will be set per variant, and this field will be empty. * @maxLength 40 */ sku?: string | null; /** * Product weight. If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, weight will be set per variant, and this field will be empty. * @max 999999999.99 */ weight?: number | null; /** * Product weight range. The minimum and maximum weights of all the variants. * @readonly */ weightRange?: NumericPropertyRange; /** Product dimensions (length, width, height of the physical product). If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, dimensions will be set per variant, and this field will be empty. */ productDimensions?: Dimensions; /** Package dimensions (length, width, height of the shipping package). If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, dimensions will be set per variant, and this field will be empty. */ packageDimensions?: Dimensions; /** * Product inventory status (in future this will be writable via Inventory API). * @readonly */ stock?: Stock; /** * Deprecated (use `priceData` instead). * @readonly * @deprecated */ price?: PriceData; /** Price data. */ priceData?: PriceData; /** * Price data, converted to the currency specified in request header. * @readonly */ convertedPriceData?: PriceData; /** * Product price range. The minimum and maximum prices of all the variants. * @readonly */ priceRange?: NumericPropertyRange; /** Cost and profit data. */ costAndProfitData?: CostAndProfitData; /** * Product cost range. The minimum and maximum costs of all the variants. * @readonly */ costRange?: NumericPropertyRange; /** Price per unit data. */ pricePerUnitData?: PricePerUnitData; /** Additional text that the store owner can assign to the product (e.g. shipping details, refund policy, etc.). */ additionalInfoSections?: AdditionalInfoSection[]; /** * Deprecated (use `ribbon` instead). * @readonly * @deprecated */ ribbons?: Ribbon[]; /** * Media items (images, videos etc) associated with this product (writable via [Add Product Media](https://dev.wix.com/api/rest/wix-stores/catalog/products/add-product-media) endpoint). * @readonly */ media?: Media; /** * Text box for the customer to add a message to their order (e.g., customization request). Currently writable only from the UI. * @readonly */ customTextFields?: CustomTextField[]; /** Whether variants are being managed for this product - enables unique SKU, price and weight per variant. Also affects inventory data. */ manageVariants?: boolean | null; /** * Options for this product. * @maxSize 6 */ productOptions?: ProductOption[]; /** * Product page URL for this product (generated automatically by the server). * @readonly */ productPageUrl?: PageUrl; /** * Product's unique numeric ID (assigned in ascending order). * Primarily used for sorting and filtering when crawling all products. * @readonly */ numericId?: string; /** * Inventory item ID - ID referencing the inventory system. * @readonly */ inventoryItemId?: string; /** Discount deducted from the product's original price. */ discount?: Discount; /** * A list of all collection IDs that this product is included in (writable via the Catalog > Collection APIs). * @readonly */ collectionIds?: string[]; /** * Product variants, will be provided if the request was sent with the `includeVariants: true`. * * Max: 1,000 variants * @readonly * @maxSize 1000 */ variants?: Variant[]; /** * Date and time the product was last updated. * @readonly */ lastUpdated?: Date | null; /** * Date and time the product was created. * @readonly */ createdDate?: Date | null; /** Custom SEO data for the product. */ seoData?: SeoSchema; /** * Product ribbon. Used to highlight relevant information about a product. For example, "Sale", "New Arrival", "Sold Out". * @maxLength 30 */ ribbon?: string | null; /** * Product brand. Including a brand name can help improve site and product [visibility on search engines](https://support.wix.com/en/article/adding-brand-names-to-boost-product-page-seo-in-wix-stores). * @minLength 1 * @maxLength 50 */ brand?: string | null; } declare enum ProductType { unspecified_product_type = "unspecified_product_type", physical = "physical", digital = "digital" } /** @enumType */ type ProductTypeWithLiterals = ProductType | 'unspecified_product_type' | 'physical' | 'digital'; interface NumericPropertyRange { /** Minimum value. */ minValue?: number; /** Maximum value. */ maxValue?: number; } interface Dimensions { /** * Length. Measurement unit is handled at the system level (metric/imperial). * @decimalValue options { gte:0, lte:999999999, maxScale:6 } */ length?: string | null; /** * Width. Measurement unit is handled at the system level (metric/imperial). * @decimalValue options { gte:0, lte:999999999, maxScale:6 } */ width?: string | null; /** * Height. Measurement unit is handled at the system level (metric/imperial). * @decimalValue options { gte:0, lte:999999999, maxScale:6 } */ height?: string | null; /** Unit of measurement for dimensions (length, width, height). */ unit?: DimensionsUnitWithLiterals; } declare enum DimensionsUnit { UNKNOWN_DIMENSIONS_UNIT = "UNKNOWN_DIMENSIONS_UNIT", /** Millimeters. */ MM = "MM", /** Centimeters. */ CM = "CM", /** Meters. */ M = "M", /** Inches. */ IN = "IN", /** Feet. */ FT = "FT", /** Yards. */ YD = "YD" } /** @enumType */ type DimensionsUnitWithLiterals = DimensionsUnit | 'UNKNOWN_DIMENSIONS_UNIT' | 'MM' | 'CM' | 'M' | 'IN' | 'FT' | 'YD'; interface Stock { /** Whether inventory is being tracked */ trackInventory?: boolean; /** * Quantity currently left in inventory * @max 99999 */ quantity?: number | null; /** * Whether the product is currently in stock (relevant only when tracking manually) * Deprecated (use `inventoryStatus` instead) * @deprecated */ inStock?: boolean; /** * The current status of the inventory * + `IN_STOCK` - In stock * + `OUT_OF_STOCK` - Not in stock * + `PARTIALLY_OUT_OF_STOCK` - Some of the variants are not in stock */ inventoryStatus?: InventoryStatusWithLiterals; } declare enum InventoryStatus { /** In stock */ IN_STOCK = "IN_STOCK", /** Not in stock */ OUT_OF_STOCK = "OUT_OF_STOCK", /** Some of the variants are not in stock */ PARTIALLY_OUT_OF_STOCK = "PARTIALLY_OUT_OF_STOCK" } /** @enumType */ type InventoryStatusWithLiterals = InventoryStatus | 'IN_STOCK' | 'OUT_OF_STOCK' | 'PARTIALLY_OUT_OF_STOCK'; interface PriceData { /** * Product price currency * @readonly */ currency?: string; /** * Product price * @max 999999999.99 */ price?: number | null; /** * Discounted product price (if no discounted price is set, the product price is returned) * @readonly */ discountedPrice?: number; /** * The product price and discounted price, formatted with the currency * @readonly */ formatted?: FormattedPrice; /** * Price per unit * @readonly */ pricePerUnit?: number | null; } interface FormattedPrice { /** Product price formatted with the currency */ price?: string; /** Discounted product price formatted with the currency (if no discounted price is set, the product formatted price is returned) */ discountedPrice?: string; /** * Price per unit * @readonly */ pricePerUnit?: string | null; } interface CostAndProfitData { /** * Item cost. * @max 999999999.99 */ itemCost?: number | null; /** * Item cost formatted with currency symbol. * @readonly */ formattedItemCost?: string; /** * Profit. Calculated by reducing `cost` from `discounted_price`. * @readonly * @max 999999999.99 */ profit?: number; /** * Profit formatted with currency symbol. * @readonly */ formattedProfit?: string; /** * Profit Margin. Calculated by dividing `profit` by `discounted_price`. * The result is rounded to 4 decimal places. * @readonly * @max 1 */ profitMargin?: number; } interface PricePerUnitData { /** * Total quantity * @min 0.01 * @max 999999999.99 */ totalQuantity?: number; /** Total measurement unit */ totalMeasurementUnit?: MeasurementUnitWithLiterals; /** * Base quantity * @min 0.01 * @max 999999999.99 */ baseQuantity?: number; /** Base measurement unit */ baseMeasurementUnit?: MeasurementUnitWithLiterals; } declare enum MeasurementUnit { UNSPECIFIED = "UNSPECIFIED", ML = "ML", CL = "CL", L = "L", CBM = "CBM", MG = "MG", G = "G", KG = "KG", MM = "MM", CM = "CM", M = "M", SQM = "SQM", OZ = "OZ", LB = "LB", FLOZ = "FLOZ", PT = "PT", QT = "QT", GAL = "GAL", IN = "IN", FT = "FT", YD = "YD", SQFT = "SQFT" } /** @enumType */ type MeasurementUnitWithLiterals = MeasurementUnit | 'UNSPECIFIED' | 'ML' | 'CL' | 'L' | 'CBM' | 'MG' | 'G' | 'KG' | 'MM' | 'CM' | 'M' | 'SQM' | 'OZ' | 'LB' | 'FLOZ' | 'PT' | 'QT' | 'GAL' | 'IN' | 'FT' | 'YD' | 'SQFT'; interface AdditionalInfoSection { /** * Product info section title * @maxLength 50 */ title?: string; /** * Product info section description * @maxLength 16000 */ description?: string; } interface Ribbon { /** * Ribbon text * @maxLength 30 */ text?: string; } interface Media { /** Primary media (image, video etc) associated with this product. */ mainMedia?: MediaItem; /** Media (images, videos etc) associated with this product. */ items?: MediaItem[]; } interface MediaItem extends MediaItemItemOneOf { /** Image data (URL, size). */ image?: MediaItemUrlAndSize; /** Video data (URL, size). */ video?: MediaItemVideo; /** Media item thumbnail details. */ thumbnail?: MediaItemUrlAndSize; /** Media item type (image, video, etc.). */ mediaType?: MediaItemTypeWithLiterals; /** Media item title. */ title?: string; /** Media ID (for example, `"nsplsh_306d666a123a4a74306459~mv2_d_4517_2992_s_4_2.jpg"`). */ id?: string; } /** @oneof */ interface MediaItemItemOneOf { /** Image data (URL, size). */ image?: MediaItemUrlAndSize; /** Video data (URL, size). */ video?: MediaItemVideo; } interface MediaItemUrlAndSize { /** * Media item URL. * @format WEB_URL */ url?: string; /** Media item width. */ width?: number; /** Media item height. */ height?: number; /** Media format (mp4, png, etc.). */ format?: string | null; /** Alt text. This text will be shown in case the image is not available. */ altText?: string | null; } declare enum MediaItemType { unspecified_media_item_type = "unspecified_media_item_type", /** Image media type. */ image = "image", /** Video media type. */ video = "video", /** Audio media type. */ audio = "audio", /** Document media type. */ document = "document", /** Zip media type. */ zip = "zip" } /** @enumType */ type MediaItemTypeWithLiterals = MediaItemType | 'unspecified_media_item_type' | 'image' | 'video' | 'audio' | 'document' | 'zip'; interface MediaItemVideo { /** Data (URL, size) about each resolution for which this video is available. */ files?: MediaItemUrlAndSize[]; /** ID of an image taken from the video. Used primarily for Wix Search indexing. For example, `"nsplsh_306d666a123a4a74306459~mv2_d_4517_2992_s_4_2.jpg"`. */ stillFrameMediaId?: string; } interface CustomTextField { /** * Text box title * @maxLength 100 */ title?: string; /** * Text box input max length * @max 500 */ maxLength?: number; /** Whether this text box is mandatory */ mandatory?: boolean; } interface ProductOption { /** * Option type. * @readonly */ optionType?: OptionTypeWithLiterals; /** * Option name. * @minLength 1 * @maxLength 50 */ name?: string; /** * Choices available for this option. * @minSize 1 * @maxSize 100 */ choices?: Choice[]; } declare enum OptionType { /** Unspecified option type. */ unspecified_option_type = "unspecified_option_type", /** Drop down. */ drop_down = "drop_down", /** Color. */ color = "color" } /** @enumType */ type OptionTypeWithLiterals = OptionType | 'unspecified_option_type' | 'drop_down' | 'color'; interface Choice { /** * Choice value. * @minLength 1 * @maxLength 50 */ value?: string; /** * Choice description. * @minLength 1 * @maxLength 50 */ description?: string; /** * Media items (images, videos) associated with this choice * @readonly */ media?: Media; /** * Based on the customer’s choices, which (if any) variants that include the selected choices are in stock * @readonly */ inStock?: boolean; /** * Based on the customer’s choices, which (if any) variants that include the selected choices are visible * @readonly */ visible?: boolean; } interface PageUrl { /** Base URL. For premium sites, this is the domain. For free sites, this is the site URL (e.g mysite.wixsite.com/mysite). */ base?: string; /** Path to the product page - e.g /product-page/a-product. */ path?: string; } interface Discount { /** * Discount type: * + `"AMOUNT"` * + `"PERCENT"` */ type?: DiscountTypeWithLiterals; /** Discount value */ value?: number; } declare enum DiscountType { UNDEFINED = "UNDEFINED", /** No discount */ NONE = "NONE", /** Discount by a fixed amount */ AMOUNT = "AMOUNT", /** Discount by a percentage */ PERCENT = "PERCENT" } /** @enumType */ type DiscountTypeWithLiterals = DiscountType | 'UNDEFINED' | 'NONE' | 'AMOUNT' | 'PERCENT'; interface Variant { /** * Requested Variant ID * @format GUID */ id?: string; /** Specific choices within a selection, as option-choice key-value pairs */ choices?: Record; variant?: VariantDataWithNoStock; /** * Variant inventory status. * @readonly */ stock?: VariantStock; } interface VariantDataWithNoStock { /** Variant price. */ priceData?: PriceData; /** * Variant price data, converted to currency requested in header. * @readonly */ convertedPriceData?: PriceData; /** Cost and profit data. */ costAndProfitData?: CostAndProfitData; /** Variant weight. */ weight?: number; /** Variant SKU (stock keeping unit). */ sku?: string; /** Whether the variant is visible to customers. */ visible?: boolean; /** Product dimensions (length, width, height of the physical product). */ productDimensions?: Dimensions; /** Package dimensions (length, width, height of the shipping package). */ packageDimensions?: Dimensions; } interface VariantStock { /** Whether inventory is being tracked. */ trackQuantity?: boolean; /** * Quantity currently left in inventory. * @max 99999 */ quantity?: number | null; /** Whether the product is currently in stock (relevant only when tracking manually). */ inStock?: boolean; } /** * The SEO data for a single page or dynamic item, in the shape stored today. * * FROZEN. Existing server code maps onto this message field by field, so its * field set must never change (see the file header). New writers use * `SeoSchemaV2`. * * These tags are rendered into the of the HTML document and are not * visible on the page itself. They override every other source of tags * (site defaults, vertical presets, patterns) for this page. */ interface SeoSchema { /** * The tags rendered into , in no particular order. Render order is * decided by the renderer, not by position in this list. * * No maxSize: this list is already populated by data written years ago, and * a bound added now could reject a page that is already stored. */ tags?: Tag[]; /** Page-level SEO settings that are not themselves tags. */ settings?: Settings; } /** A keyword term the user is targeting. */ interface Keyword { /** * The term itself, e.g. "trail running shoes". * * No maxLength, for the same reason as the legacy tag fields: keywords are * already stored, and a bound added now could reject a record written * before the bound existed. The flynt `missing-string-validations` warning * on this field is accepted deliberately. */ term?: string; /** Whether this is the page's primary focus keyword. At most one per page. */ isMain?: boolean; /** * Which surface added the term, e.g. a panel or a suggestion flow. Used for * attribution in BI. Opaque to the renderer. * @maxLength 1000 */ origin?: string | null; } /** * One tag in the page's . * * Not deprecated, and with no removal date, deliberately: stored data is * never migrated, so this shape stays valid input forever. `seo-renderer` * normalizes both shapes on READ. */ interface Tag { /** * Legacy. Was a free-form string: "title" | "meta" | "script" | "link". * The typed replacement is the `kind` oneof on `SeoSchemaV2.Tag`, which makes * the invalid combinations unrepresentable rather than merely discouraged. * * Which of these an API actually accepts depends on where the tag is being * set: this list is not a blanket guarantee across every API that reuses * this message. Site SEO Tags in particular accepts only `meta` (see * `SiteSeoTags.tags`) and rejects `title`/`script`/`link` with a validation * error even though they appear here — check the field description of the * specific `tags`-typed field you are writing to. * * Limitation: `title` and `script` (e.g. a `script` tag with `props.type` * "application/ld+json" carrying structured data) are supported only when * `custom` is unset or `false`. Setting `custom: true` on a `title` or * `script` tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because * `custom: true` routes the write through the site's Advanced/Custom Tags * list. To write structured data, omit `custom` (or set it to `false`). * * No length limit: this field holds data written years ago by writers we * are not migrating. A constraint here could reject a record that is * already stored, which is exactly the promise this design makes. */ type?: string; /** * Legacy. Was an untyped bag of HTML attributes. * Typed replacement: `SeoSchemaV2.TitleTag` / `MetaTag` / `LinkTag`. */ props?: Record | null; /** * Legacy. Was an untyped bag of 16 mixed-purpose keys. In `SeoSchemaV2` * its contents are split by purpose: per-page structured-data state moves to * StructuredDataTag, authorship to `written_by`, and render-time preset * logic (variants, enabledByExperiment, removeSchemaIf*) moved out of the * stored document entirely — it belongs to the preset definition, not to the * page. See the design log for the full key-by-key mapping. */ meta?: Record | null; /** * Legacy. Was the tag's inner content, doubling as the JSON-LD payload * for script tags. Typed replacement: `SeoSchemaV2.TitleTag.text` and * `StructuredDataTag.json_ld`. * No length limit, for the same reason as `type` above. */ children?: string; /** * Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) — * i.e. an entry from the site's Advanced/Custom Tags list. * * Setting this to `true` on a write restricts which `type` values are * accepted — the same restriction the Advanced/Custom Tags UI enforces. * `title` and `script` tags (including JSON-LD structured data) must be sent * with `custom` omitted or `false`; sending them with `custom: true` is * rejected with `TAG_TYPE_NOT_ALLOWED`. * * Note this is a separate restriction from Site SEO Tags' own type * restriction on `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags * rejects `script` (e.g. for site-wide structured data) unconditionally. * There is currently no way to set site-wide, every-page structured data * through any of these APIs — write a per-page `script` tag through the Item * SEO Tags API instead. * * This flag is scoped to that feature only. It is NOT an indicator of whether a standard tag * (`title`, `description`, Open Graph, etc.) reflects a manually configured value versus a computed * default/pattern — standard tags always resolve with `custom: false`, even when their content comes * from a page's manually saved SEO title/description override. Don't use this field to verify whether * a live page reflects a manual per-page SEO edit. * * Limitation: when `ResolveStaticPageSeoTags` is called without `seoData`, the per-page SEO data is read * only from the Vibe/Wix-managed-headless override store. That store holds nothing for classic Wix Editor * or Wix Studio pages, so even genuine Advanced/Custom Tags saved on those pages are missing from the * response entirely — there, `false` means this API could not tell, not that no custom tag exists. * Pass `seoData` explicitly to resolve against a known set of tags. * * `SeoSchemaV2.Tag` expresses this as `written_by = USER_CUSTOM`. */ custom?: boolean; /** * Whether the tag is excluded from the rendered . * * A disabled tag is still stored, so the user can re-enable it and so a * pattern-provided tag stays suppressed on this page. Default false. */ disabled?: boolean; } /** Page-level SEO settings that are not tags. */ interface Settings { /** * Whether to suppress the automatic redirect from this page's previous URL to * its current one after a slug change. * * Default false, meaning the redirect IS created. The field is named for the * exception rather than the rule, which reads backwards; kept as-is because * renaming a stored boolean is not worth the migration. */ preventAutoRedirect?: boolean; /** * Keyword terms the user is targeting for this page. Used by the SEO * assistant and checklist; never rendered into . * * 20 is a sanity bound, not the product limit. v1 declared 5 — the number * the panel happens to allow today — which is exactly the mistake we are * fixing for structured data. A product decision to allow 8 should not need * a proto release, so the panel owns that number and the proto only stops * something absurd. * @maxSize 20 */ keywords?: Keyword[]; } interface SecuredMedia { /** * Media ID in Wix Media Manager. * @minLength 1 * @maxLength 100 */ id?: string; /** * Original filename. * @minLength 1 * @maxLength 1000 */ fileName?: string; /** File type. */ fileType?: FileTypeWithLiterals; } declare enum FileType { /** Unspecified file type. */ UNSPECIFIED = "UNSPECIFIED", /** Secure picture file. */ SECURE_PICTURE = "SECURE_PICTURE", /** Secure video file. */ SECURE_VIDEO = "SECURE_VIDEO", /** Secure document file. */ SECURE_DOCUMENT = "SECURE_DOCUMENT", /** Secure music file. */ SECURE_MUSIC = "SECURE_MUSIC", /** Secure archive file. */ SECURE_ARCHIVE = "SECURE_ARCHIVE", /** Secure raw file. */ SECURE_RAW = "SECURE_RAW" } /** @enumType */ type FileTypeWithLiterals = FileType | 'UNSPECIFIED' | 'SECURE_PICTURE' | 'SECURE_VIDEO' | 'SECURE_DOCUMENT' | 'SECURE_MUSIC' | 'SECURE_ARCHIVE' | 'SECURE_RAW'; interface CreateProductRequest { /** Product information. */ product?: Product; } interface CreateProductResponse { product?: Product; } interface CreateProductPlatformizedRequest { /** Product information. */ product?: Product; } interface CreateProductPlatformizedResponse { product?: Product; } interface CreateDigitalProductRequest { /** Product information. */ product?: Product; } interface CreateDigitalProductResponse { /** Created product. */ product?: Product; } interface UpdateProductRequest { product: Product; } interface UpdateProductResponse { product?: Product; } interface UpdateProductPlatformizedRequest { product?: Product; } interface UpdateProductPlatformizedResponse { product?: Product; } interface DeleteProductRequest { /** ID of the product to delete. */ id: string; } interface DeleteProductResponse { } interface DeleteProductPlatformizedRequest { /** ID of the product to delete. */ id?: string; } interface DeleteProductPlatformizedResponse { } interface BulkDeleteProductsRequest { /** * IDs of the products to be deleted. * @maxSize 1000 */ ids?: string[]; } interface BulkDeleteProductsResponse { } interface UpdateVariantsRequest { /** ID of the product with managed variants. */ id: string; /** Variant info to update. */ variants?: VariantOverride[]; } interface VariantOverride { /** The specific choices available or chosen from within a selection (e.g., choosing the red Selection triggers the red Choice). You may specify all the relevant choices for a specific variant, or only some of the options, which will return all corresponding variants (Not relevant when passing variant IDs) */ choices?: Record; /** * List of variant IDs * (Not relevant when passing choices) */ variantIds?: string[]; /** * Variant price * @max 999999999.99 */ price?: number | null; /** * Variant cost of goods * @max 999999999.99 */ cost?: number | null; /** * Variant weight * @max 999999999.99 */ weight?: number | null; /** * Variant SKU (stock keeping unit) * @maxLength 40 */ sku?: string | null; /** Whether the variant is visible to customers */ visible?: boolean | null; /** Product dimensions (length, width, height of the physical product) */ productDimensions?: Dimensions; /** Package dimensions (length, width, height of the shipping package) */ packageDimensions?: Dimensions; } interface UpdateVariantsResponse { /** List of the product's variants. */ variants?: Variant[]; } interface ResetAllVariantDataRequest { /** Product ID. */ id: string; } interface ResetAllVariantDataResponse { } interface AddProductsToCollectionRequest { /** * Collection ID. * @format GUID */ id: string; /** * IDs of the products to add to the collection, separated by commas. * @maxSize 1000 */ productIds?: string[]; } interface AddProductsToCollectionResponse { } interface RemoveProductsFromCollectionRequest { /** * Collection ID. * @format GUID */ id: string; /** * IDs of the products to remove from the collection. * @maxSize 1000 */ productIds: string[]; } interface RemoveProductsFromCollectionResponse { } interface AddProductMediaRequest { /** Product ID. */ id: string; /** * Sources of media items already uploaded to the Wix site. * @minSize 1 * @maxSize 50 */ media?: MediaDataForWrite[]; } interface MediaDataForWrite extends MediaDataForWriteMediaSourceOneOf { /** Media ID. For media items previously saved in Wix Media, the media ID is returned in the Query Product response. */ mediaId?: string; /** * Media external URL (for new media items). * @format WEB_URL */ url?: string; /** * Assign this media item to a specific product choice. * Note that you may set media items for choices under only one option (e.g., if Colors blue, green, and red have media items, Sizes S, M, and L can't have media items assigned to them). * You may clear existing media from choices with the [Remove Product Media From Choices](/catalog/products/remove-product-media-from-choices). */ choice?: OptionAndChoice; } /** @oneof */ interface MediaDataForWriteMediaSourceOneOf { /** Media ID. For media items previously saved in Wix Media, the media ID is returned in the Query Product response. */ mediaId?: string; /** * Media external URL (for new media items). * @format WEB_URL */ url?: string; } interface OptionAndChoice { /** * Option to add the media to. * @minLength 1 * @maxLength 50 */ option?: string; /** * Choice to add the media to. * @minLength 1 * @maxLength 50 */ choice?: string; } interface AddProductMediaResponse { } interface RemoveProductMediaRequest { /** Product ID. */ id: string; /** * List of media IDs to remove. Pass an empty array to delete all media items for the product. * @maxSize 50 */ mediaIds?: string[]; } interface RemoveProductMediaResponse { } interface AddProductMediaToChoicesRequest { /** Product ID. */ id: string; /** * Product media items and the choices to add the media to. * @minSize 1 * @maxSize 10 */ media?: MediaAssignmentToChoice[]; } interface MediaAssignmentToChoice { /** * Option name. * @minLength 1 * @maxLength 50 */ option?: string; /** * Choice name. * @minLength 1 * @maxLength 50 */ choice?: string; /** * Media IDs (available via the Query Product endpoint). * @maxSize 50 */ mediaIds?: string[]; } interface AddProductMediaToChoicesResponse { } interface RemoveProductMediaFromChoicesRequest { /** Product ID from whose choices to remove media items. */ id: string; /** * Media to remove from choices. * @minSize 1 * @maxSize 10 */ media?: MediaAssignmentToChoice[]; } interface RemoveProductMediaFromChoicesResponse { } interface DeleteProductOptionsRequest { /** ID of the product with options to delete. */ id: string; } interface DeleteProductOptionsResponse { } interface SetCustomFieldsRequest { /** Product ID. */ id?: string; /** Custom field that will be added, if a custom field with the same name already exists, the value of the custom field will be overridden. */ customFields?: Record; } interface SetCustomFieldsResponse { } interface RemoveCustomFieldsRequest { /** Product ID. */ id?: string; /** * Custom fields to be removed (by name). * @minLength 1 * @maxLength 100 */ names?: string[]; } interface RemoveCustomFieldsResponse { } interface RemoveProductBrandRequest { /** Product ID. */ id: string; } interface RemoveProductBrandResponse { } interface BulkSetCustomFieldsRequest { /** Filter string. */ filter?: string | null; /** Custom field that will be added, if a custom field with same name already exists, the value of the custom field will be overridden. */ customFields?: Record; } interface BulkSetCustomFieldsResponse { } interface BulkRemoveCustomFieldsRequest { /** Filter string. */ filter?: string | null; /** * Custom fields names. * @minLength 1 * @maxLength 100 */ names?: string[]; } interface BulkRemoveCustomFieldsResponse { } interface CreateCollectionRequest { /** Collection info. */ collection: Collection; } interface Collection { /** * Collection ID (generated automatically by the catalog). * @minLength 35 * @maxLength 36 * @readonly */ id?: string | null; /** * Collection name. * @minLength 1 * @maxLength 50 */ name?: string | null; /** * Media items (images, videos etc) associated with this collection. Read only. * @readonly */ media?: Media; /** * Number of products in the collection. Read only. * @readonly */ numberOfProducts?: number; /** * Collection description. * @maxLength 600 */ description?: string | null; /** * Collection slug. * @minLength 1 * @maxLength 100 */ slug?: string | null; /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */ visible?: boolean | null; } interface CreateCollectionResponse { /** Collection. */ collection?: Collection; } interface UpdateCollectionRequest { /** Collection info. */ collection: Collection; } interface UpdateCollectionResponse { /** Updated collection. */ collection?: Collection; } interface DeleteCollectionRequest { /** * ID of the collection to delete. * @format GUID */ id: string; } interface DeleteCollectionResponse { } interface RemoveProductRibbonRequest { /** Product ID. */ id: string; } interface RemoveProductRibbonResponse { } interface BulkUpdateProductsRequest { /** * Product IDs. * @minSize 1 * @maxSize 100 */ ids: string[]; /** Field to update. */ set?: SetValue; } interface SetValue extends SetValueValueOneOf { /** * Set product price. * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, * variant prices will be calculated according to the set product price. * If variant price is negative after setting new price, the update will fail. * @max 999999999.99 */ price?: number; /** * Set product cost of goods. * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, * cost of goods will be set per variant. * @max 999999999.99 */ cost?: number; /** * Set product weight. * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, * weight will be set per variant. * @max 999999999.99 */ weight?: number; /** * Set product ribbon. Pass empty string to remove existing ribbon. * @maxLength 30 */ ribbon?: string; /** * Set product brand. Pass empty string to remove existing brand. * @maxLength 50 */ brand?: string; } /** @oneof */ interface SetValueValueOneOf { /** * Set product price. * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, * variant prices will be calculated according to the set product price. * If variant price is negative after setting new price, the update will fail. * @max 999999999.99 */ price?: number; /** * Set product cost of goods. * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, * cost of goods will be set per variant. * @max 999999999.99 */ cost?: number; /** * Set product weight. * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, * weight will be set per variant. * @max 999999999.99 */ weight?: number; /** * Set product ribbon. Pass empty string to remove existing ribbon. * @maxLength 30 */ ribbon?: string; /** * Set product brand. Pass empty string to remove existing brand. * @maxLength 50 */ brand?: string; } interface BulkUpdateProductsResponse { /** Bulk action results. */ results?: BulkProductResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface BulkProductResult { /** Item metadata. */ itemMetadata?: ItemMetadata; } interface ItemMetadata { /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */ id?: string | null; /** Index of the item within the request array. Allows for correlation between request and response items. */ originalIndex?: number; /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */ success?: boolean; /** Details about the error in case of failure. */ error?: ApplicationError; } interface ApplicationError { /** Error code. */ code?: string; /** Description of the error. */ description?: string; /** Data related to the error. */ data?: Record | null; } interface BulkActionMetadata { /** Number of items that were successfully processed. */ totalSuccesses?: number; /** Number of items that couldn't be processed. */ totalFailures?: number; /** Number of failures without details because detailed failure threshold was exceeded. */ undetailedFailures?: number; } interface BulkUpdateProductsByFilterSyncRequest { /** Filter object. Learn more about supported filters [here](https://bo.wix.com/wix-docs/rest/stores/stores-catalog/filter-and-sort). */ filter?: Record | null; /** The field to update. */ set?: SetValue; } interface BulkUpdateProductsByFilterSyncResponse { /** Items updated by bulk action. */ results?: BulkProductResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface AllowedProductsCountLimitExceededErrorData { /** Total number of products */ totalCount?: number; } interface BulkAdjustProductPropertiesRequest { /** * Product IDs. * @minSize 1 * @maxSize 100 */ ids: string[]; /** Numerical property to adjust. */ adjust?: AdjustValue; } interface AdjustValue extends AdjustValueValueOneOf { /** * Adjust product price. * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, * variants prices will be calculated according to the adjusted price. * If variant price is negative after the adjustment, the update will fail. */ price?: PropertyAdjustmentData; /** * Adjust product cost of goods. * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, * cost of goods will be adjusted per variant. */ cost?: PropertyAdjustmentData; /** * Adjust product weight. * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, * weight will be adjusted per variant. */ weight?: PropertyAdjustmentData; } /** @oneof */ interface AdjustValueValueOneOf { /** * Adjust product price. * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, * variants prices will be calculated according to the adjusted price. * If variant price is negative after the adjustment, the update will fail. */ price?: PropertyAdjustmentData; /** * Adjust product cost of goods. * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, * cost of goods will be adjusted per variant. */ cost?: PropertyAdjustmentData; /** * Adjust product weight. * If [variant management](https://support.wix.com/en/article/wix-stores-adding-and-customizing-product-options#setting-different-prices-for-variants) is enabled, * weight will be adjusted per variant. */ weight?: PropertyAdjustmentData; } interface PropertyAdjustmentData extends PropertyAdjustmentDataByOneOf { /** Adjust by percentage. */ percentage?: PercentageData; /** * Adjust by amount. * @min -999999999.99 * @max 999999999.99 */ amount?: number; } /** @oneof */ interface PropertyAdjustmentDataByOneOf { /** Adjust by percentage. */ percentage?: PercentageData; /** * Adjust by amount. * @min -999999999.99 * @max 999999999.99 */ amount?: number; } interface PercentageData { /** * If `true`, result will be rounded to the nearest whole number. * If `false`, result will be rounded to 2 places after the decimal point. */ roundToInt?: boolean; /** * Percentage value, as a whole number (integer) between `-100` and `1000`. * * For example: * + Pass `100` to increase value by 100% (multiply original value by 2). * + Pass `1000` to increase value by 1000% (multiply original value by 10). * + Pass `-50` to decrease value by 50% (original value is halved). * @min -100 * @max 1000 */ rate?: number; } interface BulkAdjustProductPropertiesResponse { /** Bulk action results. */ results?: BulkProductResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface BulkAdjustProductPropertiesByFilterSyncRequest { /** Filter object. Learn more about supported filters [here](https://bo.wix.com/wix-docs/rest/stores/stores-catalog/filter-and-sort). */ filter?: Record | null; /** Numerical property to adjust. */ adjust?: AdjustValue; } interface BulkAdjustProductPropertiesByFilterSyncResponse { /** Items updated by bulk action. */ results?: BulkProductResult[]; /** Bulk action metadata. */ bulkActionMetadata?: BulkActionMetadata; } interface ReCloneStoreRequest { /** * Description of value * @format GUID */ metasiteId?: string | null; /** @format GUID */ originalMetasiteId?: string | null; } interface ReCloneStoreResponse { } interface ProductCreated { /** Product ID (generated automatically by the catalog). */ productId?: string; /** Product name. */ name?: string; /** Product price. */ price?: PriceData; /** Whether the product is visible to customers. */ visible?: boolean; /** Media items (images, videos, etc.) associated with this product. */ media?: Media; /** Product stock keeping unit (SKU). If variants are being managed, this will be empty. */ sku?: string; /** Product page URL for this product (generated automatically by the server). */ productPageUrl?: PageUrl; /** Product brand. */ brand?: string | null; /** Cost and profit data */ costAndProfitData?: CostAndProfitData; /** Information about the version of the catalog from where this event was triggered. */ originatedFromVersion?: VersionWithLiterals; /** Event slug. A human readable identifier of the event. */ slug?: string; } declare enum Version { /** Version 1 of the catalog. */ V1_CATALOG = "V1_CATALOG", /** Version 3 of the catalog. */ V3_CATALOG = "V3_CATALOG", /** Stores app is not installed. */ STORES_NOT_INSTALLED = "STORES_NOT_INSTALLED" } /** @enumType */ type VersionWithLiterals = Version | 'V1_CATALOG' | 'V3_CATALOG' | 'STORES_NOT_INSTALLED'; interface ProductChanged { /** Product ID. */ productId?: string; /** List of product fields that were changed. */ changedFields?: string[]; /** Information about the version of the catalog from where this event was triggered. */ originatedFromVersion?: VersionWithLiterals; } interface ProductDeleted { /** ID of the product that was deleted. */ productId?: string; /** Information about the version of the catalog from where this event was triggered. */ originatedFromVersion?: VersionWithLiterals; } interface CollectionCreated { /** Collection ID (generated automatically by the catalog). */ collection_Id?: string; /** Collection name. */ name?: string; /** Media items (images, videos, etc.) associated with this collection. */ media?: Media; /** Collection slug */ slug?: string; /** Collection visible status */ visible?: boolean; /** Information about the version of the catalog from where this event was triggered. */ originatedFromVersion?: VersionWithLiterals; } interface CollectionChanged { /** Collection ID (generated automatically by the catalog). */ collection_Id?: string; /** List of collection fields that were changed. */ changedFields?: string[]; /** Information about the version of the catalog from where this event was triggered. */ originatedFromVersion?: VersionWithLiterals; } interface CollectionDeleted { /** ID of the collection that was deleted. */ collection_Id?: string; /** Information about the version of the catalog from where this event was triggered. */ originatedFromVersion?: VersionWithLiterals; } interface VariantsChanged { /** Product ID. */ productId?: string; /** List of variants that were changed. */ variants?: VariantChanged[]; /** Information about the version of the catalog from where this event was triggered. */ originatedFromVersion?: VersionWithLiterals; } interface VariantChanged { /** Variant ID. */ variantId?: string; choices?: Record; /** List of variant fields that were changed. */ changedFields?: string[]; /** Information about the version of the catalog from where this event was triggered. */ originatedFromVersion?: VersionWithLiterals; } interface QueryProductsRequest { query?: Query; /** Whether variants should be included in the response. */ includeVariants?: boolean; /** * Whether hidden products should be included in the response. Requires permissions to manage products. * Defaults to `false`. If omitted on a catalog that contains hidden/draft products, those products are * silently excluded — the response carries no indication that any products were filtered out, and * `totalResults` will only count the visible ones. */ includeHiddenProducts?: boolean; /** Whether merchant specific data should be included in the response. Requires permissions to manage products. */ includeMerchantSpecificData?: boolean; } interface Query { paging?: Paging; /** Filter string */ filter?: string | null; /** Sort string */ sort?: string | null; } interface Paging { /** * Amount of items to load per page * @max 100 */ limit?: number | null; /** Number of items to skip in the display (relevant for all pages after the first) */ offset?: number | null; } interface QueryProductsResponse { products?: Product[]; metadata?: PagingMetadata; totalResults?: number; } interface PagingMetadata { /** Amount of items to load per page */ items?: number; /** Number of items to skip in the display (relevant for all pages after the first) */ offset?: number; } interface QueryProductsPlatformizedRequest { query?: PlatformQuery; } interface PlatformQuery extends PlatformQueryPagingMethodOneOf { /** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */ paging?: PlatformPaging; /** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */ cursorPaging?: CursorPaging; /** Filter object. */ filter?: Record | null; /** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */ sort?: Sorting[]; } /** @oneof */ interface PlatformQueryPagingMethodOneOf { /** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */ paging?: PlatformPaging; /** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */ cursorPaging?: CursorPaging; } interface Sorting { /** * Name of the field to sort by. * @maxLength 512 */ fieldName?: string; /** Sort order. */ order?: SortOrderWithLiterals; /** * Origin point for geo-distance sorting on a GEO field * results are ordered by distance from this point (ASC = nearest first, DESC = farthest first). */ origin?: AddressLocation; } declare enum SortOrder { ASC = "ASC", DESC = "DESC" } /** @enumType */ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC'; interface AddressLocation { /** Address latitude. */ latitude?: number | null; /** Address longitude. */ longitude?: number | null; } interface PlatformPaging { /** * Number of items to load. * @max 100 */ limit?: number | null; /** Number of items to skip in the current sort order. */ offset?: number | null; } interface CursorPaging { /** * Maximum number of items to return in the results. * @max 100 */ limit?: number | null; /** * Pointer to the next or previous page in the list of results. * * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response. * Not relevant for the first request. * @maxLength 16000 */ cursor?: string | null; } interface QueryProductsPlatformizedResponse { /** @maxSize 100 */ products?: Product[]; metadata?: PlatformPagingMetadata; } interface PlatformPagingMetadata { /** The number of items returned in this response. */ count?: number | null; /** The offset which was requested. Returned if offset paging was used. */ offset?: number | null; /** The total number of items that match the query. Returned if offset paging was used. */ total?: number | null; /** Cursors to navigate through result pages. Returned if cursor paging was used. */ cursors?: Cursors; } interface Cursors { /** * Cursor string pointing to the next page in the list of results. * @maxLength 16000 */ next?: string | null; /** * Cursor pointing to the previous page in the list of results. * @maxLength 16000 */ prev?: string | null; } interface QueryProductsWithBigPageLimitRequest { query?: QueryWithBigPageLimit; /** Whether variants should be included in the response. */ includeVariants?: boolean; /** Whether hidden products should be included in the response. Requires permissions to manage products. */ includeHiddenProducts?: boolean; /** Whether merchant specific data should be included in the response. Requires permissions to manage products. */ includeMerchantSpecificData?: boolean; } interface QueryWithBigPageLimit { paging?: PagingWithBigLimit; /** Filter string */ filter?: string | null; /** Sort string */ sort?: string | null; } interface PagingWithBigLimit { /** * Amount of items to load per page * @max 600 */ limit?: number | null; /** Number of items to skip in the display (relevant for all pages after the first) */ offset?: number | null; } interface GetProductsRequest { /** * Requested product IDs. * @minSize 1 * @maxSize 250 */ ids?: string[]; } interface GetProductsResponse { products?: Product[]; } interface GetProductRequest { /** * Requested product ID. * @minLength 1 */ id: string; /** Whether merchant specific data, such as cost and profit data, should be included in the response. Requires permissions to manage products. */ includeMerchantSpecificData?: boolean; } interface GetProductResponse { /** Requested product data. */ product?: Product; } interface GetProductPlatformizedRequest { /** * Requested product ID. * @minLength 1 */ id?: string; /** Whether merchant specific data, such as cost and profit data, should be included in the response. Requires permissions to manage products. */ includeMerchantSpecificData?: boolean; } interface GetProductPlatformizedResponse { /** Requested product data. */ product?: Product; } interface QueryCollectionsRequest { /** Query options. */ query?: Query; /** Whether number of products should be included in the response. */ includeNumberOfProducts?: boolean; /** Wether to include collection description in the response. When `false` is passed, `collection.description` will return null. */ includeDescription?: boolean; } interface QueryCollectionsResponse { /** List of collections. */ collections?: Collection[]; /** Details on the paged set of results returned. */ metadata?: PagingMetadata; /** Total number of results returned. */ totalResults?: number; } interface QueryCollectionsPlatformizedRequest { query?: PlatformQuery; } interface QueryCollectionsPlatformizedResponse { /** @maxSize 100 */ collections?: Collection[]; metadata?: PlatformPagingMetadata; } interface GetCollectionRequest { /** * Requested collection ID. * @minLength 35 * @maxLength 36 */ id?: string; /** * Whether to return the `collection.numberOfProducts` field in the response. * Defaults to `false`, in which case the value of `collection.numberOfProducts` will be `0`. */ includeNumberOfProducts?: boolean; } interface GetCollectionResponse { /** The requested collection. */ collection?: Collection; } interface GetCollectionBySlugRequest { /** * Slug of the collection to retrieve. * @minLength 1 * @maxLength 100 */ slug: string; } interface GetCollectionBySlugResponse { /** The requested collection. */ collection?: Collection; } interface ProductOptionsAvailabilityRequest { /** * Requested product ID. * @minLength 1 */ id: string; /** Array containing the selected options. For example, `{"color": "Blue", "size": "Large"}`. */ options?: Record; } interface ProductOptionsAvailabilityResponse { /** Variant information, given that all the choices were provided. */ selectedVariant?: VariantData; /** Information about media items (images, videos, etc.) associated with this choice. */ media?: Media; /** Options information (color, size, etc.) for this product, with the inventory and visibility fields updated based on the provided choices. */ productOptions?: ProductOption[]; /** Whether all the selected choices result in a visible, in-stock variant. */ availableForPurchase?: boolean; } interface VariantData { /** Variant price. */ price?: PriceData; /** * Variant price data converted to currency provided in header. * @readonly */ convertedPriceData?: PriceData; /** Variant weight. */ weight?: number | null; /** Variant SKU (stock keeping unit). */ sku?: string; /** Quantity currently in inventory (relevant only when tracking by inventory). */ quantity?: number | null; /** Whether the product is currently in stock (relevant only when tracking manually). */ inStock?: boolean; /** Whether the variant is visible to customers. */ visible?: boolean; /** Product dimensions (length, width, height of the physical product). */ productDimensions?: Dimensions; /** Package dimensions (length, width, height of the shipping package). */ packageDimensions?: Dimensions; } interface QueryProductVariantsRequest { /** * Requested product ID. * @minLength 1 */ id: string; /** * The specific choices available or chosen from within a selection (e.g., choosing the red Selection triggers the red Choice). * You may specify all the relevant choices for a specific variant, or only some of the options, which will return all corresponding variants (not relevant when passing variant IDs). */ choices?: Record; /** List of variant IDs (not relevant when passing choices). */ variantIds?: string[]; paging?: Paging; /** Whether merchant specific data should be included in the response. Requires permissions to manage products. */ includeMerchantSpecificData?: boolean; } interface QueryProductVariantsResponse { /** List of variants based on the specified filters and sorting. */ variants?: Variant[]; metadata?: PagingMetadata; totalResults?: number; } interface QueryStoreVariantsRequest { /** Query options. */ query?: PlatformQuery; } interface QueryStoreVariantsResponse { /** List of variants based on the specified filters and sorting. */ variants?: StoreVariant[]; /** Details on the paged set of results returned. */ metadata?: PlatformPagingMetadata; } interface StoreVariant { /** Store variant ID. Comprised of the `productId` and the `variantId`, separated by a hyphen: {productId}.{variantId}. */ id?: string; /** * Variant ID. * @format GUID */ variantId?: string; /** Product ID. */ productId?: string; /** * Variant name. * @minLength 1 * @maxLength 80 */ variantName?: string; /** * Product name. * @minLength 1 * @maxLength 80 */ productName?: string; /** Whether the variant is managed or represents a product. */ managedVariant?: boolean; /** * Variant SKU (stock keeping unit). * @maxLength 40 */ sku?: string; /** Variant inventory status. */ stock?: VariantStock; /** The selected options of this variant. For example, `{"Color": "Blue", "Size": "Large"}`. */ choices?: Record; /** * Collections that include this variant. * @format GUID */ collectionIds?: string[]; /** * Media items (images, videos) associated with this variant. * @readonly */ media?: PlatformMedia; /** Preorder information. */ preorderInfo?: PreorderInfo; } interface PlatformMedia extends PlatformMediaMediaOneOf { image?: Image; video?: VideoV2; } /** @oneof */ interface PlatformMediaMediaOneOf { image?: Image; video?: VideoV2; } interface Image { /** WixMedia image ID. */ id?: string; /** Image URL. */ url?: string; /** * Original image height. * @readonly */ height?: number; /** * Original image width. * @readonly */ width?: number; /** Image alt text. */ altText?: string | null; /** * Image filename. * @readonly */ filename?: string | null; } interface FocalPoint { /** X-coordinate of the focal point. */ x?: number; /** Y-coordinate of the focal point. */ y?: number; /** crop by height */ height?: number | null; /** crop by width */ width?: number | null; } interface VideoV2 { /** WixMedia ID. */ id?: string; /** * Available resolutions for the video, starting with the optimal resolution. * @readonly * @maxSize 100 */ resolutions?: VideoResolution[]; /** * Video filename. * @readonly */ filename?: string | null; } interface VideoResolution { /** Video URL. */ url?: string; /** Video height. */ height?: number; /** Video width. */ width?: number; /** Video format for example, mp4, hls. */ format?: string; } interface PreorderInfo { /** Whether the item is available for preorder. */ enabled?: boolean; /** * A message the buyer will see when the item is out of stock and preorder is enabled. * @minLength 1 * @maxLength 250 */ message?: string | null; /** * Number of products that can be preordered after stock reaches zero. * @max 100000 */ limit?: number | null; } interface QueryStoreVariantsWithBigLimitRequest { /** Query options. */ query?: UnlimitedPlatformQuery; } /** * Don't use it unless you have to and know what you do. Prefer PlatformQuery other than this. * It doesn't have max validation for limit but we still MUST have it so implement required validation in your code. */ interface UnlimitedPlatformQuery extends UnlimitedPlatformQueryPagingMethodOneOf { /** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */ paging?: UnlimitedPlatformPaging; /** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */ cursorPaging?: UnlimitedPlatformCursorPaging; /** Filter object. */ filter?: Record | null; /** Sorting options. For example, `[{"fieldName":"sortField1"},{"fieldName":"sortField2","direction":"DESC"}]`. */ sort?: Sorting[]; } /** @oneof */ interface UnlimitedPlatformQueryPagingMethodOneOf { /** Pointer to page of results using offset. Cannot be used together with `cursorPaging`. */ paging?: UnlimitedPlatformPaging; /** Cursor pointing to page of results. Cannot be used together with `paging`. `cursorPaging.cursor` can not be used together with `filter` or `sort`. */ cursorPaging?: UnlimitedPlatformCursorPaging; } /** * Don't use it unless you have to and know what you do. Prefer PlatformPaging or wix.common.Paging other than this. * It doesn't have max validation for limit but we still MUST have it so implement required validation in your code. */ interface UnlimitedPlatformPaging { /** Number of items to load. */ limit?: number | null; /** Number of items to skip in the current sort order. */ offset?: number | null; } /** * Don't use it unless you have to and know what you do. Prefer PlatformCursorPaging or wix.common.CursorPaging other than this. * It doesn't have max validation for limit but we still MUST have it so implement required validation in your code. */ interface UnlimitedPlatformCursorPaging { /** * The number of items to load. * Cursor token returned in the query response. To be used on the next query request, but not the first query request. */ limit?: number | null; /** Cursor returned in last query response. Should not be provided on first page request */ cursor?: string | null; } interface GetStoreVariantRequest { /** Store variant ID. Comprised of the `productId` and the `variantId`, separated by a hyphen. For example, `{productId}-{variantId}`. */ id: string; } interface GetStoreVariantResponse { /** The requested store variant. */ variant?: StoreVariant; } interface QueryCustomFieldsRequest { /** Requested product ID. */ id?: string; /** * Requested field names. * @minLength 1 * @maxLength 100 */ names?: string[]; } interface QueryCustomFieldsResponse { customFields?: Record; } interface BulkQueryCustomFieldsRequest { /** Filter string. */ query?: Query; /** * Requested field names. * @minLength 1 * @maxLength 100 */ names?: string[]; } interface BulkQueryCustomFieldsResponse { /** ProductId to Custom Fields Map packed in container. */ productIdToCustomFields?: Record; metadata?: PagingMetadata; totalResults?: number; } interface CustomFieldsContainer { customFields?: Record; } interface AggregateProductsRequest { /** Filter applied to original data */ filter?: Record | null; /** This is an object defining aggregation itself */ aggregation?: Record | null; /** Whether hidden products should be considered. Requires permissions to manage products. */ includeHiddenProducts?: boolean; /** Whether merchant specific data should be included in the response. Requires permissions to manage products. */ includeMerchantSpecificData?: boolean; } interface AggregateProductsResponse { aggregates?: Record | null; } interface MessageEnvelope { /** * App instance ID. * @format GUID */ instanceId?: string | null; /** * Event type. * @maxLength 150 */ eventType?: string; /** The identification type and identity data. */ identity?: IdentificationData; /** Stringify payload. */ data?: string; /** Details related to the account */ accountInfo?: AccountInfo; } interface IdentificationData extends IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; /** @readonly */ identityType?: WebhookIdentityTypeWithLiterals; } /** @oneof */ interface IdentificationDataIdOneOf { /** * ID of a site visitor that has not logged in to the site. * @format GUID */ anonymousVisitorId?: string; /** * ID of a site visitor that has logged in to the site. * @format GUID */ memberId?: string; /** * ID of a Wix user (site owner, contributor, etc.). * @format GUID */ wixUserId?: string; /** * ID of an app. * @format GUID */ appId?: string; } declare enum WebhookIdentityType { UNKNOWN = "UNKNOWN", ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR", MEMBER = "MEMBER", WIX_USER = "WIX_USER", APP = "APP" } /** @enumType */ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP'; interface AccountInfo { /** * ID of the Wix account associated with the event. * @format GUID */ accountId?: string | null; /** * ID of the parent Wix account. Only included when accountId belongs to a child account. * @format GUID */ parentAccountId?: string | null; /** * ID of the Wix site associated with the event. Only included when the event is tied to a specific site. * @format GUID */ siteId?: string | null; } interface V1CreateProductPlatformizedRequest { /** Product information. */ product?: Product; } interface V1CreateProductPlatformizedResponse { product?: Product; } interface V1UpdateProductPlatformizedRequest { product?: Product; } interface V1UpdateProductPlatformizedResponse { product?: Product; } interface V1DeleteProductPlatformizedRequest { /** ID of the product to delete. */ id?: string; } interface V1DeleteProductPlatformizedResponse { } type __PublicMethodMetaInfo = { getUrl: (context: any) => string; httpMethod: K; path: string; pathParams: M; __requestType: T; __originalRequestType: S; __responseType: Q; __originalResponseType: R; }; declare function createProduct(): __PublicMethodMetaInfo<'POST', {}, CreateProductRequest$1, CreateProductRequest, CreateProductResponse$1, CreateProductResponse>; declare function updateProduct(): __PublicMethodMetaInfo<'PATCH', { productId: string; }, UpdateProductRequest$1, UpdateProductRequest, UpdateProductResponse$1, UpdateProductResponse>; declare function deleteProduct(): __PublicMethodMetaInfo<'DELETE', { id: string; }, DeleteProductRequest$1, DeleteProductRequest, DeleteProductResponse$1, DeleteProductResponse>; declare function updateProductVariants(): __PublicMethodMetaInfo<'PATCH', { id: string; }, UpdateVariantsRequest$1, UpdateVariantsRequest, UpdateVariantsResponse$1, UpdateVariantsResponse>; declare function resetAllProductVariantData(): __PublicMethodMetaInfo<'POST', { id: string; }, ResetAllVariantDataRequest$1, ResetAllVariantDataRequest, ResetAllVariantDataResponse$1, ResetAllVariantDataResponse>; declare function addProductsToCollection(): __PublicMethodMetaInfo<'POST', { id: string; }, AddProductsToCollectionRequest$1, AddProductsToCollectionRequest, AddProductsToCollectionResponse$1, AddProductsToCollectionResponse>; declare function removeProductsFromCollection(): __PublicMethodMetaInfo<'POST', { id: string; }, RemoveProductsFromCollectionRequest$1, RemoveProductsFromCollectionRequest, RemoveProductsFromCollectionResponse$1, RemoveProductsFromCollectionResponse>; declare function addProductMedia(): __PublicMethodMetaInfo<'POST', { id: string; }, AddProductMediaRequest$1, AddProductMediaRequest, AddProductMediaResponse$1, AddProductMediaResponse>; declare function removeProductMedia(): __PublicMethodMetaInfo<'POST', { id: string; }, RemoveProductMediaRequest$1, RemoveProductMediaRequest, RemoveProductMediaResponse$1, RemoveProductMediaResponse>; declare function addProductMediaToChoices(): __PublicMethodMetaInfo<'PATCH', { id: string; }, AddProductMediaToChoicesRequest$1, AddProductMediaToChoicesRequest, AddProductMediaToChoicesResponse$1, AddProductMediaToChoicesResponse>; declare function removeProductMediaFromChoices(): __PublicMethodMetaInfo<'POST', { id: string; }, RemoveProductMediaFromChoicesRequest$1, RemoveProductMediaFromChoicesRequest, RemoveProductMediaFromChoicesResponse$1, RemoveProductMediaFromChoicesResponse>; declare function deleteProductOptions(): __PublicMethodMetaInfo<'DELETE', { id: string; }, DeleteProductOptionsRequest$1, DeleteProductOptionsRequest, DeleteProductOptionsResponse$1, DeleteProductOptionsResponse>; declare function removeBrand(): __PublicMethodMetaInfo<'POST', { id: string; }, RemoveProductBrandRequest$1, RemoveProductBrandRequest, RemoveProductBrandResponse$1, RemoveProductBrandResponse>; declare function createCollection(): __PublicMethodMetaInfo<'POST', {}, CreateCollectionRequest$1, CreateCollectionRequest, CreateCollectionResponse$1, CreateCollectionResponse>; declare function updateCollection(): __PublicMethodMetaInfo<'PATCH', { collectionId: string; }, UpdateCollectionRequest$1, UpdateCollectionRequest, UpdateCollectionResponse$1, UpdateCollectionResponse>; declare function deleteCollection(): __PublicMethodMetaInfo<'DELETE', { id: string; }, DeleteCollectionRequest$1, DeleteCollectionRequest, DeleteCollectionResponse$1, DeleteCollectionResponse>; declare function removeRibbon(): __PublicMethodMetaInfo<'POST', { id: string; }, RemoveProductRibbonRequest$1, RemoveProductRibbonRequest, RemoveProductRibbonResponse$1, RemoveProductRibbonResponse>; declare function bulkUpdateProductsProperty(): __PublicMethodMetaInfo<'POST', {}, BulkUpdateProductsRequest$1, BulkUpdateProductsRequest, BulkUpdateProductsResponse$1, BulkUpdateProductsResponse>; declare function bulkAdjustProductProperty(): __PublicMethodMetaInfo<'POST', {}, BulkAdjustProductPropertiesRequest$1, BulkAdjustProductPropertiesRequest, BulkAdjustProductPropertiesResponse$1, BulkAdjustProductPropertiesResponse>; declare function queryProducts(): __PublicMethodMetaInfo<'GET', {}, QueryProductsPlatformizedRequest$1, QueryProductsPlatformizedRequest, QueryProductsPlatformizedResponse$1, QueryProductsPlatformizedResponse>; declare function getProduct(): __PublicMethodMetaInfo<'GET', { id: string; }, GetProductRequest$1, GetProductRequest, GetProductResponse$1, GetProductResponse>; declare function getCollectionBySlug(): __PublicMethodMetaInfo<'GET', { slug: string; }, GetCollectionBySlugRequest$1, GetCollectionBySlugRequest, GetCollectionBySlugResponse$1, GetCollectionBySlugResponse>; declare function getProductOptionsAvailability(): __PublicMethodMetaInfo<'POST', { id: string; }, ProductOptionsAvailabilityRequest$1, ProductOptionsAvailabilityRequest, ProductOptionsAvailabilityResponse$1, ProductOptionsAvailabilityResponse>; declare function queryProductVariants(): __PublicMethodMetaInfo<'POST', { id: string; }, QueryProductVariantsRequest$1, QueryProductVariantsRequest, QueryProductVariantsResponse$1, QueryProductVariantsResponse>; declare function queryStoreVariants(): __PublicMethodMetaInfo<'POST', {}, QueryStoreVariantsRequest$1, QueryStoreVariantsRequest, QueryStoreVariantsResponse$1, QueryStoreVariantsResponse>; declare function getStoreVariant(): __PublicMethodMetaInfo<'GET', { id: string; }, GetStoreVariantRequest$1, GetStoreVariantRequest, GetStoreVariantResponse$1, GetStoreVariantResponse>; export { type AccountInfo as AccountInfoOriginal, type AddProductMediaRequest as AddProductMediaRequestOriginal, type AddProductMediaResponse as AddProductMediaResponseOriginal, type AddProductMediaToChoicesRequest as AddProductMediaToChoicesRequestOriginal, type AddProductMediaToChoicesResponse as AddProductMediaToChoicesResponseOriginal, type AddProductsToCollectionRequest as AddProductsToCollectionRequestOriginal, type AddProductsToCollectionResponse as AddProductsToCollectionResponseOriginal, type AdditionalInfoSection as AdditionalInfoSectionOriginal, type AddressLocation as AddressLocationOriginal, type AdjustValue as AdjustValueOriginal, type AdjustValueValueOneOf as AdjustValueValueOneOfOriginal, type AggregateProductsRequest as AggregateProductsRequestOriginal, type AggregateProductsResponse as AggregateProductsResponseOriginal, type AllowedProductsCountLimitExceededErrorData as AllowedProductsCountLimitExceededErrorDataOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkAdjustProductPropertiesByFilterSyncRequest as BulkAdjustProductPropertiesByFilterSyncRequestOriginal, type BulkAdjustProductPropertiesByFilterSyncResponse as BulkAdjustProductPropertiesByFilterSyncResponseOriginal, type BulkAdjustProductPropertiesRequest as BulkAdjustProductPropertiesRequestOriginal, type BulkAdjustProductPropertiesResponse as BulkAdjustProductPropertiesResponseOriginal, type BulkDeleteProductsRequest as BulkDeleteProductsRequestOriginal, type BulkDeleteProductsResponse as BulkDeleteProductsResponseOriginal, type BulkProductResult as BulkProductResultOriginal, type BulkQueryCustomFieldsRequest as BulkQueryCustomFieldsRequestOriginal, type BulkQueryCustomFieldsResponse as BulkQueryCustomFieldsResponseOriginal, type BulkRemoveCustomFieldsRequest as BulkRemoveCustomFieldsRequestOriginal, type BulkRemoveCustomFieldsResponse as BulkRemoveCustomFieldsResponseOriginal, type BulkSetCustomFieldsRequest as BulkSetCustomFieldsRequestOriginal, type BulkSetCustomFieldsResponse as BulkSetCustomFieldsResponseOriginal, type BulkUpdateProductsByFilterSyncRequest as BulkUpdateProductsByFilterSyncRequestOriginal, type BulkUpdateProductsByFilterSyncResponse as BulkUpdateProductsByFilterSyncResponseOriginal, type BulkUpdateProductsRequest as BulkUpdateProductsRequestOriginal, type BulkUpdateProductsResponse as BulkUpdateProductsResponseOriginal, type Choice as ChoiceOriginal, type CollectionChanged as CollectionChangedOriginal, type CollectionCreated as CollectionCreatedOriginal, type CollectionDeleted as CollectionDeletedOriginal, type Collection as CollectionOriginal, type CostAndProfitData as CostAndProfitDataOriginal, type CreateCollectionRequest as CreateCollectionRequestOriginal, type CreateCollectionResponse as CreateCollectionResponseOriginal, type CreateDigitalProductRequest as CreateDigitalProductRequestOriginal, type CreateDigitalProductResponse as CreateDigitalProductResponseOriginal, type CreateProductPlatformizedRequest as CreateProductPlatformizedRequestOriginal, type CreateProductPlatformizedResponse as CreateProductPlatformizedResponseOriginal, type CreateProductRequest as CreateProductRequestOriginal, type CreateProductResponse as CreateProductResponseOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type CustomFieldsContainer as CustomFieldsContainerOriginal, type CustomTextField as CustomTextFieldOriginal, type DeleteCollectionRequest as DeleteCollectionRequestOriginal, type DeleteCollectionResponse as DeleteCollectionResponseOriginal, type DeleteProductOptionsRequest as DeleteProductOptionsRequestOriginal, type DeleteProductOptionsResponse as DeleteProductOptionsResponseOriginal, type DeleteProductPlatformizedRequest as DeleteProductPlatformizedRequestOriginal, type DeleteProductPlatformizedResponse as DeleteProductPlatformizedResponseOriginal, type DeleteProductRequest as DeleteProductRequestOriginal, type DeleteProductResponse as DeleteProductResponseOriginal, type Dimensions as DimensionsOriginal, DimensionsUnit as DimensionsUnitOriginal, type DimensionsUnitWithLiterals as DimensionsUnitWithLiteralsOriginal, type Discount as DiscountOriginal, DiscountType as DiscountTypeOriginal, type DiscountTypeWithLiterals as DiscountTypeWithLiteralsOriginal, FileType as FileTypeOriginal, type FileTypeWithLiterals as FileTypeWithLiteralsOriginal, type FocalPoint as FocalPointOriginal, type FormattedPrice as FormattedPriceOriginal, type GetCollectionBySlugRequest as GetCollectionBySlugRequestOriginal, type GetCollectionBySlugResponse as GetCollectionBySlugResponseOriginal, type GetCollectionRequest as GetCollectionRequestOriginal, type GetCollectionResponse as GetCollectionResponseOriginal, type GetProductPlatformizedRequest as GetProductPlatformizedRequestOriginal, type GetProductPlatformizedResponse as GetProductPlatformizedResponseOriginal, type GetProductRequest as GetProductRequestOriginal, type GetProductResponse as GetProductResponseOriginal, type GetProductsRequest as GetProductsRequestOriginal, type GetProductsResponse as GetProductsResponseOriginal, type GetStoreVariantRequest as GetStoreVariantRequestOriginal, type GetStoreVariantResponse as GetStoreVariantResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Image as ImageOriginal, InventoryStatus as InventoryStatusOriginal, type InventoryStatusWithLiterals as InventoryStatusWithLiteralsOriginal, type ItemMetadata as ItemMetadataOriginal, type Keyword as KeywordOriginal, MeasurementUnit as MeasurementUnitOriginal, type MeasurementUnitWithLiterals as MeasurementUnitWithLiteralsOriginal, type MediaAssignmentToChoice as MediaAssignmentToChoiceOriginal, type MediaDataForWriteMediaSourceOneOf as MediaDataForWriteMediaSourceOneOfOriginal, type MediaDataForWrite as MediaDataForWriteOriginal, type MediaItemItemOneOf as MediaItemItemOneOfOriginal, type MediaItem as MediaItemOriginal, MediaItemType as MediaItemTypeOriginal, type MediaItemTypeWithLiterals as MediaItemTypeWithLiteralsOriginal, type MediaItemUrlAndSize as MediaItemUrlAndSizeOriginal, type MediaItemVideo as MediaItemVideoOriginal, type Media as MediaOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type NumericPropertyRange as NumericPropertyRangeOriginal, type OptionAndChoice as OptionAndChoiceOriginal, OptionType as OptionTypeOriginal, type OptionTypeWithLiterals as OptionTypeWithLiteralsOriginal, type PageUrl as PageUrlOriginal, type PagingMetadata as PagingMetadataOriginal, type Paging as PagingOriginal, type PagingWithBigLimit as PagingWithBigLimitOriginal, type PercentageData as PercentageDataOriginal, type PlatformMediaMediaOneOf as PlatformMediaMediaOneOfOriginal, type PlatformMedia as PlatformMediaOriginal, type PlatformPagingMetadata as PlatformPagingMetadataOriginal, type PlatformPaging as PlatformPagingOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type PreorderInfo as PreorderInfoOriginal, type PriceData as PriceDataOriginal, type PricePerUnitData as PricePerUnitDataOriginal, type ProductChanged as ProductChangedOriginal, type ProductCreated as ProductCreatedOriginal, type ProductDeleted as ProductDeletedOriginal, type ProductOption as ProductOptionOriginal, type ProductOptionsAvailabilityRequest as ProductOptionsAvailabilityRequestOriginal, type ProductOptionsAvailabilityResponse as ProductOptionsAvailabilityResponseOriginal, type Product as ProductOriginal, ProductType as ProductTypeOriginal, type ProductTypeWithLiterals as ProductTypeWithLiteralsOriginal, type PropertyAdjustmentDataByOneOf as PropertyAdjustmentDataByOneOfOriginal, type PropertyAdjustmentData as PropertyAdjustmentDataOriginal, type QueryCollectionsPlatformizedRequest as QueryCollectionsPlatformizedRequestOriginal, type QueryCollectionsPlatformizedResponse as QueryCollectionsPlatformizedResponseOriginal, type QueryCollectionsRequest as QueryCollectionsRequestOriginal, type QueryCollectionsResponse as QueryCollectionsResponseOriginal, type QueryCustomFieldsRequest as QueryCustomFieldsRequestOriginal, type QueryCustomFieldsResponse as QueryCustomFieldsResponseOriginal, type Query as QueryOriginal, type QueryProductVariantsRequest as QueryProductVariantsRequestOriginal, type QueryProductVariantsResponse as QueryProductVariantsResponseOriginal, type QueryProductsPlatformizedRequest as QueryProductsPlatformizedRequestOriginal, type QueryProductsPlatformizedResponse as QueryProductsPlatformizedResponseOriginal, type QueryProductsRequest as QueryProductsRequestOriginal, type QueryProductsResponse as QueryProductsResponseOriginal, type QueryProductsWithBigPageLimitRequest as QueryProductsWithBigPageLimitRequestOriginal, type QueryStoreVariantsRequest as QueryStoreVariantsRequestOriginal, type QueryStoreVariantsResponse as QueryStoreVariantsResponseOriginal, type QueryStoreVariantsWithBigLimitRequest as QueryStoreVariantsWithBigLimitRequestOriginal, type QueryWithBigPageLimit as QueryWithBigPageLimitOriginal, type ReCloneStoreRequest as ReCloneStoreRequestOriginal, type ReCloneStoreResponse as ReCloneStoreResponseOriginal, type RemoveCustomFieldsRequest as RemoveCustomFieldsRequestOriginal, type RemoveCustomFieldsResponse as RemoveCustomFieldsResponseOriginal, type RemoveProductBrandRequest as RemoveProductBrandRequestOriginal, type RemoveProductBrandResponse as RemoveProductBrandResponseOriginal, type RemoveProductMediaFromChoicesRequest as RemoveProductMediaFromChoicesRequestOriginal, type RemoveProductMediaFromChoicesResponse as RemoveProductMediaFromChoicesResponseOriginal, type RemoveProductMediaRequest as RemoveProductMediaRequestOriginal, type RemoveProductMediaResponse as RemoveProductMediaResponseOriginal, type RemoveProductRibbonRequest as RemoveProductRibbonRequestOriginal, type RemoveProductRibbonResponse as RemoveProductRibbonResponseOriginal, type RemoveProductsFromCollectionRequest as RemoveProductsFromCollectionRequestOriginal, type RemoveProductsFromCollectionResponse as RemoveProductsFromCollectionResponseOriginal, type ResetAllVariantDataRequest as ResetAllVariantDataRequestOriginal, type ResetAllVariantDataResponse as ResetAllVariantDataResponseOriginal, type Ribbon as RibbonOriginal, type SecuredMedia as SecuredMediaOriginal, type SeoSchema as SeoSchemaOriginal, type SetCustomFieldsRequest as SetCustomFieldsRequestOriginal, type SetCustomFieldsResponse as SetCustomFieldsResponseOriginal, type SetValue as SetValueOriginal, type SetValueValueOneOf as SetValueValueOneOfOriginal, type Settings as SettingsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type Stock as StockOriginal, type StoreVariant as StoreVariantOriginal, type Tag as TagOriginal, type UnlimitedPlatformCursorPaging as UnlimitedPlatformCursorPagingOriginal, type UnlimitedPlatformPaging as UnlimitedPlatformPagingOriginal, type UnlimitedPlatformQuery as UnlimitedPlatformQueryOriginal, type UnlimitedPlatformQueryPagingMethodOneOf as UnlimitedPlatformQueryPagingMethodOneOfOriginal, type UpdateCollectionRequest as UpdateCollectionRequestOriginal, type UpdateCollectionResponse as UpdateCollectionResponseOriginal, type UpdateProductPlatformizedRequest as UpdateProductPlatformizedRequestOriginal, type UpdateProductPlatformizedResponse as UpdateProductPlatformizedResponseOriginal, type UpdateProductRequest as UpdateProductRequestOriginal, type UpdateProductResponse as UpdateProductResponseOriginal, type UpdateVariantsRequest as UpdateVariantsRequestOriginal, type UpdateVariantsResponse as UpdateVariantsResponseOriginal, type V1CreateProductPlatformizedRequest as V1CreateProductPlatformizedRequestOriginal, type V1CreateProductPlatformizedResponse as V1CreateProductPlatformizedResponseOriginal, type V1DeleteProductPlatformizedRequest as V1DeleteProductPlatformizedRequestOriginal, type V1DeleteProductPlatformizedResponse as V1DeleteProductPlatformizedResponseOriginal, type V1UpdateProductPlatformizedRequest as V1UpdateProductPlatformizedRequestOriginal, type V1UpdateProductPlatformizedResponse as V1UpdateProductPlatformizedResponseOriginal, type VariantChanged as VariantChangedOriginal, type VariantData as VariantDataOriginal, type VariantDataWithNoStock as VariantDataWithNoStockOriginal, type Variant as VariantOriginal, type VariantOverride as VariantOverrideOriginal, type VariantStock as VariantStockOriginal, type VariantsChanged as VariantsChangedOriginal, Version as VersionOriginal, type VersionWithLiterals as VersionWithLiteralsOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, addProductMedia, addProductMediaToChoices, addProductsToCollection, bulkAdjustProductProperty, bulkUpdateProductsProperty, createCollection, createProduct, deleteCollection, deleteProduct, deleteProductOptions, getCollectionBySlug, getProduct, getProductOptionsAvailability, getStoreVariant, queryProductVariants, queryProducts, queryStoreVariants, removeBrand, removeProductMedia, removeProductMediaFromChoices, removeProductsFromCollection, removeRibbon, resetAllProductVariantData, updateCollection, updateProduct, updateProductVariants };