Campaigns

Read-only access to campaigns

Get campaign by UUID

get
/campaigns/{campaignId}

Fetch a single campaign by UUID and platformDomain. Requires campaigns:read ability.

Authorizations
AuthorizationstringRequired

Include Authorization: Bearer <token> header. Token must have the orders:read ability.

Path parameters
UUIDstringRequired

Campaign UUID (e.g., 6d823e4d-8f21-41f8-b461-e97c981880bc)

Query parameters
shopstringRequired

The platform domain of the shop

Example: my-shop.myshopify.com
Responses
chevron-right
200

Campaign found

application/json

Details of a campaign by platform.

idintegerOptional

Unique identifier for this campaign

Example: 1234567890
uuidstringOptional

Unique identifier for this campaign

Example: 6d823e4d-8f21-41f8-b461-e97c981880bc
instance_idnumberOptional

Instance ID of the campaign

Example: 1234567890
platform_linked_idnumberOptional

Platform linked ID of the campaign

Example: 1234567890
namestringOptional

Name of the campaign

Example: My Campaign
preview_urlstringOptional

Preview URL of the campaign

Example: https://cdn.teeinblue.com/examples/platform-mockups/preview.png
preview_thumbnailstringOptional

Preview thumbnail of the campaign

Example: https://cdn.teeinblue.com/examples/platform-mockups/thumbnail.webp
versionnumberOptional

Version of the campaign

Example: 1
enable_artwork_variant_assignmentbooleanOptional

Whether artwork variant assignment is enabled

Example: true
published_atstring · date-timeOptional

Timestamp when the campaign was published

Example: 2025-01-15T10:30:00Z
created_atstring · date-timeOptional

Timestamp when the campaign was created

Example: 2025-01-15T10:30:00Z
updated_atstring · date-timeOptional

Timestamp when the campaign was last updated

Example: 2025-01-15T10:30:00Z
get
/campaigns/{campaignId}

Last updated