ShopEazydevelopers
API referenceMerchant API BetaStudio

Credits the business has and what each make costs

Beta
Credentials
  • OAuth access token
Scopes
store:read
GET
/v1/merchant/stores/{storeId}/studio/costs

Costs are by feature, e.g. studio.adset, library.scene, brand.logo.

Access: OAuth scope store:read; not write-gated.

Authorization

merchantOAuth store:read
headerAuthorizationBearer <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

Path Parameters

storeId*string

A store the person can reach. Any other id answers 404, never 403.

Response Body

OK

application/json
  1. response
data*
Example Request
curl -X GET 'https://api.shopeazy.co/v1/merchant/stores/<storeId>/studio/costs' \  -H 'Authorization: Bearer <access_token>'
Example Response
{  "data": {    "credits": 50,    "costs": {      "product.describe": 1,      "product.seo": 1,      "product.tags": 1,      "product.pricing": 1,      "product.inventory": 1,      "product.organisation": 1,      "product.create": 3,      "service.create": 3,      "brand.palette": 1,      "brand.tagline": 1,      "brand.logo": 6,      "storefront.design": 4,      "pages.build": 4,      "studio.mockup": 6,      "studio.image": 6,      "studio.removeBg": 6,      "library.cutout": 6,      "library.enhance": 6,      "library.expand": 6,      "library.edit": 6,      "library.scene": 6,      "library.video": 80,      "library.music": 4,      "library.promo": 60,      "library.voiceover": 1,      "studio.adset": 2,      "studio.listing": 3,      "studio.translate": 1,      "studio.week": 3,      "marketing.caption": 1,      "whatsapp.reply": 1,      "analytics.brief": 3,      "assistant.create": 3,      "assistant.edit": 1    },    "promo": {      "15": 60,      "20": 80,      "30": 100    }  }}