seller

All campaign roots

All the campaign roots for the authenticated user. Campaign roots are groupings of individual campaign "runs" for a single design. When you create a campaign in the Composer, you are actually creating a campaign root and an attached campaign. Every time a campaign is relaunched, an additional campaign is added to that campaign root. So every design has a campaign root, and one more campaigns.

get/seller/v1/campaigns

Request

  • Base URL
    https://api.teespring.com
  • Auth
    none declared

Query parameters

access_tokenstring required

authentication token obtained from the V1 Auth API

pageinteger

page number to view

per_pageinteger

number of records per page

searchstring

search term to filter only records with a matching title or description

statesstring

comma-separated list of campaign states (deleted, draft, active, suspended, success, failed, archive, redirect, hidden)

sort_by_salesstring

sort by sales in high to low (desc) or low to high (asc)

sort_by_profitstring

sort by profit in high to low (desc) or low to high (asc)

recencystring

sort by most/least recent campaigns

slugstring

Unique identifier in the campaign's url. Providing this will cause the api to only return one campaign.

campaign_idinteger

ID of one of the campaign root's campaigns. Providing this will cause the api to only return one campaign.

historyboolean

Include previous runs (only if specifying either slug or campaign_id)

getvarsboolean

Include GET variables data (only if specifying either slug or campaign_id)

Response

All campaign roots

Changes

No recorded changes to this operation across all 1 revision of this API.