The wix-stores-backend module contains functionality for working with your site's store from backend code. Learn more.
The endpoints exposed by this API
Creates a new product.
Adds media items by ID to a product.
Adds media items by ID to product options.
Adds products by ID to a product collection.
Updates an existing product by ID.
Updates a property for up to 100 products at a time.
Adjusts a numeric property for up to 100 products at a time.
Gets a product's available variants based on the specified product ID and either option choices or variant IDs.
Gets the availability of a product based on the specified option choices.
Deletes an existing product.
Removes media items by ID from a product.
Removes media items by ID from a product's options.
Removes products by ID from a collection.
Deletes all options for an existing product.
Creates a new order.
Generates a link to a PDF file containing information about one or more specified orders, up to 1000 orders.
Generates a link to a PDF file containing an order's packing slip.
Creates a new fulfillment in an order.
Updates an existing fulfillment in an order.
Deletes a fulfillment from an order.
Sends a fulfillment email to a specified custom fulfiller of a line item in a given order.
Deprecated. This function will continue to work, but a newer version is available at wix-ecom-backend.CurrentCart.getCurrentCart().
Updates the data (such as the price and the weight) of an existing product variant in the store.
Resets the data (such as the price and the weight) of all variants for a given product to their default values.
Updates an existing inventory item's variants by inventory ID.
Updates an existing inventory item's variants by product ID.
Adds a set number of items from inventory.
Subtracts a set number of items from inventory.
Events that are fired from a Wix Store.