Skip to main content
GET
Get category by ID

📌 Endpoint

GET /stores/{storeId}/categories/{categoryId} Returns a specific category of the store, including related products and coupons.

🔐 Authentication

  • Public route for queries.
  • The store linked to storeId must have an active plan.

🧾 Route parameters


✅ Request example


📦 Success response (200)


⚠️ Possible errors

  • 400 INVALID_DATA → invalid parameters
  • 401 UNAUTHENTICATED → could not identify the subscription user
  • 403 NO_ACTIVE_SUBSCRIPTION → inactive or expired plan
  • 404 STORE_NOT_FOUND → store not found
  • 404 CATEGORY_NOT_FOUND → category not found
  • 429 RATE_LIMIT_EXCEEDED → rate limit per minute exceeded
  • 500 INTERNAL_SERVER_ERROR → internal server error
  • 503 SERVICE_UNAVAILABLE → service or database unavailable

Path Parameters

storeId
string
required
Required string length: 1 - 50
categoryId
string
required
Required string length: 1 - 50

Response

Get category by ID.

code
string
required
Example:

"CATEGORY_FETCHED"

category
object
required

Store product category.