Skip to content

List customizations​

GET
/customizations

Returns a cursor-paginated list of customizations visible to the authenticated user. Requires customizations:read OR orders:read ability.

Authorizations​

bearerAuth

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

Type
HTTP (bearer)

Parameters​

Query Parameters

s

Search orders by order name (fuzzy search). Searches through the order's display name/reference. Useful for finding orders by customer reference numbers or partial name matches.

Type
string
Example"ORDER-123"
sort

Field to sort the results by. Determines the primary ordering of returned orders. Most commonly used fields: created_at for chronological order, total_price for value-based sorting. Default is created_at when not specified.

Type
string
Valid values
"created_at""total_price""updated_at"
Example"created_at"
Default
"created_at"
sort_type

Sort direction for the specified sort field. Use desc for newest/highest first, asc for oldest/lowest first. When sorting by created_at, desc shows most recent orders first. Default is desc when not specified.

Type
string
Valid values
"asc""desc"
Example"desc"
Default
"desc"
per_page

Number of orders to return per page using cursor-based pagination. Higher values reduce API calls but increase response size and processing time. Recommended range: 10-100 for most use cases. Maximum allowed: 500.

Type
integer
Example25
Minimum
1
Maximum
500
Default
25
cursor

Pagination cursor for retrieving the next set of results. This is an opaque string returned in the meta.next_cursor field of the previous response. Do not manually construct cursor values - always use the exact string provided by the API. For first page requests, omit this parameter entirely.

Type
string
Example"eyJjcmVhdGVkX2F0IjoiMjAyNS0wMS0xNSAxMDozMDowMCIsImlkIjoxMjM0NX0"
start_date

Filter results created on or after this date (inclusive). Must be a valid ISO 8601 date or datetime string; an invalid value returns a 422 error. Timezone should be UTC (Z suffix) or include offset.

Can be provided on its own, without end_date. If omitted, or older than 60 days ago, it is clamped to 60 days ago — the maximum date range this API allows is 60 days.

Type
string
Example"2025-01-01T00:00:00Z"
Format
"date-time"
end_date

Filter results created on or before this date (inclusive). Must be a valid ISO 8601 date or datetime string; an invalid value returns a 422 error. Timezone should be UTC (Z suffix) or include offset.

Can be provided on its own, without start_date. If omitted, more than 60 days after start_date, or in the future, it is clamped to now — the maximum date range this API allows is 60 days.

Type
string
Example"2025-01-31T23:59:59Z"
Format
"date-time"
instance_ids

Filter by one or more instance (store) IDs, scoped to the authenticated user's own instances.

Note: This API expects array query params in the bracket form:

  • Single value: instance_ids[]=123
  • Multiple values: instance_ids[]=123&instance_ids[]=456
Type
array
Example123456
campaign_ids

Filter by one or more campaign IDs.

Note: This API expects array query params in the bracket form, e.g. campaign_ids[]=6789.

Type
array
Example6789
platform_product_ids

Filter by one or more platform product IDs.

Note: This API expects array query params in the bracket form, e.g. platform_product_ids[]=321.

Type
array
Example321
include_data

Include the full 'data' and 'customer_uploads' fields in the response. These require extra per-item lookups, so on the list endpoint they default to false and must be requested explicitly. On the single-customization endpoint they default to true.

Type
boolean
Exampletrue

Responses​

List of customizations (cursor-paginated)

application/json
JSON
{
  
"links": {
  
  
"next": "https://example.com",
  
  
"prev": "https://example.com"
  
},
  
"meta": {
  
  
"per_page": 0,
  
  
"next_cursor": "string",
  
  
"prev_cursor": "string"
  
},
  
"data": [
  
  
{
  
  
  
"id": 9876,
  
  
  
"uuid": "6d823e4d-8f21-41f8-b461-e97c981880bc",
  
  
  
"data": {
  
  
  
},
  
  
  
"customer_uploads": [
  
  
  
  
{
  
  
  
  
  
"original_url": "https://cdn.teeinblue.com/uploads/567-upload.jpg",
  
  
  
  
  
"master_url": "https://cdn.teeinblue.com/uploads/567-upload.jpg"
  
  
  
  
}
  
  
  
],
  
  
  
"designs": [
  
  
  
  
{
  
  
  
  
  
"id": 5678,
  
  
  
  
  
"key": "front",
  
  
  
  
  
"thumbnail": "https://cdn.teeinblue.com/uploads/567-thumbnail.jpg",
  
  
  
  
  
"url": "https://cdn.teeinblue.com/uploads/567-design.jpg",
  
  
  
  
  
"width": 1000,
  
  
  
  
  
"height": 1200,
  
  
  
  
  
"error_message": "The vector renderer does not support raster images. Please upload a vector file (SVG, EPS, PDF) for best results.",
  
  
  
  
  
"is_processing": false
  
  
  
  
}
  
  
  
],
  
  
  
"created_at": "2025-01-15T10:30:00Z",
  
  
  
"updated_at": "2025-01-15T14:45:00Z"
  
  
}
  
]
}

Samples​

Powered by VitePress OpenAPI

Teeinblue API documentation.