Product Categories

Available Product Categories Endpoints

This document will show you how to interact with product categories through the Lemonstand API. It will give examples of the data returned from calls, formatting of calls, and how to update/create/removeproduct categories.

GET /product/{product_id|product_sku}/category/{category_id}

Retrieves a single product category according to the product ID/SKU and the category ID given.

See examples
POST /product/{product_id|product_sku}/categories

Adds an association between a product and a category. The category ID is given in the body of the call.

See examples
DELETE /product/{product_id|product_sku}/category/{category_id}

Deletes the product category associated to the category ID.

See examples
DELETE /product/{product_id|product_sku}/categories

Removes all associated product categories to this product.

See examples
GET /product/{product_id|product_sku}/categories

Retrieves a list of all the product categories associated to the product.

See examples