Developer : Categories

Manage applications

The /categories resource contains a list of a store's product categories.

Resource URI

/api/v1/categories

Method Scope Required
GET storefront

Category Properties

Property Methods Description
slug GET The category's slug
name GET The category's name
url GET The URL to get a list of products in this category

Example

curl -H "Authorization: Bearer ba125ac086" \
    https://goodsie.com/api/v1/categories
[
    {
        "slug": "ugly-stuff",
        "name": "Ugly Stuff",
        "url": "https://goodsie.com/api/v1/products/ugly-stuff"
    },
    {
        "slug": "childrens-clothing",
        "name": "Children's Clothing",
        "url": "https://goodsie.com/api/v1/products/childrens-clothing"
    }
]