You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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