[BUG] `num_products` field is not synced with the `limit` arg for List Products endpoint

Hi team :wave: - It looks like I found another minor bug.

Endpoint: List Products. Description below :point_down:

When you call the endpoint with some limit set, the response will contain the following:

  • products, which is an array of objects/products with a size according to our limit param in the request. THIS IS CORRECT.

  • num_products, which according to the documentation, is the “number of products that were returned” So, this should be <= to the limit input in the request, however, is always returns the same number (552). THIS IS THE BUG.

Correct/Expected behavior: num_products should match size of products field/array.

Hello @fox89! Thank you very much for pointing this out to us. Please be advised that we will check on this for you internally with the relevant teams to ensure that this is addressed accurately for you. We will get back to you once we have more information. Keep in touch!

Hi @fox89! We appreciate your patience while we check on this. Please be advised that this has been tagged as a bug confirmed by our internal teams. Rest assured that the relevant teams are already looking into this and that a fix will be implemented soon. Thank you and have a great day!

Hi @fox89! We sincerely apologize for the delay in our response. Based on information we gathered from our internal team, we would like to inform you that the issue you have reported has been fixed. The num_products now returns as per limit defined.

If you need anything else in the future, please feel free to reach out back to us. Have a great day!