Skip to content

Get product by ID​

GET
/products/{id}

Fetch a single product by its ID. Requires products:read ability.

Authorizations​

bearerAuth

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

Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Product ID (e.g., 1245)

Type
string
Required

Responses​

Product found

application/json
JSON
{
  
"id": 1234567890,
  
"title": "Holiday T-Shirt",
  
"label": "string",
  
"internal_tags": "holiday, t-shirt",
  
"created_at": "2025-01-15T10:30:00Z",
  
"updated_at": "2025-01-15T10:30:00Z",
  
"mockups": [
  
  
{
  
  
  
"id": 1234567890,
  
  
  
"url": "https://cdn.teeinblue.com/examples/products/mockup.png",
  
  
  
"thumbnail": "https://cdn.teeinblue.com/examples/products/mockup.png",
  
  
  
"master": "https://cdn.teeinblue.com/examples/products/mockup.png",
  
  
  
"old_url": "https://cdn.teeinblue.com/examples/products/mockup.png",
  
  
  
"preview_url": "https://cdn.teeinblue.com/examples/products/mockup.png",
  
  
  
"preview_thumbnail": "https://cdn.teeinblue.com/examples/products/mockup.png",
  
  
  
"alt": "Holiday T-Shirt",
  
  
  
"width": 1000,
  
  
  
"height": 1000
  
  
}
  
],
  
"printareas": [
  
  
{
  
  
  
"id": 1234567890,
  
  
  
"name": "Front",
  
  
  
"width": 1000,
  
  
  
"height": 1000,
  
  
  
"position": 1,
  
  
  
"display_name": "Front"
  
  
}
  
],
  
"variants": [
  
  
{
  
  
  
"id": 1234567890,
  
  
  
"sku": "TSHIRT-BELLA-LG-NAVY",
  
  
  
"color": "Navy Blue",
  
  
  
"size": "Large"
  
  
}
  
]
}

Samples​

Powered by VitePress OpenAPI

Teeinblue API documentation.