> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# BulkCreateProducts

# Package: suppliersHub

# Namespace: MarketplaceProduct

# Method link: https://dev.wix.com/docs/api-reference/business-solutions/suppliers-hub/products/bulk-create-products.md

## Permission Scopes:
Write Marketplace: SCOPE.SUPPLIERS_HUB.WRITE_MARKETPLACE

## Introduction

Creates multiple products in a single request.

Supports partial success - some products may be created successfully while others fail.
Each result includes an `itemMetadata` object indicating success or failure with error details.

When handling failures, distinguish between validation errors which shouldn't be retried,
and transient errors which can be retried. Only retry failed items, not the entire batch.

---

## REST API

### Schema

```
 Method: bulkCreateProducts
 Description: Creates multiple products in a single request.  Supports partial success - some products may be created successfully while others fail. Each result includes an `itemMetadata` object indicating success or failure with error details.  When handling failures, distinguish between validation errors which shouldn't be retried, and transient errors which can be retried. Only retry failed items, not the entire batch.
 URL: https://www.wixapis.com/suppliers-hub/v1/bulk/products/create
 Method: POST
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  products, products.providerInfo, products.providerInfo.productId, products.name, products.media, products.types, products.shippingDestinations.minimumShippingCost, products.minimumPrice, products.options.name, products.optionss, products.wholesaleOptions.priceTiers.priceFrom, products.wholesaleOptions.priceTiers.countFrom, products.directCategories.id, products.directCategories.namespace
 Method parameters: 
   param name: products | type: array<products> | description: Products to create. Each must include all required fields for the specified product types. | required: true | validation: minItems 1, maxItems 100
              - name: providerInfo | type: ProviderInfo | description: Information about the business partner providing this product. | required: true 
                 - name: productId | type: string | description: Unique product identifier on the provider's platform.  This field serves as the external system's primary key for synchronization and prevents duplicate products from being created. Once set, you can't change this field. | required: true | validation: minLength 1, maxLength 36, immutable
                 - name: productCreatedDate | type: string | description: Date and time the product was created on the provider's platform.  This field helps maintain the connection to the original product source. Once set, you can't change this field.  | validation: format date-time, immutable
                 - name: url | type: string | description: Product URL on the provider's platform.  | validation: format WEB_URL
              - name: name | type: string | description: Product name. | required: true | validation: minLength 1, maxLength 100
              - name: description | type: string | description: Product description.  | validation: maxLength 64000
              - name: visible | type: boolean | description: Whether the product is visible in the Marketplace.  Default: `true`  
              - name: media | type: Media | description: Product media. | required: true 
                 - name: items | type: array<Image> | description: Product images. The first image becomes the main image.  | validation: maxItems 15
                    - name: id | type: string | description: WixMedia image GUID.  
                    - name: url | type: string | description: Image URL.  
                    - name: altText | type: string | description: Image alt text.  
              - name: types | type: array<ProductType> | description: Business model types this product supports. | required: true | validation: minItems 1, maxItems 2
                     - enum:
                     -     DROPSHIPPING: Product is fulfilled by the supplier without inventory management by the store owner.
                     -     WHOLESALE: Product is sold in bulk quantities with tiered pricing.
                     -     PRINT_ON_DEMAND: Product is manufactured after purchase; no pre‑held inventory.
              - name: options | type: array<ProductOption> | description: Product options that customers can choose from.  Options display available product variations like size and color to help buyers make purchase decisions. Currently, options are informational only and don't create separate inventory items or variants.  There are 2 predefined option types you can use: - `color`: Color choices for the product. Values should be standard color names. For example, `"Black"`, `"White"`, `"Yellow"`. - `size`: Size choices for the product. Values should be standard size labels. For example, `"S"`, `"M"`, `"L"`, `"XL"`.  | validation: maxItems 6
                 - name: name | type: string | description: Option name.  There are 2 predefined options you can use: - `color`: Represents color choices for the product. Values should be standard color names. For example, `"Black"`, `"White"`, `"Yellow"`. - `size`: Represents size choices for the product. Values should be standard size labels. For example, `"S"`, `"M"`, `"L"`, `"XL"`.  | validation: minLength 1, maxLength 50
                 - name: description | type: string | description: Optional description explaining the option.  | validation: maxLength 200
                 - name: values | type: array<OptionValue> | description: Available values for this option.  All values within a single option must be the same type. For example, an option can't mix `color` values with `text` values.  | validation: maxItems 100
                    - ONE-OF: 
                       - name: color | type: ColorOption | description: Color option with name, hex code, and sort order.  
                          - name: name | type: string | description: Color name.  For example, `"Black"` or `"Navy Blue"`. Use 'Multicolor' for mixed colors. When using 'Multicolor', do not provide a hex value.  | validation: minLength 1, maxLength 50
                          - name: hex | type: string | description: Hex color code.  For example, `"#000000"` for black. Omit for 'Multicolor'.  | validation: format COLOR_HEX
                          - name: sortIndex | type: integer | description: Zero-based index that hints at the display order of this color relative to the option's other values.  For best results, use contiguous values starting at `0` with no gaps. When omitted, the client determines the display order.  | validation: minimum 0, maximum 100, format int32
                       - name: text | type: TextOption | description: Text-based option value with display name and sort order. Use for all option types other than `"color"`. Mismatching option names and value types may cause the product to display incorrectly in the Marketplace.  
                          - name: name | type: string | description: Display name for this option value. For example, `"L"` for size or `"Cotton"` for material.  | validation: minLength 1, maxLength 50
                          - name: sortIndex | type: integer | description: Zero-based index that hints at the display order of this value relative to the option's other values.  For best results, use contiguous values starting at `0` with no gaps. When omitted, the client determines the display order.  | validation: minimum 0, maximum 100, format int32
              - name: ribbonName | type: string | description: Promotional ribbon text displayed on the product.  For example, `"New Arrival"` or `"Bestseller"`.  | validation: minLength 1, maxLength 30
              - name: brand | type: string | description: Brand name.  | validation: minLength 1, maxLength 50
              - name: orderProcessingTime | type: TimeInterval | description: Time required to process orders before shipping.  
                 - name: min | type: TimeValue | description: Minimum time in the range.  
                    - name: value | type: integer | description: Numeric time value. For example, `2` for "2 days".  | validation: minimum 1
                    - name: unit | type: TimeUnit | description: Time unit for the value.  
                             - enum:
                             -     DAY: Days.
                             -     WEEK: Weeks.
                             -     MONTH: Months.
                 - name: max | type: TimeValue | description: Maximum time in the range.  
              - name: shippingDestinations | type: array<ShippingDestination> | description: Countries and regions where this product can be shipped, with location-specific pricing and timing.  | validation: minItems 0, maxItems 100
                 - ONE-OF: 
                    - name: specificCountrySelections | type: Countries | description: Specific countries.  Used when `countrySelections` is `SPECIFIC_COUNTRY`.  
                       - name: countries | type: array<string> | description: Country codes, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1) format.  | validation: minItems 1, maxItems 100, format COUNTRY
                 - name: countrySelections | type: CountrySelections | description: Indicates if shipping applies to selected countries or to all other regions.  
                         - enum:
                         -     REST_OF_THE_WORLD: All countries not specifically listed elsewhere.
                         -     SPECIFIC_COUNTRY: Specific countries listed in the `countries` field.
                 - name: minimumShippingCost | type: string | description: Minimum shipping cost to this destination in USD.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
                 - name: shippingTime | type: TimeInterval | description: Expected shipping time to this destination.  
                 - name: minimumProductCost | type: string | description: Minimum Product Cost to the Shipping Location  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
              - name: minimumPrice | type: string | description: Minimum price, in USD. | required: true | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":2}
              - name: inventory | type: Inventory | description: Current inventory information including stock level tier, calculated as the sum of all variant quantities.  Providers update inventory by calling [Update Product](https://dev.wix.com/docs/api-reference/business-solutions/suppliers-hub/products/update-product.md) with the new `quantity`. The `tier` is computed automatically and changes to the tier trigger a Product Updated webhook with `inventory.tier` in the modified fields.  
                 - name: quantity | type: integer | description: Exact inventory quantity across all variants.  When null, inventory hasn't been reported yet. A value of `0` means out of stock.  | validation: minimum 0, format int32
              - name: productOrigin | type: string | description: Country where the product is manufactured or originates from, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.  | validation: format COUNTRY
              - name: directCategories | type: array<ProductCategory> | description: List of categories that directly contain this product.  Each category's namespace must match at least one of the product's types. For example, if a product has type `DROPSHIPPING`, its categories must use `DROPSHIPPING_NAMESPACE`. Products with both `DROPSHIPPING` and `WHOLESALE` types can have categories from both namespaces.  | validation: maxItems 50
                 - name: id | type: string | description: Category GUID.  | validation: format GUID
                 - name: namespace | type: CategoryNamespace | description: The namespace of the category tree this assignment belongs to.  
                         - enum:
                         -     DROPSHIPPING_NAMESPACE: Namespace for the dropshipping category tree.
                         -     WHOLESALE_NAMESPACE: Namespace for the wholesale category tree.
                         -     PRINT_ON_DEMAND_NAMESPACE: Namespace for the print on demand category tree.
              - name: wholesaleOptions | type: WholesaleOptions | description: Wholesale-specific configuration including tiered pricing and minimum order quantities.  Required when `types` includes `WHOLESALE`.  
                 - name: priceTiers | type: array<PriceTier> | description: Tiered pricing based on order quantity ranges.  Price tiers must be continuous with no gaps in quantity ranges. For example, if tier 1 covers quantities 1-100, tier 2 must start at 101. The system validates tier continuity when creating or updating products.  | validation: maxItems 5
                    - name: priceFrom | type: string | description: Minimum price for this quantity tier in USD.  If `priceTo` isn't specified, this price applies to all quantities in the tier.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
                    - name: priceTo | type: string | description: Maximum price for this quantity tier in USD.  Optional for fixed-price tiers.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
                    - name: countFrom | type: integer | description: Minimum quantity for this price tier, inclusive.  | validation: minimum 1, format int32
                    - name: countTo | type: integer | description: Maximum quantity for this price tier, inclusive.  If not specified, this tier applies to all quantities greater or equal to `countFrom`.  | validation: minimum 1, format int32
                 - name: minimumOrderQuantity | type: integer | description: Minimum quantity required for wholesale orders.  | validation: minimum 1, format int32
              - name: supplierInfo | type: SupplierInfo | description: Information about the supplier including name, rating, and trust status.  
                 - name: id | type: string | description: Supplier GUID.  When provided, references a supplier in the Marketplace Supplier service. The system automatically retrieves and populates the supplier's name, rating, and verification status.  | validation: format GUID
              - name: printOnDemandOptions | type: PrintOnDemandOptions | description: Print-on-demand-specific configuration including supported print technologies and mockup assets.  Required when `types` include `PRINT_ON_DEMAND`.  
                 - name: printTechnologies | type: array<PrintTechnology> | description: Set of possible print technologies for the Product  | validation: minItems 1, maxItems 3
                         - enum:
                         -     DIRECT_TO_FILM: Transfers printed on film and heat-pressed onto fabric.
                         -     DIRECT_TO_GARMENT: Ink directly onto garment.
                         -     CUT_SEW_SUBLIMATION: Panels are printed first, then sewn. All‑over coverage with precise placements.
                         -     DIGITAL_PRINTING: Non‑DTG digital methods (e.g., roll‑to‑roll).
                         -     EMBROIDERY: Stitched threads, premium look.
                         -     SUBLIMATION: Dye infused into polyester/poly‑coated substrates.
                         -     UV_PRINTING: Cures ink with UV light on rigid or treated surfaces.
                         -     KNITWEAR: Pattern/design is knitted, not printed.
                         -     DIRECT_TO_FABRIC: Designs are printed directly onto rolls of fabric, which are then cut and sewn into the final product.
              - name: sizeGuides | type: array<SizeGuide> | description: Information about the product sizing  | validation: minItems 0, maxItems 5
                 - name: measurementUnit | type: MeasurementUnit | description: Sizes units (inches or cm)  
                         - enum: CM, INCHES
                 - name: description | type: string | description: Text description of the size guide  | validation: maxLength 8000
                 - name: imageUrl | type: string | description: Image for the size guide  | validation: format WEB_URL
                 - name: imageDescription | type: string | description: Text description of the image content  | validation: maxLength 8000
                 - name: specifications | type: array<Specification> | description: Sizes specifications  | validation: maxItems 10
                    - name: category | type: string | description: What is measured, e.g. chest, waist, sleeve  | validation: maxLength 50
                    - name: measurements | type: array<Measurement> | description: Measurements for different sizes  | validation: minItems 1, maxItems 50
                       - ONE-OF: 
                          - name: singleValue | type: string | description: The value of the size in case of single value  | validation: minLength 1, maxLength 50
                          - name: range | type: MeasurementValueRange | description: The value of the size in case of range (min/max)  
                             - name: minimum | type: string | description: Minimum value  | validation: minLength 1, maxLength 50
                             - name: maximum | type: string | description: Maximum value  | validation: minLength 1, maxLength 50
                       - name: sizeLabel | type: string | description: Product size, e.g. S, M, L  | validation: maxLength 50
              - name: dropshippingOptions | type: DropshippingOptions | description: Configuration specific to dropshipping products.  Required when `types` includes `DROPSHIPPING`, and not allowed otherwise.  
                 - name: salesVolume | type: integer | description: Total number of units the supplier has sold for this product across all sales channels.  Provide this value when creating or updating a dropshipping product. It's write-only: the Marketplace uses it internally and never returns it in responses.  | validation: minimum 0, format int32
              - name: tags | type: Tags | description: Product tags for organization and filtering.  
                 - name: privateTags | type: TagList | description: Tags that require an additional permission in order to access them, normally not given to site members or visitors.  
                    - name: tagIds | type: array<string> | description: List of tag GUIDs.  | validation: maxItems 100, maxLength 5
                 - name: publicTags | type: TagList | description: Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.  
   param name: returnEntity | type: returnEntity | description: Whether to return the created products in the response.  Default: `false`  
 Return type: BulkCreateProductsResponse
  - name: results | type: array<BulkProductResult> | description: Results of the bulk create operation, one per input product.  | validation: minItems 1, maxItems 100
     - name: itemMetadata | type: ItemMetadata | description: Metadata regarding the specific single create operation  
        - name: id | type: string | description: Item GUID. Should always be available, unless it's impossible. For example, when failing to create an item.  | validation: format GUID
        - name: originalIndex | type: integer | description: Index of the item within the request array. Allows for correlation between request and response items.  
        - name: success | type: boolean | description: Whether the requested action was successful for this item. When `false`, the `error` field is populated.  
        - name: error | type: ApplicationError | description: Details about the error in case of failure.  
           - name: code | type: string | description: Error code.  
           - name: description | type: string | description: Description of the error.  
           - name: data | type: object | description: Data related to the error.  
     - name: item | type: Product | description: Only exists if `returnEntity` was set to true in the request  
        - name: id | type: string | description: Product GUID.  | read-only: true | validation: format GUID
        - name: createdDate | type: string | description: Date and time the product was created.  | read-only: true | validation: format date-time
        - name: updatedDate | type: string | description: Date and time the product was updated.  | read-only: true | validation: format date-time
        - name: providerInfo | type: ProviderInfo | description: Information about the business partner providing this product.  
           - name: appId | type: string | description: Provider application GUID.  | read-only: true | validation: format GUID
           - name: productId | type: string | description: Unique product identifier on the provider's platform.  This field serves as the external system's primary key for synchronization and prevents duplicate products from being created. Once set, you can't change this field.  | validation: minLength 1, maxLength 36, immutable
           - name: productCreatedDate | type: string | description: Date and time the product was created on the provider's platform.  This field helps maintain the connection to the original product source. Once set, you can't change this field.  | validation: format date-time, immutable
           - name: url | type: string | description: Product URL on the provider's platform.  | validation: format WEB_URL
        - name: name | type: string | description: Product name.  | validation: minLength 1, maxLength 100
        - name: description | type: string | description: Product description.  | validation: maxLength 64000
        - name: visible | type: boolean | description: Whether the product is visible in the Marketplace.  Default: `true`  
        - name: media | type: Media | description: Product media.  
           - name: main | type: Image | description: Primary product image, automatically set from the first item in the `items` array.  | read-only: true 
              - name: id | type: string | description: WixMedia image GUID.  
              - name: url | type: string | description: Image URL.  
              - name: height | type: integer | description: Original image height.  | read-only: true 
              - name: width | type: integer | description: Original image width.  | read-only: true 
              - name: altText | type: string | description: Image alt text.  
              - name: filename | type: string | description: Image filename.  | read-only: true 
           - name: items | type: array<Image> | description: Product images. The first image becomes the main image.  | validation: maxItems 15
        - name: types | type: array<ProductType> | description: Business model types this product supports.  | validation: minItems 1, maxItems 2
             - enum:
             -     DROPSHIPPING: Product is fulfilled by the supplier without inventory management by the store owner.
             -     WHOLESALE: Product is sold in bulk quantities with tiered pricing.
             -     PRINT_ON_DEMAND: Product is manufactured after purchase; no pre‑held inventory.
        - name: options | type: array<ProductOption> | description: Product options that customers can choose from.  Options display available product variations like size and color to help buyers make purchase decisions. Currently, options are informational only and don't create separate inventory items or variants.  There are 2 predefined option types you can use: - `color`: Color choices for the product. Values should be standard color names. For example, `"Black"`, `"White"`, `"Yellow"`. - `size`: Size choices for the product. Values should be standard size labels. For example, `"S"`, `"M"`, `"L"`, `"XL"`.  | validation: maxItems 6
           - name: name | type: string | description: Option name.  There are 2 predefined options you can use: - `color`: Represents color choices for the product. Values should be standard color names. For example, `"Black"`, `"White"`, `"Yellow"`. - `size`: Represents size choices for the product. Values should be standard size labels. For example, `"S"`, `"M"`, `"L"`, `"XL"`.  | validation: minLength 1, maxLength 50
           - name: description | type: string | description: Optional description explaining the option.  | validation: maxLength 200
           - name: values | type: array<OptionValue> | description: Available values for this option.  All values within a single option must be the same type. For example, an option can't mix `color` values with `text` values.  | validation: maxItems 100
              - ONE-OF: 
                 - name: color | type: ColorOption | description: Color option with name, hex code, and sort order.  
                    - name: name | type: string | description: Color name.  For example, `"Black"` or `"Navy Blue"`. Use 'Multicolor' for mixed colors. When using 'Multicolor', do not provide a hex value.  | validation: minLength 1, maxLength 50
                    - name: hex | type: string | description: Hex color code.  For example, `"#000000"` for black. Omit for 'Multicolor'.  | validation: format COLOR_HEX
                    - name: sortIndex | type: integer | description: Zero-based index that hints at the display order of this color relative to the option's other values.  For best results, use contiguous values starting at `0` with no gaps. When omitted, the client determines the display order.  | validation: minimum 0, maximum 100, format int32
                 - name: text | type: TextOption | description: Text-based option value with display name and sort order. Use for all option types other than `"color"`. Mismatching option names and value types may cause the product to display incorrectly in the Marketplace.  
                    - name: name | type: string | description: Display name for this option value. For example, `"L"` for size or `"Cotton"` for material.  | validation: minLength 1, maxLength 50
                    - name: sortIndex | type: integer | description: Zero-based index that hints at the display order of this value relative to the option's other values.  For best results, use contiguous values starting at `0` with no gaps. When omitted, the client determines the display order.  | validation: minimum 0, maximum 100, format int32
        - name: ribbonName | type: string | description: Promotional ribbon text displayed on the product.  For example, `"New Arrival"` or `"Bestseller"`.  | validation: minLength 1, maxLength 30
        - name: brand | type: string | description: Brand name.  | validation: minLength 1, maxLength 50
        - name: orderProcessingTime | type: TimeInterval | description: Time required to process orders before shipping.  
           - name: min | type: TimeValue | description: Minimum time in the range.  
              - name: value | type: integer | description: Numeric time value. For example, `2` for "2 days".  | validation: minimum 1
              - name: unit | type: TimeUnit | description: Time unit for the value.  
                     - enum:
                     -     DAY: Days.
                     -     WEEK: Weeks.
                     -     MONTH: Months.
           - name: max | type: TimeValue | description: Maximum time in the range.  
        - name: shippingDestinations | type: array<ShippingDestination> | description: Countries and regions where this product can be shipped, with location-specific pricing and timing.  | validation: minItems 0, maxItems 100
           - ONE-OF: 
              - name: specificCountrySelections | type: Countries | description: Specific countries.  Used when `countrySelections` is `SPECIFIC_COUNTRY`.  
                 - name: countries | type: array<string> | description: Country codes, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1) format.  | validation: minItems 1, maxItems 100, format COUNTRY
           - name: countrySelections | type: CountrySelections | description: Indicates if shipping applies to selected countries or to all other regions.  
                 - enum:
                 -     REST_OF_THE_WORLD: All countries not specifically listed elsewhere.
                 -     SPECIFIC_COUNTRY: Specific countries listed in the `countries` field.
           - name: minimumShippingCost | type: string | description: Minimum shipping cost to this destination in USD.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
           - name: shippingTime | type: TimeInterval | description: Expected shipping time to this destination.  
           - name: minimumProductCost | type: string | description: Minimum Product Cost to the Shipping Location  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
        - name: minimumPrice | type: string | description: Minimum price, in USD.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":2}
        - name: inventory | type: Inventory | description: Current inventory information including stock level tier, calculated as the sum of all variant quantities.  Providers update inventory by calling [Update Product](https://dev.wix.com/docs/api-reference/business-solutions/suppliers-hub/products/update-product.md) with the new `quantity`. The `tier` is computed automatically and changes to the tier trigger a Product Updated webhook with `inventory.tier` in the modified fields.  
           - name: tier | type: InventoryTier | description: Abstracted inventory level, calculated from `quantity`.  When `quantity` is null, the tier is `UNKNOWN_INVENTORY_TIER`, indicating inventory hasn't been reported yet.  | read-only: true 
                 - enum:
                 -     EMPTY: No inventory available (0 items).
                 -     LOW: Low inventory level (11 to 25 items).
                 -     MEDIUM: Medium inventory level (26 to 50 items).
                 -     HIGH: High inventory level (51 to 100 items).
                 -     VERY_LOW: Very low inventory level (1 to 10 items).
                 -     VERY_HIGH: Very high inventory level (101+ items).
           - name: quantity | type: integer | description: Exact inventory quantity across all variants.  When null, inventory hasn't been reported yet. A value of `0` means out of stock.  | validation: minimum 0, format int32
        - name: productOrigin | type: string | description: Country where the product is manufactured or originates from, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.  | validation: format COUNTRY
        - name: directCategories | type: array<ProductCategory> | description: List of categories that directly contain this product.  Each category's namespace must match at least one of the product's types. For example, if a product has type `DROPSHIPPING`, its categories must use `DROPSHIPPING_NAMESPACE`. Products with both `DROPSHIPPING` and `WHOLESALE` types can have categories from both namespaces.  | validation: maxItems 50
           - name: id | type: string | description: Category GUID.  | validation: format GUID
           - name: index | type: integer | description: Product's position within this category.  | read-only: true | validation: minimum 0, maximum 200, format int32
           - name: namespace | type: CategoryNamespace | description: The namespace of the category tree this assignment belongs to.  
                 - enum:
                 -     DROPSHIPPING_NAMESPACE: Namespace for the dropshipping category tree.
                 -     WHOLESALE_NAMESPACE: Namespace for the wholesale category tree.
                 -     PRINT_ON_DEMAND_NAMESPACE: Namespace for the print on demand category tree.
        - name: allCategories | type: array<ProductCategory> | description: List of categories that directly contain this product, as well as their parent categories.  | read-only: true | validation: maxItems 2000
        - name: wholesaleOptions | type: WholesaleOptions | description: Wholesale-specific configuration including tiered pricing and minimum order quantities.  Required when `types` includes `WHOLESALE`.  
           - name: priceTiers | type: array<PriceTier> | description: Tiered pricing based on order quantity ranges.  Price tiers must be continuous with no gaps in quantity ranges. For example, if tier 1 covers quantities 1-100, tier 2 must start at 101. The system validates tier continuity when creating or updating products.  | validation: maxItems 5
              - name: priceFrom | type: string | description: Minimum price for this quantity tier in USD.  If `priceTo` isn't specified, this price applies to all quantities in the tier.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
              - name: priceTo | type: string | description: Maximum price for this quantity tier in USD.  Optional for fixed-price tiers.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
              - name: countFrom | type: integer | description: Minimum quantity for this price tier, inclusive.  | validation: minimum 1, format int32
              - name: countTo | type: integer | description: Maximum quantity for this price tier, inclusive.  If not specified, this tier applies to all quantities greater or equal to `countFrom`.  | validation: minimum 1, format int32
           - name: minimumOrderQuantity | type: integer | description: Minimum quantity required for wholesale orders.  | validation: minimum 1, format int32
        - name: supplierInfo | type: SupplierInfo | description: Information about the supplier including name, rating, and trust status.  
           - name: id | type: string | description: Supplier GUID.  When provided, references a supplier in the Marketplace Supplier service. The system automatically retrieves and populates the supplier's name, rating, and verification status.  | validation: format GUID
           - name: name | type: string | description: Supplier name.  Automatically populated from the Supplier service when `id` is provided.  | read-only: true | validation: minLength 1, maxLength 200
           - name: rating | type: string | description: Supplier rating from 1.00 to 5.00.  Automatically populated from the Supplier service when `id` is provided.  | read-only: true | validation: decimalValue {"gte":"1","lte":"5","maxScale":2}
           - name: verified | type: boolean | description: Whether the supplier has been verified by the Marketplace.  Verified suppliers have completed the Marketplace verification process. Automatically populated from the Supplier service when `id` is provided.  Default: `false`  | read-only: true 
        - name: printOnDemandOptions | type: PrintOnDemandOptions | description: Print-on-demand-specific configuration including supported print technologies and mockup assets.  Required when `types` include `PRINT_ON_DEMAND`.  
           - name: printTechnologies | type: array<PrintTechnology> | description: Set of possible print technologies for the Product  | validation: minItems 1, maxItems 3
                 - enum:
                 -     DIRECT_TO_FILM: Transfers printed on film and heat-pressed onto fabric.
                 -     DIRECT_TO_GARMENT: Ink directly onto garment.
                 -     CUT_SEW_SUBLIMATION: Panels are printed first, then sewn. All‑over coverage with precise placements.
                 -     DIGITAL_PRINTING: Non‑DTG digital methods (e.g., roll‑to‑roll).
                 -     EMBROIDERY: Stitched threads, premium look.
                 -     SUBLIMATION: Dye infused into polyester/poly‑coated substrates.
                 -     UV_PRINTING: Cures ink with UV light on rigid or treated surfaces.
                 -     KNITWEAR: Pattern/design is knitted, not printed.
                 -     DIRECT_TO_FABRIC: Designs are printed directly onto rolls of fabric, which are then cut and sewn into the final product.
           - name: mockupImage | type: Image | description: Mockup image of the product with 'Your Image Here' text.  | read-only: true 
        - name: sizeGuides | type: array<SizeGuide> | description: Information about the product sizing  | validation: minItems 0, maxItems 5
           - name: measurementUnit | type: MeasurementUnit | description: Sizes units (inches or cm)  
                 - enum: CM, INCHES
           - name: description | type: string | description: Text description of the size guide  | validation: maxLength 8000
           - name: imageUrl | type: string | description: Image for the size guide  | validation: format WEB_URL
           - name: imageDescription | type: string | description: Text description of the image content  | validation: maxLength 8000
           - name: specifications | type: array<Specification> | description: Sizes specifications  | validation: maxItems 10
              - name: category | type: string | description: What is measured, e.g. chest, waist, sleeve  | validation: maxLength 50
              - name: measurements | type: array<Measurement> | description: Measurements for different sizes  | validation: minItems 1, maxItems 50
                 - ONE-OF: 
                    - name: singleValue | type: string | description: The value of the size in case of single value  | validation: minLength 1, maxLength 50
                    - name: range | type: MeasurementValueRange | description: The value of the size in case of range (min/max)  
                       - name: minimum | type: string | description: Minimum value  | validation: minLength 1, maxLength 50
                       - name: maximum | type: string | description: Maximum value  | validation: minLength 1, maxLength 50
                 - name: sizeLabel | type: string | description: Product size, e.g. S, M, L  | validation: maxLength 50
        - name: dropshippingOptions | type: DropshippingOptions | description: Configuration specific to dropshipping products.  Required when `types` includes `DROPSHIPPING`, and not allowed otherwise.  
           - name: salesVolume | type: integer | description: Total number of units the supplier has sold for this product across all sales channels.  Provide this value when creating or updating a dropshipping product. It's write-only: the Marketplace uses it internally and never returns it in responses.  | validation: minimum 0, format int32
        - name: tags | type: Tags | description: Product tags for organization and filtering.  
           - name: privateTags | type: TagList | description: Tags that require an additional permission in order to access them, normally not given to site members or visitors.  
              - name: tagIds | type: array<string> | description: List of tag GUIDs.  | validation: maxItems 100, maxLength 5
           - name: publicTags | type: TagList | description: Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.  
  - name: bulkActionMetadata | type: BulkActionMetadata | description: Metadata about the bulk operation including success and failure counts.  
     - name: totalSuccesses | type: integer | description: Number of items that were successfully processed.  
     - name: totalFailures | type: integer | description: Number of items that couldn't be processed.  
     - name: undetailedFailures | type: integer | description: Number of failures without details because detailed failure threshold was exceeded.  


```

### Examples

### Bulk create multiple products
Creates multiple products in a single request for efficient catalog management

```curl
curl -X POST \
'https://www.wixapis.com/suppliers-hub/v1/bulk/products/create' \
-H 'Authorization: <AUTH>' \
-H 'Content-Type: application/json' \
-d '{
  "products": [
    {
      "name": "T-shirt",
      "description": "Experience ultimate comfort with our classic 100% cotton t-shirt. Soft, breathable, and built to last.",
      "media": {
        "items": [
          {
            "url": "https://static.wixstatic.com/media/fbbb7b23c009475bb86dd6c40d98a93b.jpg"
          }
        ]
      },
      "types": [
        "DROPSHIPPING"
      ],
      "options": [
        {
          "name": "size",
          "values": [
            {
              "text": {
                "name": "XS",
                "sortIndex": 0
              }
            },
            {
              "text": {
                "name": "S",
                "sortIndex": 1
              }
            },
            {
              "text": {
                "name": "L",
                "sortIndex": 2
              }
            }
          ]
        },
        {
          "name": "color",
          "values": [
            {
              "color": {
                "name": "Salmon",
                "hex": "#FA8072",
                "sortIndex": 0
              }
            },
            {
              "color": {
                "name": "Gold",
                "hex": "#FFD700",
                "sortIndex": 1
              }
            }
          ]
        }
      ],
      "brand": "Solara",
      "visible": true,
      "minimumPrice": "25",
      "productOrigin": "DK",
      "providerInfo": {
        "productId": "18240c19-c249-4450-ab50-54f1e6627f72"
      },
      "dropshippingOptions": {
        "salesVolume": 850
      },
      "supplierInfo": {
        "id": "31c0cdc1-4a3b-4e2b-98a9-e1728cb09f01"
      }
    },
    {
      "name": "Other T-shirt",
      "description": "Experience ultimate comfort with our classic 100% cotton t-shirt. Soft, breathable, and built to last.",
      "media": {
        "items": [
          {
            "url": "https://static.wixstatic.com/media/fbbb7b23c009475bb86dd6c40d98a93b.jpg"
          }
        ]
      },
      "types": [
        "WHOLESALE"
      ],
      "options": [
        {
          "name": "size",
          "values": [
            {
              "text": {
                "name": "M",
                "sortIndex": 0
              }
            },
            {
              "text": {
                "name": "L",
                "sortIndex": 1
              }
            },
            {
              "text": {
                "name": "XL",
                "sortIndex": 2
              }
            }
          ]
        },
        {
          "name": "color",
          "values": [
            {
              "color": {
                "name": "Lime",
                "hex": "#00FF00",
                "sortIndex": 0
              }
            },
            {
              "color": {
                "name": "Beige",
                "hex": "#F5F5DC",
                "sortIndex": 1
              }
            }
          ]
        }
      ],
      "brand": "Kairos",
      "visible": false,
      "minimumPrice": "20",
      "productOrigin": "NO",
      "providerInfo": {
        "productId": "e46c2d28-c424-4c90-9cde-6fc070adad16"
      },
      "wholesaleOptions": {
        "priceTiers": [
          {
            "priceFrom": "20",
            "countFrom": 10
          }
        ],
        "minimumOrderQuantity": 10
      },
      "supplierInfo": {
        "id": "89e85933-13a8-4e2a-b922-81df12f42f8e"
      }
    }
  ]
}'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.suppliersHub.products.bulkCreateProducts(products, options)
 Description: Creates multiple products in a single request.  Supports partial success - some products may be created successfully while others fail. Each result includes an `itemMetadata` object indicating success or failure with error details.  When handling failures, distinguish between validation errors which shouldn't be retried, and transient errors which can be retried. Only retry failed items, not the entire batch.
 # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present.
 Required parameters:  products, products.providerInfo, products.providerInfo.productId, products.name, products.media, products.types, products.shippingDestinations.minimumShippingCost, products.minimumPrice, products.options.name, products.optionss, products.wholesaleOptions.priceTiers.priceFrom, products.wholesaleOptions.priceTiers.countFrom, products.directCategories._id, products.directCategories.namespace
 Method parameters: 
   param name: products | type: array<Product> | description: Products to create. Each must include all required fields for the specified product types. | required: true | validation: minItems 1, maxItems 100
              - name: providerInfo | type: ProviderInfo | description: Information about the business partner providing this product. | required: true 
                 - name: productId | type: string | description: Unique product identifier on the provider's platform.  This field serves as the external system's primary key for synchronization and prevents duplicate products from being created. Once set, you can't change this field. | required: true | validation: minLength 1, maxLength 36, immutable
                 - name: productCreatedDate | type: Date | description: Date and time the product was created on the provider's platform.  This field helps maintain the connection to the original product source. Once set, you can't change this field.  | validation: immutable
                 - name: url | type: string | description: Product URL on the provider's platform.  | validation: format WEB_URL
              - name: name | type: string | description: Product name. | required: true | validation: minLength 1, maxLength 100
              - name: description | type: string | description: Product description.  | validation: maxLength 64000
              - name: visible | type: boolean | description: Whether the product is visible in the Marketplace.  Default: `true`  
              - name: media | type: Media | description: Product media. | required: true 
                 - name: items | type: array<string> | description: Product images. The first image becomes the main image.  | validation: maxItems 15
              - name: types | type: array<ProductType> | description: Business model types this product supports. | required: true | validation: minItems 1, maxItems 2
                     - enum:
                     -     DROPSHIPPING: Product is fulfilled by the supplier without inventory management by the store owner.
                     -     WHOLESALE: Product is sold in bulk quantities with tiered pricing.
                     -     PRINT_ON_DEMAND: Product is manufactured after purchase; no pre‑held inventory.
              - name: options | type: array<ProductOption> | description: Product options that customers can choose from.  Options display available product variations like size and color to help buyers make purchase decisions. Currently, options are informational only and don't create separate inventory items or variants.  There are 2 predefined option types you can use: - `color`: Color choices for the product. Values should be standard color names. For example, `"Black"`, `"White"`, `"Yellow"`. - `size`: Size choices for the product. Values should be standard size labels. For example, `"S"`, `"M"`, `"L"`, `"XL"`.  | validation: maxItems 6
                 - name: name | type: string | description: Option name.  There are 2 predefined options you can use: - `color`: Represents color choices for the product. Values should be standard color names. For example, `"Black"`, `"White"`, `"Yellow"`. - `size`: Represents size choices for the product. Values should be standard size labels. For example, `"S"`, `"M"`, `"L"`, `"XL"`.  | validation: minLength 1, maxLength 50
                 - name: description | type: string | description: Optional description explaining the option.  | validation: maxLength 200
                 - name: values | type: array<OptionValue> | description: Available values for this option.  All values within a single option must be the same type. For example, an option can't mix `color` values with `text` values.  | validation: maxItems 100
                    - ONE-OF: 
                       - name: color | type: ColorOption | description: Color option with name, hex code, and sort order.  
                          - name: name | type: string | description: Color name.  For example, `"Black"` or `"Navy Blue"`. Use 'Multicolor' for mixed colors. When using 'Multicolor', do not provide a hex value.  | validation: minLength 1, maxLength 50
                          - name: hex | type: string | description: Hex color code.  For example, `"#000000"` for black. Omit for 'Multicolor'.  | validation: format COLOR_HEX
                          - name: sortIndex | type: integer | description: Zero-based index that hints at the display order of this color relative to the option's other values.  For best results, use contiguous values starting at `0` with no gaps. When omitted, the client determines the display order.  | validation: minimum 0, maximum 100, format int32
                       - name: text | type: TextOption | description: Text-based option value with display name and sort order. Use for all option types other than `"color"`. Mismatching option names and value types may cause the product to display incorrectly in the Marketplace.  
                          - name: name | type: string | description: Display name for this option value. For example, `"L"` for size or `"Cotton"` for material.  | validation: minLength 1, maxLength 50
                          - name: sortIndex | type: integer | description: Zero-based index that hints at the display order of this value relative to the option's other values.  For best results, use contiguous values starting at `0` with no gaps. When omitted, the client determines the display order.  | validation: minimum 0, maximum 100, format int32
              - name: ribbonName | type: string | description: Promotional ribbon text displayed on the product.  For example, `"New Arrival"` or `"Bestseller"`.  | validation: minLength 1, maxLength 30
              - name: brand | type: string | description: Brand name.  | validation: minLength 1, maxLength 50
              - name: orderProcessingTime | type: TimeInterval | description: Time required to process orders before shipping.  
                 - name: min | type: TimeValue | description: Minimum time in the range.  
                    - name: value | type: integer | description: Numeric time value. For example, `2` for "2 days".  | validation: minimum 1
                    - name: unit | type: TimeUnit | description: Time unit for the value.  
                             - enum:
                             -     DAY: Days.
                             -     WEEK: Weeks.
                             -     MONTH: Months.
                 - name: max | type: TimeValue | description: Maximum time in the range.  
              - name: shippingDestinations | type: array<ShippingDestination> | description: Countries and regions where this product can be shipped, with location-specific pricing and timing.  | validation: minItems 0, maxItems 100
                 - ONE-OF: 
                    - name: specificCountrySelections | type: Countries | description: Specific countries.  Used when `countrySelections` is `SPECIFIC_COUNTRY`.  
                       - name: countries | type: array<string> | description: Country codes, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1) format.  | validation: minItems 1, maxItems 100, format COUNTRY
                 - name: countrySelections | type: CountrySelections | description: Indicates if shipping applies to selected countries or to all other regions.  
                         - enum:
                         -     REST_OF_THE_WORLD: All countries not specifically listed elsewhere.
                         -     SPECIFIC_COUNTRY: Specific countries listed in the `countries` field.
                 - name: minimumShippingCost | type: string | description: Minimum shipping cost to this destination in USD.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
                 - name: shippingTime | type: TimeInterval | description: Expected shipping time to this destination.  
                 - name: minimumProductCost | type: string | description: Minimum Product Cost to the Shipping Location  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
              - name: minimumPrice | type: string | description: Minimum price, in USD. | required: true | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":2}
              - name: inventory | type: Inventory | description: Current inventory information including stock level tier, calculated as the sum of all variant quantities.  Providers update inventory by calling [Update Product](https://dev.wix.com/docs/api-reference/business-solutions/suppliers-hub/products/update-product.md) with the new `quantity`. The `tier` is computed automatically and changes to the tier trigger a Product Updated webhook with `inventory.tier` in the modified fields.  
                 - name: quantity | type: integer | description: Exact inventory quantity across all variants.  When null, inventory hasn't been reported yet. A value of `0` means out of stock.  | validation: minimum 0, format int32
              - name: productOrigin | type: string | description: Country where the product is manufactured or originates from, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.  | validation: format COUNTRY
              - name: directCategories | type: array<ProductCategory> | description: List of categories that directly contain this product.  Each category's namespace must match at least one of the product's types. For example, if a product has type `DROPSHIPPING`, its categories must use `DROPSHIPPING_NAMESPACE`. Products with both `DROPSHIPPING` and `WHOLESALE` types can have categories from both namespaces.  | validation: maxItems 50
                 - name: _id | type: string | description: Category GUID.  | validation: format GUID
                 - name: namespace | type: CategoryNamespace | description: The namespace of the category tree this assignment belongs to.  
                         - enum:
                         -     DROPSHIPPING_NAMESPACE: Namespace for the dropshipping category tree.
                         -     WHOLESALE_NAMESPACE: Namespace for the wholesale category tree.
                         -     PRINT_ON_DEMAND_NAMESPACE: Namespace for the print on demand category tree.
              - name: wholesaleOptions | type: WholesaleOptions | description: Wholesale-specific configuration including tiered pricing and minimum order quantities.  Required when `types` includes `WHOLESALE`.  
                 - name: priceTiers | type: array<PriceTier> | description: Tiered pricing based on order quantity ranges.  Price tiers must be continuous with no gaps in quantity ranges. For example, if tier 1 covers quantities 1-100, tier 2 must start at 101. The system validates tier continuity when creating or updating products.  | validation: maxItems 5
                    - name: priceFrom | type: string | description: Minimum price for this quantity tier in USD.  If `priceTo` isn't specified, this price applies to all quantities in the tier.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
                    - name: priceTo | type: string | description: Maximum price for this quantity tier in USD.  Optional for fixed-price tiers.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
                    - name: countFrom | type: integer | description: Minimum quantity for this price tier, inclusive.  | validation: minimum 1, format int32
                    - name: countTo | type: integer | description: Maximum quantity for this price tier, inclusive.  If not specified, this tier applies to all quantities greater or equal to `countFrom`.  | validation: minimum 1, format int32
                 - name: minimumOrderQuantity | type: integer | description: Minimum quantity required for wholesale orders.  | validation: minimum 1, format int32
              - name: supplierInfo | type: SupplierInfo | description: Information about the supplier including name, rating, and trust status.  
                 - name: _id | type: string | description: Supplier GUID.  When provided, references a supplier in the Marketplace Supplier service. The system automatically retrieves and populates the supplier's name, rating, and verification status.  | validation: format GUID
              - name: printOnDemandOptions | type: PrintOnDemandOptions | description: Print-on-demand-specific configuration including supported print technologies and mockup assets.  Required when `types` include `PRINT_ON_DEMAND`.  
                 - name: printTechnologies | type: array<PrintTechnology> | description: Set of possible print technologies for the Product  | validation: minItems 1, maxItems 3
                         - enum:
                         -     DIRECT_TO_FILM: Transfers printed on film and heat-pressed onto fabric.
                         -     DIRECT_TO_GARMENT: Ink directly onto garment.
                         -     CUT_SEW_SUBLIMATION: Panels are printed first, then sewn. All‑over coverage with precise placements.
                         -     DIGITAL_PRINTING: Non‑DTG digital methods (e.g., roll‑to‑roll).
                         -     EMBROIDERY: Stitched threads, premium look.
                         -     SUBLIMATION: Dye infused into polyester/poly‑coated substrates.
                         -     UV_PRINTING: Cures ink with UV light on rigid or treated surfaces.
                         -     KNITWEAR: Pattern/design is knitted, not printed.
                         -     DIRECT_TO_FABRIC: Designs are printed directly onto rolls of fabric, which are then cut and sewn into the final product.
              - name: sizeGuides | type: array<SizeGuide> | description: Information about the product sizing  | validation: minItems 0, maxItems 5
                 - name: measurementUnit | type: MeasurementUnit | description: Sizes units (inches or cm)  
                         - enum: CM, INCHES
                 - name: description | type: string | description: Text description of the size guide  | validation: maxLength 8000
                 - name: imageUrl | type: string | description: Image for the size guide  | validation: format WEB_URL
                 - name: imageDescription | type: string | description: Text description of the image content  | validation: maxLength 8000
                 - name: specifications | type: array<Specification> | description: Sizes specifications  | validation: maxItems 10
                    - name: category | type: string | description: What is measured, e.g. chest, waist, sleeve  | validation: maxLength 50
                    - name: measurements | type: array<Measurement> | description: Measurements for different sizes  | validation: minItems 1, maxItems 50
                       - ONE-OF: 
                          - name: singleValue | type: string | description: The value of the size in case of single value  | validation: minLength 1, maxLength 50
                          - name: range | type: MeasurementValueRange | description: The value of the size in case of range (min/max)  
                             - name: minimum | type: string | description: Minimum value  | validation: minLength 1, maxLength 50
                             - name: maximum | type: string | description: Maximum value  | validation: minLength 1, maxLength 50
                       - name: sizeLabel | type: string | description: Product size, e.g. S, M, L  | validation: maxLength 50
              - name: dropshippingOptions | type: DropshippingOptions | description: Configuration specific to dropshipping products.  Required when `types` includes `DROPSHIPPING`, and not allowed otherwise.  
                 - name: salesVolume | type: integer | description: Total number of units the supplier has sold for this product across all sales channels.  Provide this value when creating or updating a dropshipping product. It's write-only: the Marketplace uses it internally and never returns it in responses.  | validation: minimum 0, format int32
              - name: tags | type: Tags | description: Product tags for organization and filtering.  
                 - name: privateTags | type: TagList | description: Tags that require an additional permission in order to access them, normally not given to site members or visitors.  
                    - name: tagIds | type: array<string> | description: List of tag GUIDs.  | validation: maxItems 100, maxLength 5
                 - name: publicTags | type: TagList | description: Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.  
   param name: options | type: BulkCreateProductsOptions  none  
        - name: returnEntity | type: boolean | description: Whether to return the created products in the response.  Default: `false`  
 Return type: PROMISE<BulkCreateProductsResponse>
  - name: results | type: array<BulkProductResult> | description: Results of the bulk create operation, one per input product.  | validation: minItems 1, maxItems 100
     - name: itemMetadata | type: ItemMetadata | description: Metadata regarding the specific single create operation  
        - name: _id | type: string | description: Item GUID. Should always be available, unless it's impossible. For example, when failing to create an item.  | validation: format GUID
        - name: originalIndex | type: integer | description: Index of the item within the request array. Allows for correlation between request and response items.  
        - name: success | type: boolean | description: Whether the requested action was successful for this item. When `false`, the `error` field is populated.  
        - name: error | type: ApplicationError | description: Details about the error in case of failure.  
           - name: code | type: string | description: Error code.  
           - name: description | type: string | description: Description of the error.  
           - name: data | type: object | description: Data related to the error.  
     - name: item | type: Product | description: Only exists if `returnEntity` was set to true in the request  
        - name: _id | type: string | description: Product GUID.  | read-only: true | validation: format GUID
        - name: _createdDate | type: Date | description: Date and time the product was created.  | read-only: true 
        - name: _updatedDate | type: Date | description: Date and time the product was updated.  | read-only: true 
        - name: providerInfo | type: ProviderInfo | description: Information about the business partner providing this product.  
           - name: appId | type: string | description: Provider application GUID.  | read-only: true | validation: format GUID
           - name: productId | type: string | description: Unique product identifier on the provider's platform.  This field serves as the external system's primary key for synchronization and prevents duplicate products from being created. Once set, you can't change this field.  | validation: minLength 1, maxLength 36, immutable
           - name: productCreatedDate | type: Date | description: Date and time the product was created on the provider's platform.  This field helps maintain the connection to the original product source. Once set, you can't change this field.  | validation: immutable
           - name: url | type: string | description: Product URL on the provider's platform.  | validation: format WEB_URL
        - name: name | type: string | description: Product name.  | validation: minLength 1, maxLength 100
        - name: description | type: string | description: Product description.  | validation: maxLength 64000
        - name: visible | type: boolean | description: Whether the product is visible in the Marketplace.  Default: `true`  
        - name: media | type: Media | description: Product media.  
           - name: main | type: string | description: Primary product image, automatically set from the first item in the `items` array.  | read-only: true 
           - name: items | type: array<string> | description: Product images. The first image becomes the main image.  | validation: maxItems 15
        - name: types | type: array<ProductType> | description: Business model types this product supports.  | validation: minItems 1, maxItems 2
             - enum:
             -     DROPSHIPPING: Product is fulfilled by the supplier without inventory management by the store owner.
             -     WHOLESALE: Product is sold in bulk quantities with tiered pricing.
             -     PRINT_ON_DEMAND: Product is manufactured after purchase; no pre‑held inventory.
        - name: options | type: array<ProductOption> | description: Product options that customers can choose from.  Options display available product variations like size and color to help buyers make purchase decisions. Currently, options are informational only and don't create separate inventory items or variants.  There are 2 predefined option types you can use: - `color`: Color choices for the product. Values should be standard color names. For example, `"Black"`, `"White"`, `"Yellow"`. - `size`: Size choices for the product. Values should be standard size labels. For example, `"S"`, `"M"`, `"L"`, `"XL"`.  | validation: maxItems 6
           - name: name | type: string | description: Option name.  There are 2 predefined options you can use: - `color`: Represents color choices for the product. Values should be standard color names. For example, `"Black"`, `"White"`, `"Yellow"`. - `size`: Represents size choices for the product. Values should be standard size labels. For example, `"S"`, `"M"`, `"L"`, `"XL"`.  | validation: minLength 1, maxLength 50
           - name: description | type: string | description: Optional description explaining the option.  | validation: maxLength 200
           - name: values | type: array<OptionValue> | description: Available values for this option.  All values within a single option must be the same type. For example, an option can't mix `color` values with `text` values.  | validation: maxItems 100
              - ONE-OF: 
                 - name: color | type: ColorOption | description: Color option with name, hex code, and sort order.  
                    - name: name | type: string | description: Color name.  For example, `"Black"` or `"Navy Blue"`. Use 'Multicolor' for mixed colors. When using 'Multicolor', do not provide a hex value.  | validation: minLength 1, maxLength 50
                    - name: hex | type: string | description: Hex color code.  For example, `"#000000"` for black. Omit for 'Multicolor'.  | validation: format COLOR_HEX
                    - name: sortIndex | type: integer | description: Zero-based index that hints at the display order of this color relative to the option's other values.  For best results, use contiguous values starting at `0` with no gaps. When omitted, the client determines the display order.  | validation: minimum 0, maximum 100, format int32
                 - name: text | type: TextOption | description: Text-based option value with display name and sort order. Use for all option types other than `"color"`. Mismatching option names and value types may cause the product to display incorrectly in the Marketplace.  
                    - name: name | type: string | description: Display name for this option value. For example, `"L"` for size or `"Cotton"` for material.  | validation: minLength 1, maxLength 50
                    - name: sortIndex | type: integer | description: Zero-based index that hints at the display order of this value relative to the option's other values.  For best results, use contiguous values starting at `0` with no gaps. When omitted, the client determines the display order.  | validation: minimum 0, maximum 100, format int32
        - name: ribbonName | type: string | description: Promotional ribbon text displayed on the product.  For example, `"New Arrival"` or `"Bestseller"`.  | validation: minLength 1, maxLength 30
        - name: brand | type: string | description: Brand name.  | validation: minLength 1, maxLength 50
        - name: orderProcessingTime | type: TimeInterval | description: Time required to process orders before shipping.  
           - name: min | type: TimeValue | description: Minimum time in the range.  
              - name: value | type: integer | description: Numeric time value. For example, `2` for "2 days".  | validation: minimum 1
              - name: unit | type: TimeUnit | description: Time unit for the value.  
                     - enum:
                     -     DAY: Days.
                     -     WEEK: Weeks.
                     -     MONTH: Months.
           - name: max | type: TimeValue | description: Maximum time in the range.  
        - name: shippingDestinations | type: array<ShippingDestination> | description: Countries and regions where this product can be shipped, with location-specific pricing and timing.  | validation: minItems 0, maxItems 100
           - ONE-OF: 
              - name: specificCountrySelections | type: Countries | description: Specific countries.  Used when `countrySelections` is `SPECIFIC_COUNTRY`.  
                 - name: countries | type: array<string> | description: Country codes, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1) format.  | validation: minItems 1, maxItems 100, format COUNTRY
           - name: countrySelections | type: CountrySelections | description: Indicates if shipping applies to selected countries or to all other regions.  
                 - enum:
                 -     REST_OF_THE_WORLD: All countries not specifically listed elsewhere.
                 -     SPECIFIC_COUNTRY: Specific countries listed in the `countries` field.
           - name: minimumShippingCost | type: string | description: Minimum shipping cost to this destination in USD.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
           - name: shippingTime | type: TimeInterval | description: Expected shipping time to this destination.  
           - name: minimumProductCost | type: string | description: Minimum Product Cost to the Shipping Location  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
        - name: minimumPrice | type: string | description: Minimum price, in USD.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":2}
        - name: inventory | type: Inventory | description: Current inventory information including stock level tier, calculated as the sum of all variant quantities.  Providers update inventory by calling [Update Product](https://dev.wix.com/docs/api-reference/business-solutions/suppliers-hub/products/update-product.md) with the new `quantity`. The `tier` is computed automatically and changes to the tier trigger a Product Updated webhook with `inventory.tier` in the modified fields.  
           - name: tier | type: InventoryTier | description: Abstracted inventory level, calculated from `quantity`.  When `quantity` is null, the tier is `UNKNOWN_INVENTORY_TIER`, indicating inventory hasn't been reported yet.  | read-only: true 
                 - enum:
                 -     EMPTY: No inventory available (0 items).
                 -     LOW: Low inventory level (11 to 25 items).
                 -     MEDIUM: Medium inventory level (26 to 50 items).
                 -     HIGH: High inventory level (51 to 100 items).
                 -     VERY_LOW: Very low inventory level (1 to 10 items).
                 -     VERY_HIGH: Very high inventory level (101+ items).
           - name: quantity | type: integer | description: Exact inventory quantity across all variants.  When null, inventory hasn't been reported yet. A value of `0` means out of stock.  | validation: minimum 0, format int32
        - name: productOrigin | type: string | description: Country where the product is manufactured or originates from, in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.  | validation: format COUNTRY
        - name: directCategories | type: array<ProductCategory> | description: List of categories that directly contain this product.  Each category's namespace must match at least one of the product's types. For example, if a product has type `DROPSHIPPING`, its categories must use `DROPSHIPPING_NAMESPACE`. Products with both `DROPSHIPPING` and `WHOLESALE` types can have categories from both namespaces.  | validation: maxItems 50
           - name: _id | type: string | description: Category GUID.  | validation: format GUID
           - name: index | type: integer | description: Product's position within this category.  | read-only: true | validation: minimum 0, maximum 200, format int32
           - name: namespace | type: CategoryNamespace | description: The namespace of the category tree this assignment belongs to.  
                 - enum:
                 -     DROPSHIPPING_NAMESPACE: Namespace for the dropshipping category tree.
                 -     WHOLESALE_NAMESPACE: Namespace for the wholesale category tree.
                 -     PRINT_ON_DEMAND_NAMESPACE: Namespace for the print on demand category tree.
        - name: allCategories | type: array<ProductCategory> | description: List of categories that directly contain this product, as well as their parent categories.  | read-only: true | validation: maxItems 2000
        - name: wholesaleOptions | type: WholesaleOptions | description: Wholesale-specific configuration including tiered pricing and minimum order quantities.  Required when `types` includes `WHOLESALE`.  
           - name: priceTiers | type: array<PriceTier> | description: Tiered pricing based on order quantity ranges.  Price tiers must be continuous with no gaps in quantity ranges. For example, if tier 1 covers quantities 1-100, tier 2 must start at 101. The system validates tier continuity when creating or updating products.  | validation: maxItems 5
              - name: priceFrom | type: string | description: Minimum price for this quantity tier in USD.  If `priceTo` isn't specified, this price applies to all quantities in the tier.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
              - name: priceTo | type: string | description: Maximum price for this quantity tier in USD.  Optional for fixed-price tiers.  | validation: decimalValue {"gte":"0","lte":"999999999","maxScale":3}
              - name: countFrom | type: integer | description: Minimum quantity for this price tier, inclusive.  | validation: minimum 1, format int32
              - name: countTo | type: integer | description: Maximum quantity for this price tier, inclusive.  If not specified, this tier applies to all quantities greater or equal to `countFrom`.  | validation: minimum 1, format int32
           - name: minimumOrderQuantity | type: integer | description: Minimum quantity required for wholesale orders.  | validation: minimum 1, format int32
        - name: supplierInfo | type: SupplierInfo | description: Information about the supplier including name, rating, and trust status.  
           - name: _id | type: string | description: Supplier GUID.  When provided, references a supplier in the Marketplace Supplier service. The system automatically retrieves and populates the supplier's name, rating, and verification status.  | validation: format GUID
           - name: name | type: string | description: Supplier name.  Automatically populated from the Supplier service when `id` is provided.  | read-only: true | validation: minLength 1, maxLength 200
           - name: rating | type: string | description: Supplier rating from 1.00 to 5.00.  Automatically populated from the Supplier service when `id` is provided.  | read-only: true | validation: decimalValue {"gte":"1","lte":"5","maxScale":2}
           - name: verified | type: boolean | description: Whether the supplier has been verified by the Marketplace.  Verified suppliers have completed the Marketplace verification process. Automatically populated from the Supplier service when `id` is provided.  Default: `false`  | read-only: true 
        - name: printOnDemandOptions | type: PrintOnDemandOptions | description: Print-on-demand-specific configuration including supported print technologies and mockup assets.  Required when `types` include `PRINT_ON_DEMAND`.  
           - name: printTechnologies | type: array<PrintTechnology> | description: Set of possible print technologies for the Product  | validation: minItems 1, maxItems 3
                 - enum:
                 -     DIRECT_TO_FILM: Transfers printed on film and heat-pressed onto fabric.
                 -     DIRECT_TO_GARMENT: Ink directly onto garment.
                 -     CUT_SEW_SUBLIMATION: Panels are printed first, then sewn. All‑over coverage with precise placements.
                 -     DIGITAL_PRINTING: Non‑DTG digital methods (e.g., roll‑to‑roll).
                 -     EMBROIDERY: Stitched threads, premium look.
                 -     SUBLIMATION: Dye infused into polyester/poly‑coated substrates.
                 -     UV_PRINTING: Cures ink with UV light on rigid or treated surfaces.
                 -     KNITWEAR: Pattern/design is knitted, not printed.
                 -     DIRECT_TO_FABRIC: Designs are printed directly onto rolls of fabric, which are then cut and sewn into the final product.
           - name: mockupImage | type: string | description: Mockup image of the product with 'Your Image Here' text.  | read-only: true 
        - name: sizeGuides | type: array<SizeGuide> | description: Information about the product sizing  | validation: minItems 0, maxItems 5
           - name: measurementUnit | type: MeasurementUnit | description: Sizes units (inches or cm)  
                 - enum: CM, INCHES
           - name: description | type: string | description: Text description of the size guide  | validation: maxLength 8000
           - name: imageUrl | type: string | description: Image for the size guide  | validation: format WEB_URL
           - name: imageDescription | type: string | description: Text description of the image content  | validation: maxLength 8000
           - name: specifications | type: array<Specification> | description: Sizes specifications  | validation: maxItems 10
              - name: category | type: string | description: What is measured, e.g. chest, waist, sleeve  | validation: maxLength 50
              - name: measurements | type: array<Measurement> | description: Measurements for different sizes  | validation: minItems 1, maxItems 50
                 - ONE-OF: 
                    - name: singleValue | type: string | description: The value of the size in case of single value  | validation: minLength 1, maxLength 50
                    - name: range | type: MeasurementValueRange | description: The value of the size in case of range (min/max)  
                       - name: minimum | type: string | description: Minimum value  | validation: minLength 1, maxLength 50
                       - name: maximum | type: string | description: Maximum value  | validation: minLength 1, maxLength 50
                 - name: sizeLabel | type: string | description: Product size, e.g. S, M, L  | validation: maxLength 50
        - name: dropshippingOptions | type: DropshippingOptions | description: Configuration specific to dropshipping products.  Required when `types` includes `DROPSHIPPING`, and not allowed otherwise.  
           - name: salesVolume | type: integer | description: Total number of units the supplier has sold for this product across all sales channels.  Provide this value when creating or updating a dropshipping product. It's write-only: the Marketplace uses it internally and never returns it in responses.  | validation: minimum 0, format int32
        - name: tags | type: Tags | description: Product tags for organization and filtering.  
           - name: privateTags | type: TagList | description: Tags that require an additional permission in order to access them, normally not given to site members or visitors.  
              - name: tagIds | type: array<string> | description: List of tag GUIDs.  | validation: maxItems 100, maxLength 5
           - name: publicTags | type: TagList | description: Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.  
  - name: bulkActionMetadata | type: BulkActionMetadata | description: Metadata about the bulk operation including success and failure counts.  
     - name: totalSuccesses | type: integer | description: Number of items that were successfully processed.  
     - name: totalFailures | type: integer | description: Number of items that couldn't be processed.  
     - name: undetailedFailures | type: integer | description: Number of failures without details because detailed failure threshold was exceeded.  


```

### Examples

### bulkCreateProducts
```javascript
import { products } from '@wix/suppliers-hub';

async function bulkCreateProducts(products,options) {
  const response = await products.bulkCreateProducts(products,options);
};
```

### bulkCreateProducts (with elevated permissions)
```javascript
import { products } from '@wix/suppliers-hub';
import { auth } from '@wix/essentials';

async function myBulkCreateProductsMethod(products,options) {
  const elevatedBulkCreateProducts = auth.elevate(products.bulkCreateProducts);
  const response = await elevatedBulkCreateProducts(products,options);
}
```

### bulkCreateProducts (self-managed)
Self-managed SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { products } from '@wix/suppliers-hub';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { products },
  // Include the auth strategy and host as relevant
});


async function bulkCreateProducts(products,options) {
  const response = await myWixClient.products.bulkCreateProducts(products,options);
};
```

---