레시피 / 쇼핑 카탈로그
Recipe — Shop catalog MVP
Goal: render a product list + detail page against Partner API.
Prerequisites
- Approved API app +
client_id/client_secret - Scopes:
shop:read - Server-side token exchange (never expose secret in the browser)
Steps
1. POST /partner/v1/oauth/token with grant_type=client_credentials. 2. GET /partner/v1/shop/products?page=1&per_page=20 with Authorization: Bearer …. 3. For each card, link to detail using uniq. 4. GET /partner/v1/shop/products/{uniq} for the detail page.
Notes
- Partner v0.2 is live on
https://api.itjeom.com/partner/v1. - Do not call internal
/shop/*admin/engine routes from a third-party app; use/partner/v1only. - Product DTO fields:
uniq,title,price,currency,status,thumbnail_url(see OpenAPI).