Creates a new product with its inventory in a single call.
Pass variantsInfo.variants.inventoryItem to create inventory items for each variant in the default location. Each inventory item can track stock using either quantity (for exact stock counts) or inStock (for simple availability). If inventoryItem isn't provided, no inventory items are created.
You can also add a ribbon, brand, info sections, options, and modifiers in the same request.
Learn more about inventory management including tracking methods, preorder settings, and multi-location inventory.
Note: When you create a product with inline options or modifiers (without referencing existing customization IDs), new standalone Customization entities are automatically created. These can be reused across other products.
This method may require higher-level permissions than the caller has, based on their identity and roles and permissions. In these cases, you can ensure the method is called with the required level of authorization by using one of the following:
There are 10 errors with this status code.
There are 3 errors with this status code.
There is 1 error with this status code.
There are 3 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.