TheDocumentation Index
Fetch the complete documentation index at: https://docs.tybritelabs.com/llms.txt
Use this file to discover all available pages before exploring further.
CmsService class (accessed via client.cms) provides access to content-driven features like blog posts and lookbooks, allowing you to build rich discovery experiences and content-led commerce.
Blog Posts
listPosts
Retrieve a paginated list of blog posts. This is ideal for building a “News” or “Magazine” section on your storefront.
excerpt, featured_image, and slug. For the full content, use getPost.
getPost
Retrieve the full content and tags for a specific blog post.
Lookbooks
Lookbooks are curated collections of lifestyle images linked to specific products, perfect for “Shop the Look” features.listLookbooks
Retrieve a list of available lookbooks.
getLookbook
Retrieve the full details of a lookbook, including its image gallery and linked products.
Response Codes
All CMS endpoints areGET and accept both publishable and secret keys. Slug validation is enforced — empty or whitespace-only slugs return 400 without hitting the database.
| Code | Meaning |
|---|---|
200 | Success. |
400 | Empty slug, invalid slug format, or malformed query parameters. |
401 | Invalid or missing API key. |
404 | Post or lookbook not found. |
429 | Rate limit exceeded. |
500 | Internal server error. |

