Inventory API
Products

Power Editor

This API endpoint (POST) updates multiple products with just a single request. If the request succeeds it will return the ids of the products that were updated. Permissions: products.edit Webhook events: product-updates, product-stock-updated and product-prices-updated

Body Parameters

type string * The type of products being editted. The possible values are physical-products, digital-products, billing-plans and services.

Body Parameters

products array of objects * An array of objects each representing a product that you wish to update. The maximum products that can be updated in a single request is 300.

The attributes of each object in the array are the same as the Create endpoint of the type of product you are editing. For example, if you are updating a service product, the body parameters are the same as the Create Service API endpoint. The only caveat is to add the product id for each object.

JS


Note: This endpoint is experimental.