Hi All,
How using offset and limit parameter in CS Cart API?
Im try like this :
http://example.com/api/stores/1/products?limit=10&offset=5
Regards,
Hi All,
How using offset and limit parameter in CS Cart API?
Im try like this :
http://example.com/api/stores/1/products?limit=10&offset=5
Regards,
Try
http://example.com/api/stores/1/products?pname=foo&items_per_page=7
(!) Not tested
Try
http://example.com/api/stores/1/products?pname=foo&items_per_page=7(!) Not tested
Alreaady found the solution
http://ecamplecom/id/api/stores/1/products?items_per_page=2&page=1
Alreaady found the solution
http://ecamplecom/id/api/stores/1/products?items_per_page=2&page=1
This is the same solution as described in post #2. Page parameter is not necessary there
This is the same solution as described in post #2. Page parameter is not necessary there
Thanks for your explanation, how about filtering in category API?
For example :
I have 2 storefront, want to get only category in storefront 1.
I try filter by company www.store.com/api/categories?company_id=1, but does't work
I try filter by status www.store.com/api/categories?status=A, can work
What wrong with my first API example?
Why you cannot just use
http://example.com/api/categories/CATEGORY_ID
?
Why you cannot just use
http://example.com/api/categories/CATEGORY_ID?
Sorry I means, company_id. Any suggest?
I think that "?company_id=1" should work. If not, additional examination is required
I think that "?company_id=1" should work. If not, additional examination is required
Use api/stores/3/categories/,
where 3 is company_id;
I've tried but did not work, therefore I am confused because other filters such "status=A" can work well.
I do not get a clue about this in the API documentation
See the previous message.
Thanks All,
Work fine!