Skip to main content
GET
Get Order

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orderId
string<uuid>
required

Order identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

Query Parameters

fields
string

Comma-separated list of fields to include in the response. Supports dot notation for nested projection (e.g. id,name,user.email,trips.route.id). Unknown fields are silently dropped.

Response

OK

Order

orderId
string<uuid>
required

Order identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

checkoutId
string<uuid>
required

Checkout identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3a"

customerId
string<uuid>
required

Customer identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3c"

customer
object
required

Customer identity

organizationId
string<uuid>
required

Organization identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3c"

organization
object
required

Organization identity

cooperativeId
string<uuid>
required

Cooperative identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3c"

cooperative
object
required

Cooperative identity

soldById
string<uuid>
required

Seller user identifier

Example:

"0195e7a1-8b5c-7d3e-9f4a-2c6b8d0e1f3d"

soldBy
object
required

User identity

externalProvider
string
required

External provider name

Example:

"mock"

externalProviderId
string
required

External provider order identifier

Example:

"or_a1b2c3d4"

type
enum<string>
required

Order type

Available options:
ONLINE,
POS,
DRIVER_APP
Example:

"ONLINE"

code
string
required

Readable order code

Example:

"ORD-20260412-A1B2"

baseAmount
integer
required

Base amount in cents

Example:

15000

discountAmount
integer
required

Discount amount in cents

Example:

0

creditAmount
integer
required

Credit amount in cents

Example:

0

paidAmount
integer
required

Paid amount in cents

Example:

15000

amount
integer
required

Commercial amount in cents

Example:

15000

status
enum<string>
required

Order status

Available options:
PENDING,
PAID,
PAYMENT_FAILED,
CANCELED
Example:

"PENDING"

tickets
object[]
required

Order tickets

payment
object | null
required

Order payment

reviews
object[]
required

Trip reviews

createdAt
string<date-time>
required

Created at

Example:

"2026-01-01T00:00:00.000Z"

updatedAt
string<date-time>
required

Updated at

Example:

"2026-01-01T00:00:00.000Z"

createdBy
string<uuid> | null

Created by

Example:

null

updatedBy
string<uuid> | null

Updated by

Example:

null