This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI-API: The API does not query component inventory and make purchases

Part Number: TI-API

Why do I use the my API query product(LP3981ILD-3.3/NOPB) inventory displayed at zero, in the web side see inventory is 1000.

 

And it shows the error code when I run the purchase(LP3981ILD-3.3/NOPB test.

"errors": [
    {
      "section": "lineItems",
      "errorCode": "ERR-TICOM-ORDER-API-0004",
      "reason": "Part number(s) requested inventory quantity is not available per your request.",
      "message": "Please check the inventory levels for available quantity and resubmit the request with different quantity. Note In instances of low inventory ordering  limits may be set.",
      "data": [

Please help me open the API to purchase this component

  • Have you seen the order limit 50? The response suggests that your line item quantity exceeded this limit.

  • I tested and purchased 1, but it didn't even work
  • Hello Luccy,

    i can see in our logs your are doing a test, you cannot purchase via test - it is a simulation only.  Test order simulation may not reflect actual production inventory. - You would need to use the production json url  to purchase, pay and receive shipment. - Using the prod url if stock is limited we do reserve the right to set limits and suggest you order limited quantity in those scenarios until our stock is replenished for purchase through the API if the limit inventory shared in the API is reduced and available.

    In the API Portal  - we have a link to the json Order payload for placing a production order if you are ready - You can place orders via the API portal going to the Order API Suite: TI store order API | TI API Portal

    This area

    the prod order json payload   - you can use the try out feature  once you have clicked the authorized icon and enter your secret and key/id access credentials. Then in the json paylpad body just as you did in test but this is prod and would not be a simulation but at true order  - you would enter your 3rd credential from your myTI dashbord - your checkout profile id   and update your requested information for the product, the qty, your valid po number, valid info to place a valid production order - thus you would be Invoiced for payment and shipped to you.

    
    

**Attention** This is a public forum