Skip to content

Get order by ID​

GET
/orders/{orderId}

Fetch a single order by internal order ID or platform-specific ID. Requires orders:read ability.

Authorizations​

bearerAuth

Include Authorization: Bearer <token> header. Token must have the required abilities.

Type
HTTP (bearer)

Parameters​

Path Parameters

orderId*

Platform-linked ID (e.g., 1234567890) or Teeinblue order ID (e.g., 12345), platform-linked ID takes precedence.

Type
string
Required

Query Parameters

include_customization

Include customization data and customer uploads in the response

Type
boolean
Exampletrue

Responses​

Order found

application/json
JSON
{
  
"id": 12345,
  
"order_name": "#1001",
  
"platform_order_id": "4567890123",
  
"test_order": false,
  
"total_price": 29.99,
  
"currency": "USD",
  
"fulfillment_status": "fulfilled",
  
"financial_status": "paid",
  
"status": "customized",
  
"tib_status": "1",
  
"email": "[email protected]",
  
"contact_email": "[email protected]",
  
"note": "Please send to the address below: 123 Main St, Anytown, USA",
  
"shipping_method": "Standard Shipping",
  
"instance_name": "My Awesome T-Shirt Store",
  
"platform_domain": "my-shop.myshopify.com",
  
"created_at": "2025-01-15T10:30:00Z",
  
"deleted_at": "2025-01-15T10:30:00Z",
  
"address": {
  
  
"first_name": "John",
  
  
"last_name": "Smith",
  
  
"name": "John Smith",
  
  
"company": "Acme Corporation",
  
  
"phone": "+1-555-123-4567",
  
  
"address1": "123 Main Street",
  
  
"address2": "Apt 4B",
  
  
"city": "New York",
  
  
"province": "New York",
  
  
"province_code": "NY",
  
  
"country": "United States",
  
  
"country_code": "US",
  
  
"zip": "10001"
  
},
  
"line_items": [
  
  
{
  
  
  
"id": 12345,
  
  
  
"campaign_id": 6789,
  
  
  
"customization_id": 9876,
  
  
  
"title": "Custom T-Shirt - Large, Navy Blue",
  
  
  
"fulfillment_status": "fulfilled",
  
  
  
"quantity": 2,
  
  
  
"is_fulfilled": true,
  
  
  
"platform_sku": "TSHIRT-LG-NAVY",
  
  
  
"sku": "TB-TSHIRT-LG-NAVY-001",
  
  
  
"by_teeinblue": true,
  
  
  
"status": "ready_for_production",
  
  
  
"created_at": "2025-01-15T10:30:00Z",
  
  
  
"updated_at": "2025-01-15T14:45:00Z",
  
  
  
"deleted_at": "2024-01-01T00:00:00Z",
  
  
  
"properties": {
  
  
  
  
"additionalProperties": "string"
  
  
  
},
  
  
  
"tracking_number": "1Z999AA1234567890",
  
  
  
"tracking_url": "https://www.ups.com/track?tracknum=1Z999AA1234567890",
  
  
  
"shipment_carrier": "UPS",
  
  
  
"print_areas": [
  
  
  
  
{
  
  
  
  
  
"id": 567,
  
  
  
  
  
"customization_id": 890,
  
  
  
  
  
"thumbnail": "https://cdn.teeinblue.com/thumbnails/567-thumb.jpg",
  
  
  
  
  
"url": "https://cdn.teeinblue.com/artworks/567-print.png",
  
  
  
  
  
"key": "front",
  
  
  
  
  
"width": 2400,
  
  
  
  
  
"height": 3000,
  
  
  
  
  
"error_message": "Image resolution too low for print quality",
  
  
  
  
  
"is_processing": false,
  
  
  
  
  
"customization": {
  
  
  
  
  
},
  
  
  
  
  
"customer_uploads": [
  
  
  
  
  
  
{
  
  
  
  
  
  
  
"original_url": "https://cdn.teeinblue.com/uploads/567-upload.jpg",
  
  
  
  
  
  
  
"master_url": "https://cdn.teeinblue.com/uploads/567-upload.jpg"
  
  
  
  
  
  
}
  
  
  
  
  
],
  
  
  
  
  
"artworks": [
  
  
  
  
  
  
{
  
  
  
  
  
  
  
"id": 123,
  
  
  
  
  
  
  
"name": "Photo on live preview",
  
  
  
  
  
  
  
"templates": [
  
  
  
  
  
  
  
  
{
  
  
  
  
  
  
  
  
  
"id": 123,
  
  
  
  
  
  
  
  
  
"name": "Default template"
  
  
  
  
  
  
  
  
}
  
  
  
  
  
  
  
]
  
  
  
  
  
  
}
  
  
  
  
  
],
  
  
  
  
  
"created_at": "2025-01-15T10:30:00Z",
  
  
  
  
  
"updated_at": "2025-01-15T11:15:00Z"
  
  
  
  
}
  
  
  
],
  
  
  
"variant": {
  
  
  
  
"id": 12345,
  
  
  
  
"sku": "TSHIRT-BELLA-LG-NAVY",
  
  
  
  
"color": "Navy Blue",
  
  
  
  
"size": "Large",
  
  
  
  
"product": {
  
  
  
  
  
"id": 789,
  
  
  
  
  
"title": "Bella Canvas Unisex T-Shirt",
  
  
  
  
  
"fulfillment_id": 456,
  
  
  
  
  
"fulfillment": {
  
  
  
  
  
  
"id": 123,
  
  
  
  
  
  
"display_name": "Printful"
  
  
  
  
  
}
  
  
  
  
}
  
  
  
},
  
  
  
"fulfiller": {
  
  
  
  
"id": 9876,
  
  
  
  
"fulfillment_linked_id": "PF-ORDER-123456789",
  
  
  
  
"tracking_number": "1Z999AA1234567890",
  
  
  
  
"tracking_company": "UPS",
  
  
  
  
"tracking_url": "https://www.ups.com/track?tracknum=1Z999AA1234567890",
  
  
  
  
"created_at": "2025-01-15T10:30:00Z"
  
  
  
},
  
  
  
"submit_customization_url": "https://api.teeinblue.com/customizations/submit/abc123"
  
  
}
  
],
  
"customer": {
  
  
"id": 12345,
  
  
"platform_linked_id": "shopify_customer_987654321",
  
  
"first_name": "Jane",
  
  
"last_name": "Doe",
  
  
"email": "[email protected]",
  
  
"phone": "+1-555-987-6543",
  
  
"created_at": "2024-12-01T09:15:00Z"
  
}
}

Samples​

Powered by VitePress OpenAPI

Teeinblue API documentation.