SerB2B icon

SerB2B

Interact with SerB2B API

Product → Update

AI-generated

Overview

This node updates an existing product in the SerB2B system via its API. It is useful for scenarios where product details need to be modified, such as changing the product name, brand, category, price, stock information, or custom fields. For example, a user can update the price or stock quantity of a product automatically based on inventory changes or pricing updates.

Use Case Examples

  1. Updating the price and stock quantity of a product after a stock count.
  2. Changing the product description and status to inactive for discontinued products.

Properties

Name Meaning
Product ID The unique identifier of the product to update.
Additional Fields Optional fields to update on the product, including product name, brand name, category name, product code, price, barcode, tax rate, package quantity, stock control status, minimum stock amount, age group, stock quantity, product status, description, and custom fields.

Output

JSON

  • id - The unique identifier of the updated product.
  • urun_adi - The updated product name.
  • stok_kodu - The updated product code or SKU.
  • marka_isim - The updated brand name.
  • kategori_isim - The updated category name.
  • fiyat - The updated product price.
  • barkod - The updated product barcode.
  • tax - The updated tax rate percentage.
  • paket - The updated package quantity.
  • stok_kontrol - The updated stock control status.
  • min_stok_miktar - The updated minimum stock amount.
  • yas_grubu - The updated age group classification.
  • stok_adet - The updated stock quantity.
  • durum - The updated product status.
  • aciklama - The updated product description.
    custom_field_ - Custom field values updated with their respective names and values.

Dependencies

  • SerB2B API
  • An API key credential for SerB2B API authentication

Troubleshooting

  • Ensure the Product ID is valid and exists in the SerB2B system to avoid 'not found' errors.
  • Verify that the API credentials are correctly configured and have permission to update products.
  • Check that custom fields are provided with both name and value to be included in the update payload.
  • If the API returns validation errors, confirm that all required fields and data formats meet the SerB2B API specifications.

Links

Discussion