Skip to content

Magento - Update Product

This module allows modifying existing products: price, stock, status, description, categories, and more.

FieldTypeRequiredDescription
credentials_idstringYesCredentials ID
skustringYesProduct SKU
namestringNoNew name
pricenumberNoNew price
special_pricenumberNoNew special price
statusstringNo1=Enabled, 2=Disabled
visibilitystringNoNew visibility
weightnumberNoNew weight
qtynumberNoNew quantity
is_in_stockbooleanNoAvailability
descriptionstringNoNew description
short_descriptionstringNoNew short description
category_idsstringNoNew category IDs
url_keystringNoNew SEO-friendly URL
meta_titlestringNoNew meta title
meta_descriptionstringNoNew meta description
FieldDescription
store_urlMagento store base URL (e.g.: https://mystore.com)
access_tokenIntegration access token with catalog write permissions
{
"success": true,
"product": {},
"sku": "PROD-001",
"fields_updated": ["price", "qty", "status"],
"message": "Product PROD-001 updated successfully"
}
{
"credentials_id": "magento_tienda",
"sku": "PROD-001",
"price": 89.99
}
{
"credentials_id": "magento_tienda",
"sku": "PROD-001",
"qty": 150,
"is_in_stock": true
}
{
"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
  • MagentoGetProducts - Get products to update
  • MagentoCreateProduct - Create new products
  • MagentoGetOrders - Query orders with products