New Store Get Order By Order ID
Retrieves the full details of a NewStore customer order using its order ID, and works out useful shipping facts such as whether the order was split into multiple shipments and when it shipped. The order ID is the one returned by the NewStore GraphQL Query action.
What it does
- Authenticates with NewStore using the tenant and credentials provided.
- Fetches the customer order that matches the given order ID.
- Flags whether the order has more than one shipment.
- Extracts the date the order was shipped from the shipment activity history.
Inputs
| Name | Type | Description |
|---|---|---|
| Order ID | String | Order ID |
| Tenant | String | New Store tenant |
| Environment | String | Sandbox/Production Possible values: s, p. |
| Username | String (sensitive) | New Store username |
| Password | String (sensitive) | New Store password |
Outputs
| Name | Type | Description |
|---|---|---|
| Success | Boolean | Whether order was found |
| Output | Object | Order Data Object |
| Split Shipments | Boolean | Split Shipments? |
| Shipped Date | String | Shipped Date |
Notes
- The
Order IDis NewStore's internal order ID, as returned by the NewStore GraphQL Query action, not the customer-facing order number. - Use the
Environmentinput to target the sandbox (s) or production (p) NewStore environment. Shipped Dateis only populated once a shipment has ashippedactivity; it is empty for orders that have not shipped yet.