Skip to main content

Orders

Unified order management

All endpoints require a bearer token (oh_... API key or user JWT) and are served under https://api.orderly-hub.com. Use the Try it consoles to run a request against the Preview (test) server.

List orders

GET/api/v1/orders

Parameters

NameInRequiredTypeDescription
pagequerynointeger
limitquerynointeger
statusquerynostring
bridgeIdquerynostring
searchquerynostringSearch by order number or external ID
includequerynostringComma-separated: bridge, dispatch_assignments

Responses

200 Paginated order list

Order[] object:

FieldTypeDescription
idstring
organizationIdstring
bridgeIdstring
externalIdstring
orderNumberstring
statusstring
paymentStatusstring
fulfillmentStatusstring
customerobject
shippingAddressAddress
billingAddressAddress
lineItemsarray
totalsobject
currencystring
tagsarray
notestring
metadataobject
sourceDataobject
orderedAtstring
createdAtstring
updatedAtstring
{
"data": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"organizationId": "550e8400-e29b-41d4-a716-446655440000",
"bridgeId": "550e8400-e29b-41d4-a716-446655440000",
"externalId": "550e8400-e29b-41d4-a716-446655440000",
"orderNumber": "string",
"status": "pending",
"paymentStatus": "pending",
"fulfillmentStatus": "pending",
"customer": {},
"shippingAddress": {
"name": "Jane Doe",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"provinceCode": "string",
"zip": "94107",
"country": "string",
"countryCode": "string",
"phone": "string",
"email": "jane@example.com"
},
"billingAddress": {
"name": "Jane Doe",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"provinceCode": "string",
"zip": "94107",
"country": "string",
"countryCode": "string",
"phone": "string",
"email": "jane@example.com"
},
"lineItems": [
{}
],
"totals": {},
"currency": "USD",
"tags": [
"string"
],
"note": "string",
"metadata": {},
"sourceData": {},
"orderedAt": "2026-07-23T12:00:00Z",
"createdAt": "2026-07-23T12:00:00Z",
"updatedAt": "2026-07-23T12:00:00Z"
}
],
"pagination": {
"page": 0,
"limit": 0,
"total": 49.99,
"totalPages": 0,
"hasMore": true
}
}
GET/api/v1/orders

List orders

https://api-test.orderly-hub.com/api/v1/orders

Create an order

POST/api/v1/orders

Request body

FieldTypeDescription
bridgeIdstring
externalIdstring
orderNumberstring
statusstring
paymentStatusstring
fulfillmentStatusstring
customerobject
shippingAddressAddress
billingAddressAddress
lineItemsarray
totalsobject
currencystring
tagsarray
notestring
metadataobject
sourceDataobject
orderedAtstring
{
"bridgeId": "550e8400-e29b-41d4-a716-446655440000",
"externalId": "550e8400-e29b-41d4-a716-446655440000",
"orderNumber": "string",
"status": "pending",
"paymentStatus": "pending",
"fulfillmentStatus": "pending",
"customer": {},
"shippingAddress": {
"name": "Jane Doe",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"provinceCode": "string",
"zip": "94107",
"country": "string",
"countryCode": "string",
"phone": "string",
"email": "jane@example.com"
},
"billingAddress": {
"name": "Jane Doe",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"provinceCode": "string",
"zip": "94107",
"country": "string",
"countryCode": "string",
"phone": "string",
"email": "jane@example.com"
},
"lineItems": [
{}
],
"totals": {},
"currency": "USD",
"tags": [
"string"
],
"note": "string",
"metadata": {},
"sourceData": {},
"orderedAt": "2026-07-23T12:00:00Z"
}

Responses

201 Order created

Order object:

FieldTypeDescription
idstring
organizationIdstring
bridgeIdstring
externalIdstring
orderNumberstring
statusstring
paymentStatusstring
fulfillmentStatusstring
customerobject
shippingAddressAddress
billingAddressAddress
lineItemsarray
totalsobject
currencystring
tagsarray
notestring
metadataobject
sourceDataobject
orderedAtstring
createdAtstring
updatedAtstring
{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"organizationId": "550e8400-e29b-41d4-a716-446655440000",
"bridgeId": "550e8400-e29b-41d4-a716-446655440000",
"externalId": "550e8400-e29b-41d4-a716-446655440000",
"orderNumber": "string",
"status": "pending",
"paymentStatus": "pending",
"fulfillmentStatus": "pending",
"customer": {},
"shippingAddress": {
"name": "Jane Doe",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"provinceCode": "string",
"zip": "94107",
"country": "string",
"countryCode": "string",
"phone": "string",
"email": "jane@example.com"
},
"billingAddress": {
"name": "Jane Doe",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"provinceCode": "string",
"zip": "94107",
"country": "string",
"countryCode": "string",
"phone": "string",
"email": "jane@example.com"
},
"lineItems": [
{}
],
"totals": {},
"currency": "USD",
"tags": [
"string"
],
"note": "string",
"metadata": {},
"sourceData": {},
"orderedAt": "2026-07-23T12:00:00Z",
"createdAt": "2026-07-23T12:00:00Z",
"updatedAt": "2026-07-23T12:00:00Z"
}
}

409 Duplicate external ID

POST/api/v1/orders

Create an order

https://api-test.orderly-hub.com/api/v1/orders

Get single order

GET/api/v1/orders/{id}

Parameters

NameInRequiredTypeDescription
idpathyesstring
includequerynostringComma-separated: bridge, dispatch_assignments

Responses

200 Order details

Order object:

FieldTypeDescription
idstring
organizationIdstring
bridgeIdstring
externalIdstring
orderNumberstring
statusstring
paymentStatusstring
fulfillmentStatusstring
customerobject
shippingAddressAddress
billingAddressAddress
lineItemsarray
totalsobject
currencystring
tagsarray
notestring
metadataobject
sourceDataobject
orderedAtstring
createdAtstring
updatedAtstring
{
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"organizationId": "550e8400-e29b-41d4-a716-446655440000",
"bridgeId": "550e8400-e29b-41d4-a716-446655440000",
"externalId": "550e8400-e29b-41d4-a716-446655440000",
"orderNumber": "string",
"status": "pending",
"paymentStatus": "pending",
"fulfillmentStatus": "pending",
"customer": {},
"shippingAddress": {
"name": "Jane Doe",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"provinceCode": "string",
"zip": "94107",
"country": "string",
"countryCode": "string",
"phone": "string",
"email": "jane@example.com"
},
"billingAddress": {
"name": "Jane Doe",
"company": "string",
"address1": "string",
"address2": "string",
"city": "string",
"province": "string",
"provinceCode": "string",
"zip": "94107",
"country": "string",
"countryCode": "string",
"phone": "string",
"email": "jane@example.com"
},
"lineItems": [
{}
],
"totals": {},
"currency": "USD",
"tags": [
"string"
],
"note": "string",
"metadata": {},
"sourceData": {},
"orderedAt": "2026-07-23T12:00:00Z",
"createdAt": "2026-07-23T12:00:00Z",
"updatedAt": "2026-07-23T12:00:00Z"
}
}

404 Order not found

GET/api/v1/orders/{id}

Get single order

https://api-test.orderly-hub.com/api/v1/orders/

Update an order

PATCH/api/v1/orders/{id}

Parameters

NameInRequiredTypeDescription
idpathyesstring

Request body

FieldTypeDescription
statusstring
paymentStatusstring
fulfillmentStatusstring
tagsarray
notestring
metadataobject
{
"status": "pending",
"paymentStatus": "pending",
"fulfillmentStatus": "pending",
"tags": [
"string"
],
"note": "string",
"metadata": {}
}

Responses

200 Order updated

404 Order not found

PATCH/api/v1/orders/{id}

Update an order

https://api-test.orderly-hub.com/api/v1/orders/

Delete an order

DELETE/api/v1/orders/{id}

Parameters

NameInRequiredTypeDescription
idpathyesstring

Responses

200 Order deleted

DELETE/api/v1/orders/{id}

Delete an order

https://api-test.orderly-hub.com/api/v1/orders/

Get order activity feed

GET/api/v1/orders/{id}/activities

Parameters

NameInRequiredTypeDescription
idpathyesstring
limitquerynointeger
offsetquerynointeger

Responses

200 Activity list

404 Order not found

GET/api/v1/orders/{id}/activities

Get order activity feed

https://api-test.orderly-hub.com/api/v1/orders//activities

Add a note to an order

POST/api/v1/orders/{id}/notes

Parameters

NameInRequiredTypeDescription
idpathyesstring

Request body

FieldTypeDescription
notestring
{
"note": "string"
}

Responses

201 Note added

POST/api/v1/orders/{id}/notes

Add a note to an order

https://api-test.orderly-hub.com/api/v1/orders//notes