Get category by slug
GET
/store/v1/categories/{slug}
const url = 'https://your-store.example.com/store/v1/categories/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://your-store.example.com/store/v1/categories/exampleParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” slug
required
string