Bridges
Manage bridge integrations that connect Orderly to external platforms. Each bridge is an instance of a bridge type configured with credentials and settings specific to your organization.
List Bridges
/api/bridgesList all configured bridges for the organization.
Returns a paginated list of bridges with their status, type, and last sync time.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (default: 1) |
limit | number | Items per page (default: 20, max: 100) |
category | string | Filter by category: ecommerce, shipping, marketplace, erp |
status | string | Filter by status: active, inactive, error |
curl -X GET "https://api.orderly.dev/api/bridges?category=ecommerce" \
-H "Authorization: Bearer ord_sk_..."Response
{
"data": [
{
"id": "uuid",
"name": "My Shopify Store",
"bridge_type_id": "uuid",
"bridge_type": { "name": "Shopify", "category": "ecommerce" },
"status": "active",
"last_sync_at": "2026-01-15T10:00:00Z",
"created_at": "2026-01-01T00:00:00Z"
}
],
"pagination": { "page": 1, "limit": 20, "total": 3, "totalPages": 1, "hasMore": false }
}Get Bridge
/api/bridges/:idRetrieve a single bridge by ID.
Returns the full bridge configuration including type details, status, sync history, and settings. Credential values are redacted.
curl -X GET "https://api.orderly.dev/api/bridges/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer ord_sk_..."Create Bridge
/api/bridgesCreate and configure a new bridge integration.
Creates a new bridge from a bridge type. The config object must include all required fields defined by the bridge type’s manifest.
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name for this bridge |
bridge_type_id | string | Yes | The bridge type to instantiate |
config | object | Yes | Credentials and settings per the bridge type’s config fields |
curl -X POST "https://api.orderly.dev/api/bridges" \
-H "Authorization: Bearer ord_sk_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Production Shopify",
"bridge_type_id": "660e8400-e29b-41d4-a716-446655440000",
"config": {
"shop_domain": "my-store.myshopify.com",
"api_key": "shpat_..."
}
}'Update Bridge
/api/bridges/:idUpdate bridge name, config, or status.
Updates a bridge’s configuration. You can change the name, update credentials, or toggle the bridge active/inactive.
Request Body
| Field | Type | Description |
|---|---|---|
name | string | New display name |
config | object | Updated configuration values |
status | string | Set to active or inactive |
curl -X PATCH "https://api.orderly.dev/api/bridges/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer ord_sk_..." \
-H "Content-Type: application/json" \
-d '{"name": "Staging Shopify", "status": "inactive"}'Delete Bridge
/api/bridges/:idDelete a bridge and remove its configuration.
Permanently deletes a bridge. This does not delete orders or shipments that were previously synced through this bridge.
curl -X DELETE "https://api.orderly.dev/api/bridges/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer ord_sk_..."Trigger Sync
/api/bridges/:id/syncManually trigger a sync for a bridge.
Queues a sync job for the bridge. The sync runs asynchronously via QStash. Returns the job ID for tracking.
curl -X POST "https://api.orderly.dev/api/bridges/550e8400-e29b-41d4-a716-446655440000/sync" \
-H "Authorization: Bearer ord_sk_..."Response
{
"data": {
"job_id": "uuid",
"status": "queued",
"bridge_id": "uuid"
}
}Validate Config
/api/bridges/:id/validateValidate a bridge's configuration by testing the connection.
Tests the bridge configuration by attempting to connect to the external platform. Returns whether the connection was successful and any errors.
curl -X POST "https://api.orderly.dev/api/bridges/550e8400-e29b-41d4-a716-446655440000/validate" \
-H "Authorization: Bearer ord_sk_..."Response
{
"data": {
"valid": true,
"message": "Connection successful"
}
}