GET v1​/ macrocategories

Dictionary endpoint to fetch all the Macrocategories present in Blomming catalog.

Instant gratification

Do it yourself from console!

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

Try to get the Macrocategories
curl -i -H "Authorization: Bearer $BEARER" \
https://api.blomming.com/v1/macrocategories

Request

Example Request

{
  "locale": "es"
}

Request Parameters

  • locale

    The locale used in the results.

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

Response

Example Response

[
  {
    "name": "Arte",
    "categories_url": "https://api.blomming.com/v1/macrocategories/5/categories",
    "items_url": "https://api.blomming.com/v1/macrocategories/5/items"
  }
]

Response Parameters

  • Type: array
  • Items

    A list of Macrocategories.

    • Required: yes
    • name

      The name of the Macrocategory.

      • Required: yes
      • Type: string
      • Example: "Arte"
    • categories_url

      The URL of the Categories in the Macrocategory.

      • Required: yes
      • Type: string
      • Format: uri
      • Example: "https://api.blomming.com/v1/macrocategories/5/categories"
    • items_url

      The URL of the items belogning to the Macrocategory.

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

Response Codes

Successful Response Codes