picnic-api icon indicating copy to clipboard operation
picnic-api copied to clipboard

Get all products/articles of all orders

Open Disane87 opened this issue 6 months ago • 1 comments

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?

Image

If I call a delivery by id, the api breaks with a 404 error. Image

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?

Disane87 avatar Jun 30 '25 12:06 Disane87