I’m looking at the documentation but I can’t seem to find how to get a list of all orders made by a single client. Is it possible? I want to add the possibility to my customers to see and maybe delete their orders.
Great question! You can use customer JWT to retrieve orders associated with a specific customer. This is assuming that the customer ID was used on checkout.
If you can provide a more specific use case, including if you’re using a Moltin SDK library, I can provide some examples
Thanks for the quick answer. I’m making direct api calls and I tried using the token during the checkout by putting it in the authorization header like: “Authorization: Bearer ” but it gives me a 401 unauthorized error.