Update Product

magento.update_product
ActionBusiness appsconnection required

Calls the Magento API with the connection's credentials.

Replace a catalog product with the entity you supply. Magento's save is a replacing write, so send the whole product with your changes applied.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
Magento
Secret shape
the integration access token, or {"access_token": "…"}
Config it needs
base_url, store_code
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
sku
The SKU of the product to update.
stringYes——SKU-1
product
The full product entity to save, normally the object from magento.get_product with your edits applied.
objectYes—≥ 1 characters—

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "sku": "SKU-1"
}

Output

One shape.

result

FieldTypeExample
id
The product's entity id.
number—
sku
The product's SKU, which every product route takes.
string—
name
The product's name.
string—
price
The product's price in the store's base currency.
number—
status
1 when the product is enabled, 2 when it is disabled.
number—
visibility
1 not visible, 2 catalog, 3 search, 4 catalog and search.
number—
type_id
The product type, for example 'simple' or 'configurable'.
string—
attribute_set_id
The attribute set the product belongs to.
number—
custom_attributes
Any EAV attributes the store added to products.
array—
{
  "attribute_set_id": 0,
  "custom_attributes": [],
  "id": 0,
  "name": "",
  "price": 0,
  "sku": "",
  "status": 0,
  "type_id": "",
  "visibility": 0
}

See Update Product run in a workflow.

In a technical demo we add the Magento connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.