The templates a design can start from
- Credentials
- OAuth access token
- Scopes
store:read
Each template is a whole starting design for a kind of business: a look, hero words and home sections around the shop's own listings. Send an id as template to applyStorefrontTemplate. categories are the store categories that start on it; a store can use any.
Access: OAuth scope store:read; not write-gated.
Paged: { items, nextCursor }, limit (default 50, at most 100) and an opaque cursor.
merchantOAuth store:readAuthorizationBearer <token>OAuth 2.1 (authorization code + PKCE S256, public clients, dynamic registration) for connected AI apps. Effective power is scopes granted AND the person's role today AND the plan. orders:refund, billing:write and team:write are opt-in on the consent screen. Write implies read for marketing:read and messages:read, so a grant holding marketing:write passes a marketing:read check, and messages:send passes messages:read.
Scope: store:read
storeId*stringA store the person can reach. Any other id answers 404, never 403.
cursor?stringThe nextCursor of the previous page, unchanged. A cursor that is not one we gave you is 400 bad_request.
limit?integerPage size: default 50, at most 100 (more is 100; a missing or unusable value is 50).
1 <= value <= 10050OK
application/json- response
data*curl -X GET 'https://api.shopeazy.co/v1/merchant/stores/<storeId>/storefront/templates' \ -H 'Authorization: Bearer <access_token>'{ "data": { "items": [ { "id": "bakery", "name": "Bakery & café", "look": { "id": "warm", "name": "Warm" }, "categories": [ "bakery_confectionery", "coffee_beverages", "restaurant_takeaway" ], "hero": { "headline": "Baked fresh, every morning", "subcopy": "Order today, collect it warm.", "ctaLabel": "Order now" } }, { "id": "fashion", "name": "Fashion boutique", "look": { "id": "boutique", "name": "Boutique" }, "categories": [ "fashion_apparel", "shoes_accessories", "jewellery" ], "hero": { "headline": "New season, new favourites", "subcopy": "Pieces you’ll wear on repeat.", "ctaLabel": "Shop the edit" } }, { "id": "salon", "name": "Salon & spa", "look": { "id": "natural", "name": "Natural" }, "categories": [ "beauty_services", "wellness_fitness", "health_beauty" ], "hero": { "headline": "Time for you", "subcopy": "Book online in a minute.", "ctaLabel": "Book now" } } ], "nextCursor": null }}The design as it stands in the draft GET
Look, colours, hero, home sections and announcement; whether the draft differs from live; a preview link (null when this deployment cannot sign one). Access: OAuth scope `store:read`; not write-gated.
Start the design from a template POST
Its look, hero words and home sections around the shop's own listings. Lands in the draft; nothing changes for shoppers until `publishStorefront`. Access: OAuth scope `design:write`; owner/admin only; write-gated by the subscription.