Public API
The Teeinblue Public API reads order data, writes back a small set of order fields and designs, and manages the images in your asset libraries.
Base URL
https://api.teeinblue.com/openapi/v1Authentication
Authenticated endpoints take a Bearer token:
Authorization: Bearer YOUR_TOKENEach endpoint requires one ability, listed as x-required-ability on the operation. Asset library endpoints require assets:read or assets:write — see Asset Libraries.
Send Accept: application/json on every request
Without it, errors are not returned as JSON: a missing or invalid token is redirected to a login page (302) instead of returning 401, and a validation error is redirected instead of returning 422.
Rate limits
Every endpoint shares one limit of 60 requests per minute, keyed to your account rather than to the individual token. See Rate Limiting for the response headers and the back-off rule.
Endpoints
Every endpoint in the API, by group. Each endpoint has its own page.
Health
GET /health— Health checkGET /version— API version
Orders
GET /orders— List ordersGET /orders/{orderId}— Get order by IDGET /orders/etsy— List Etsy ordersGET /orders/etsy/{etsyId}— Get Etsy order by order IDPATCH /orders/etsy/{etsyId}— Update Etsy orderPATCH /orders/etsy/batch-update— Batch update Etsy ordersGET /stores/{platformDomain}/orders— List orders for specific store
Designs
POST /order-item-artworks/{orderItemArtworkId}/design— Replace order item design
Campaigns
GET /campaigns/{campaignId}— Get campaign by UUIDGET /campaigns/product-base— List product base campaignsGET /campaigns/product-base/{id}— Get a product base campaign by IDPATCH /campaigns/product-base/{id}— Update a product base campaignGET /campaigns/platform-base— List platform base campaignsGET /campaigns/platform-base/{id}— Get a platform base campaign by IDPATCH /campaigns/platform-base/{id}— Update a platform base campaign
Customizations
GET /customizations— List customizationsGET /customizations/{uuid}— Get customization by UUID
Products
GET /products— List productsGET /products/{id}— Get product by ID
Asset Libraries
POST /uploads— Create a pre-signed upload
Layer Images
GET /layer-image-categories— List layer image categoriesPOST /layer-image-categories— Create a layer image categoryGET /layer-image-categories/{id}— Get a layer image categoryGET /layer-images— List layer imagesPOST /layer-images— Upload a layer imageGET /layer-images/{id}— Get a layer imageDELETE /layer-images/{id}— Delete a layer image
Cliparts
GET /clipart-categories— List clipart categoriesPOST /clipart-categories— Create a clipart categoryGET /clipart-categories/{id}— Get a clipart categoryGET /cliparts— List clipartsPOST /cliparts— Upload a clipartGET /cliparts/{id}— Get a clipartDELETE /cliparts/{id}— Delete a clipartPOST /clipart-category-bulk-uploads— Start a clipart bulk upload (zip)GET /clipart-category-bulk-uploads/{id}— Get a clipart bulk uploadPOST /clipart-category-bulk-uploads/{id}/extract— Extract an uploaded zip
Library Images
GET /library-image-categories— List library image categoriesPOST /library-image-categories— Create a library image categoryGET /library-image-categories/{id}— Get a library image categoryGET /library-images— List library imagesPOST /library-images— Upload a library imageGET /library-images/{id}— Get a library imageDELETE /library-images/{id}— Delete a library image