Skip to main content
The “Get Order by ID” API allows to retrieve information for a specific order using its unique identifier. Use this endpoint to fetch details for a single order based on the provided order ID.

Autorización

string
required
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.

Path parameters

string
default:"653f5e0cde5a1314e62a837c"
required
ID of the order that needs to be returned

Query parameters

string
default:"3SwdhCu3svxI8AKsPJt6"
LocationId is the id of the account.
string
default:"3SwdhCu3svxI8AKsPJt6"
required
AltId is the unique identifier e.g: account id.

Respuestas

string
default:"653f5e0cde5a1314e62a837c"
required
The unique identifier for the order.
string
default:"3SwdhCu3svxI8AKsPJt6"
required
AltId is the unique identifier eg: account id.
string
default:"account"
required
AltType is the type of identifier.
string
default:"XPLSw2SVagl12LMDeTmQ"
Contact id corresponding to the order.
string
default:"USD"
Currency in which order was created.
number
default:"100"
Order value.
string
default:"completed"
required
The status of the order (e.g., completed).
boolean
default:"false"
Order is in live / test mode.
string
default:"2023-11-20T10:23:36.515Z"
required
The creation timestamp of the order.
string
default:"2024-01-23T09:57:04.846Z"
required
The last update timestamp of the order.
string
default:"unfulfilled"
Fulfillment status of the order.
object
Contact details of the order.
object
default:"{ subtotal: 100, discount: 5 }"
Amount details of the order.
object
Source details of the order.
string[]
Item details of the order.
object
Coupon details of the order.
string
default:"63319ef9-de0a-4c84-aebd-3585fb4a0cdf"
Tracking id of the order.
string
default:"5d51db5a-42b0-4b04-ba88-2c046c982a3a"
Fingerprint id of the order.
object
default:"{ couponSessionExpired: true }"
Meta details of the order.
boolean
default:"false"
Is test order.
string
default:"d3b16a92-a8ed-4e6b-8467-844750f78ed5"
Trace id of the order.
boolean
default:"True"
Automatic taxes applied for the Order
object
default:"taxjar"
Provider name for automatic tax calculation
string
default:"user123"
User ID who created the order.

Ejemplo