Get Product
magento.get_product
ActionBusiness appsconnection required
Calls the Magento API with the connection's credentials.
Retrieve one catalog product by its SKU.
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
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
sku The product's SKU. | string | Yes | — | — | SKU-1 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"sku": "SKU-1"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
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 Get 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.