Magento - Update Product
Description
Section titled “Description”This module allows modifying existing products: price, stock, status, description, categories, and more.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
credentials_id | string | Yes | Credentials ID |
sku | string | Yes | Product SKU |
name | string | No | New name |
price | number | No | New price |
special_price | number | No | New special price |
status | string | No | 1=Enabled, 2=Disabled |
visibility | string | No | New visibility |
weight | number | No | New weight |
qty | number | No | New quantity |
is_in_stock | boolean | No | Availability |
description | string | No | New description |
short_description | string | No | New short description |
category_ids | string | No | New category IDs |
url_key | string | No | New SEO-friendly URL |
meta_title | string | No | New meta title |
meta_description | string | No | New meta description |
Credentials
Section titled “Credentials”| Field | Description |
|---|---|
store_url | Magento store base URL (e.g.: https://mystore.com) |
access_token | Integration access token with catalog write permissions |
Output
Section titled “Output”{ "success": true, "product": {}, "sku": "PROD-001", "fields_updated": ["price", "qty", "status"], "message": "Product PROD-001 updated successfully"}Usage Example
Section titled “Usage Example”Update price
Section titled “Update price”{ "credentials_id": "magento_tienda", "sku": "PROD-001", "price": 89.99}Update stock
Section titled “Update stock”{ "credentials_id": "magento_tienda", "sku": "PROD-001", "qty": 150, "is_in_stock": true}Disable product
Section titled “Disable product”{ "credentials_id": "magento_tienda", "sku": "PROD-001", "status": "2"}- Only the specified fields are updated
- The SKU cannot be changed
- Categories replace the existing ones
- The special price also requires the regular price
Related Nodes
Section titled “Related Nodes”- MagentoGetProducts - Get products to update
- MagentoCreateProduct - Create new products
- MagentoGetOrders - Query orders with products