List catalogs
GET
/catalogs
Returns a paginated list of catalogs.
Authorizations
bearerAuth
Type
HTTP (bearer)
Parameters
Query Parameters
page
Type
integer
Default
1per_page
Type
integer
Default
50search
String to search for. Sent when a seller searches the catalog list; omitted when they are just browsing.
When it is present, filter the catalogs yourself and return only the matching page, with meta.total set to the number of MATCHES (not the size of the whole catalog) — Teeinblue pages through the results using that total and shows them as-is. When it is absent, Teeinblue reads the whole catalog and searches locally, so you do not need to implement search to be usable; results are simply filtered on the Teeinblue side instead.
Type
string
Responses
OK
application/json
JSON "data": [ { "id": 7, "name": "Sublimated Sherpa Blanket", "base_cost": 19.99, "mockups": [ { "name": "original", "url": "https://cdn.teeinblue.com/mockups/467f0119-2e8d-4bc8-be90-fd80cbb49f08-original.jpg", "width": 1000, "height": 1000, "mockup_layers": [ { "name": "Background", "width": 4050, "height": 4650, "top": 1000, "left": 800, "url": "https://cdn.teeinblue.com/designs/467f0119-2e8d-4bc8-be90-fd80cbb49f08/467f0119-2e8d-4bc8-be90-fd80cbb49f08-front-mask.png", "mask": { "url": "https://cdn.teeinblue.com/designs/467f0119-2e8d-4bc8-be90-fd80cbb49f08/467f0119-2e8d-4bc8-be90-fd80cbb49f08-front-mask.png", "width": 4050, "height": 4650, "top": 1000, "left": 800 }, "perspective": { "top_left": { "x": 100, "y": 200 }, "top_right": { "x": 100, "y": 200 }, "bottom_left": { "x": 100, "y": 200 }, "bottom_right": { "x": 100, "y": 200 } }, "printarea_info": { "name": "front", "width": 4050, "height": 4650 } } ] } ] } ], "meta": { "page": 1, "per_page": 50, "total": 1234 }
{
}
GET
/catalogs