REST API Return All Products With Custom Metafields

Hello,

I’ve been trying to figure out how to return all product data including a custom metafield value using the endpoint: admin/api/2023-04/products.json but have had no luck. Would anyone have an insight, or another possible way to do this? The amount of products 10000+ in the store would make looping though each product and making another call not a viable option.

Thank You

Is there a reason why you’re not using GraphQL since that would let you pull the info you need in a single call? If you must use REST then be ready to make the multiple calls.

It will take some time to do it using REST but it works - why does the time cause problems?