Error with product REST api, since_id must be Integer

Highlighted
New Member
1 0 0

Hi everyone! I have a problem with the product REST parameters query.

 

When I try to retrieve products with my app I simply do 

GET /admin/api/2020-01/products.json

And I receive a correct response with the products list and everything, I don't have any problem here.

 

Otherwise, when I try to add the since_id attribute as the documentation says https://shopify.dev/docs/admin-api/rest/reference/products/product#index-2020-01  I don't know why the API says that "since_id must be an Integer"

 

The API call that I do:

GET /admin/api/2020-01/products.json?since_id=4760610013228

 

Does anyone has experienced something similar? Any suggestions?

0 Likes
Highlighted
Shopify Partner
1777 211 370

Is this the error you get from Shopify, in the response? Or this is an error from the library/framework you are using to execute the call? Can you try the same request using CURL or Postman?

Sergiu Svinarciuc | CTO @ visely.io
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
- To learn more about the awesome stuff we do head over to visely.io or our blog
0 Likes