Get Order
magento.get_order
ActionBusiness appsconnection required
Calls the Magento API with the connection's credentials.
Retrieve one sales order by its entity id, including its line items.
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 |
|---|---|---|---|---|---|
order_id The order's entity id, not its increment id. | string | Yes | — | — | 1 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"order_id": "1"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
entity_id The order's entity id, which every order route takes. | number | — |
increment_id The human-readable order number shown to the customer. | string | — |
state The order's state, for example 'new', 'processing' or 'complete'. | string | — |
status The order's status label within that state. | string | — |
customer_email The email address the order was placed with. | string | — |
customer_id The account that placed the order, absent for a guest. | number | — |
grand_total The order total in the order's currency. | number | — |
order_currency_code The currency the order was placed in. | string | — |
created_at When the order was placed. | string | — |
items The order's line items. | array | — |
{
"created_at": "",
"customer_email": "",
"customer_id": 0,
"entity_id": 0,
"grand_total": 0,
"increment_id": "",
"items": [],
"order_currency_code": "",
"state": "",
"status": ""
}See Get Order 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.