View Single Post
Old 08-01-2013, 08:07 PM
Matt Ecwid's Avatar
Matt Ecwid Matt Ecwid is offline
Ecwid Team
Join Date: Oct 2011
Posts: 4,947

Originally Posted by smoothsailingclothing View Post

returns []

The store doesn't have any categories but category 0 exists.[STORE-ID]/products?category=0[etc] Works and returns items.

I was expecting /categories to return category 0 as a value. Is this intended?

The Product API : categories method returns all user-defined categories if the parent is not set and the list of child categories if the parent category is set. As to the root 'Store' category, it is not returned by design.

Can you please specify why you need that? Maybe we will suggest a solution.
Matt K
Ecwid Team

Ecwid Guide for Beginners

Ecwid Help Center

Ecwid video tutorials