Compo PIM API icon

Compo PIM API

Взаимодействие с Compo PIM API для управления каталогом и товарами

Товар → Обновить

AI-generated

Summary

Update a product by its ID using JSON data to modify its properties.

Inputs

  • ID (required) — The ID of the product to update.
  • Данные — JSON object containing fields to update on the product.

Output shape

a single JSON object representing the updated product

Returns the updated product data as JSON. Errors throw exceptions unless 'continueOnFail' is enabled, in which case an error object is returned.

Examples

Example 1: Update product name and price

Set 'ID' to the product's ID and 'Данные' to JSON with new name and price fields.

Discussion