Skip to content

Get a product base campaign by ID​

GET
/campaigns/product-base/{id}

Fetch a single product base campaign by its ID. Requires campaigns:read ability.

Authorizations​

bearerAuth

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

Type
HTTP (bearer)

Parameters​

Path Parameters

id*

Product base campaign ID (e.g., 1245)

Type
string
Required

Responses​

Product base campaign found

application/json
JSON
{
  
"id": 1234567890,
  
"name": "My Product Base Campaign",
  
"product_tags": "spring,sale",
  
"vendor": "Acme",
  
"product_type": "T-Shirt",
  
"product_display_type": "grid",
  
"label_available_product": "Choose a product",
  
"internal_tags": "DONE",
  
"status": 1,
  
"created_at": "2025-01-15T10:30:00Z",
  
"updated_at": "2025-01-15T10:30:00Z",
  
"artworks": [
  
  
{
  
  
  
"id": 1234567890,
  
  
  
"name": "My Artwork",
  
  
  
"description": "My Artwork Description",
  
  
  
"width": 1000,
  
  
  
"height": 1000,
  
  
  
"thumbnail": "https://cdn.teeinblue.com/examples/platform-mockups/thumbnail.webp",
  
  
  
"status": 1,
  
  
  
"position": 1,
  
  
  
"platform_variants_id": [
  
  
  
  
1234567890,
  
  
  
  
1234567891
  
  
  
]
  
  
}
  
],
  
"mockups": [
  
  
{
  
  
  
"id": 1234567890,
  
  
  
"width": 1000,
  
  
  
"height": 1000,
  
  
  
"position": 1,
  
  
  
"preview_url": "https://cdn.teeinblue.com/examples/platform-mockups/preview.png",
  
  
  
"preview_thumbnail": "https://cdn.teeinblue.com/examples/platform-mockups/thumbnail.webp"
  
  
}
  
]
}

Samples​

Powered by VitePress OpenAPI

Teeinblue API documentation.