Product/count deprecated

Hello,

The documentation
https://ordoro.docs.apiary.io/#reference/product/productcounts/get
shows the product count api.
However, when I try it, I get:
{
“error_message”: “‘NoneType’ object has no attribute ‘rule’”,
“param”: null
}

If that is correct, how I can I know the total number of products so I can set the number of times I will the API product (once we have a 100 records limit per call).

Thanks.

Hey @sergio.nader
The error you’re getting is because you are missing a trailing slash. Since the count endpoint is deprecated, you can use the /product/ endpoint which returns a count element with the list of products

Thank you!
I am using the product call to get the total count now.