GET v1​/ macrocategories​/:macrocategory_id​/categories

Endpoint to get all the Categories included in the given Macrocategory.

Instant gratification

Do it yourself from console!

Assuming that you have a valid token previously exported into BEARER env variable

Try to get the Categories inside the "Men" Macrocategory (2)
curl -i -H "Authorization: Bearer $BEARER" \
https://api.blomming.com/v1/macrocategories/2/categories

Request

Example Request

{
  "locale": "es"
}

Request Parameters

  • locale

    The locale used in the results.

    • Required: no
    • Type: string
    • Example: "es"

Response

Example Response

[
  {
    "id": 101,
    "name": "Women:Accessories",
    "items_url": "https://api.blomming.com/v1/categories/101/items"
  }
]

Response Parameters

  • Type: array
  • Items

    A list of Categories.

    • Required: yes
    • id

      The id of the Category.

      • Required: yes
      • Type: integer
      • Example: 101
    • name

      The full name of the Category (Macrocategory:Category).

      • Required: yes
      • Type: string
      • Example: "Women:Accessories"
    • items_url

      The absolute position of the Category in the Categories ordered set.

      • Required: yes
      • Type: string
      • Format: uri
      • Example: "https://api.blomming.com/v1/categories/101/items"

Response Codes

Successful Response Codes