Listing Collections & Products via API
Two endpoints let you read your full catalogue structure and your full product list. Use them to mirror your catalogue in another system, build your own browsing experience, or audit what is published.
Overview
A couple of names in the API differ from the storefront wording:
A collection is called a
theme_categoryin the API.A design is called a
themein the API.A product (with its pricing, variants, and packaging) is called a product attribute.
All calls are authenticated. See API Authentication for how to authenticate. The base URL is https://<subdomain>.pixfizz.com/v1/.
List the full collection structure
GET /v1/theme_categories.jsonReturns your entire catalogue as a single tree, in one call. This endpoint is not paginated — everything comes back at once.
Each entry in the tree is a collection and contains:
themes— the designs in that collection. Each has anid(the design ID) and aproduct_id(the product it belongs to).static_products— the IDs of any static (non-personalized) products in that collection.
To list all designs for a single product, fetch this tree and keep the themes entries whose product_id matches your product. See Listing a Product's Designs via the API for the full walkthrough.
List all products
Returns all your product attributes — your products, with their pricing, variants, and packaging.
Like other list endpoints, you can page through results with ?page=N (for example ?page=2 for the second page).
To read a single product in full, use its ID:
Summary
GET /v1/theme_categories.json
Full catalogue tree: collections, their designs, and static products
No — full tree in one call
GET /v1/products.json
All product attributes
Yes — use ?page=N
GET /v1/products/<id>.json
One product in full
n/a
GET /v1/themes/<id>.json
One design in full
n/a
Related
Listing a Product's Designs via the API
Dynamic Design Previews
API Authentication
Last updated