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

NameTypeDescription
Order IDStringOrder ID
TenantStringNew Store tenant
EnvironmentStringSandbox/Production Possible values: s, p.
UsernameString (sensitive)New Store username
PasswordString (sensitive)New Store password

Outputs

NameTypeDescription
SuccessBooleanWhether order was found
OutputObjectOrder Data Object
Split ShipmentsBooleanSplit Shipments?
Shipped DateStringShipped Date

Notes

  • The Order ID is NewStore's internal order ID, as returned by the NewStore GraphQL Query action, not the customer-facing order number.
  • Use the Environment input to target the sandbox (s) or production (p) NewStore environment.
  • Shipped Date is only populated once a shipment has a shipped activity; it is empty for orders that have not shipped yet.

API reference