0

I’m trying to figure out if a product was bought and when, but other than looping over all orders I don’t see how I can do that.

I saw this question but I need to do it through the REST API.

Any idea?

1 Answer 1

0

Found it:

  1. Use the orders/items endpoint using a filter on the SKU
  2. If the information is not sufficient, use the order_id key of each item to get the order with the order/{id} endpoint

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.