picnic-api
picnic-api copied to clipboard
Get all products/articles of all orders
Hi and thank you for this great piece of work and your effort!
I've had a sneak look into the usage and fiddled a bit around since I didn't used it for many years. As it seems there are no articles/products within the orders for the deliveries?
If I call a delivery by id, the api breaks with a 404 error.
const deliveries = await picnicClient.getDeliveries();
const delivery = await picnicClient.getDelivery(deliveries[1].id);
I want to collect all my purchased items to iterate them and get the details and ean by Barcode lookup to fill my Grocy database with these products. Are there any chances to get these products? Do you have an idea how to get them?