Replies: 1 comment
-
Have you made progress on this since your last post?
I tried to add price details via the API and it works when using odd/big values for
Maybe the API has changed in the meantime (note that it's not stable by now). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I've written a script to parse my Digikey invoices and populate Part-DB with all the relevant information via the API, but I'm really struggling with calls to /api/parsedetails. What exactly do "Minimum discount quantity", "price", and "for amount" map to? When I receive price breakdowns, I get
I also get
What corresponds to what and how do you input it via the API? Adding the first price breakdown always works:
But any subsequent attempts to input anything else always fail with
even if I don't use min_discount_quantity:
Any ideas? It appears "Minimum discount quantity" gets auto-populated with quantities of 10, so I tried manually changing all of my discount and related quantities to odd numbers and it fails the same way.
Beta Was this translation helpful? Give feedback.
All reactions