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.

About inventory and pricing API


We want to imprement "inventory and pricing" TI API, however we need to inquiry some subject.

1) As for obtaining and token and certification of token, shall we send ID and pass as plain text ?
2) As for querying inventory and pricing API, do we need to execute for each part number ? "Pattern A"
   Or can we receive all parts information from TI store and we sign up parts numbers which we necessary ? "Pattern B"
   If "Pattern B" is correct, shall we use "/store/products/catalog" which is written in
   "">api-portal.ti.com/store-inventory-pricing-api ?

Bsr Regards,

  • Hi Asano-san,

    I will try to answer your questions:

    1) Yes, please pass as plain text. 

    2) If you are using the "inventory and pricing" API, you can only supply one part number at a time.  If you want all parts, you can either use:

    -   the "base" part number (and get all "child" parts under that "base") or

    -   the "catalog" API (gets all parts in the catalog that are available on TI store.  Note:  If you use the "catalog" API, you can only execute this API 4x/day;

    Hope this helps!

  • Hello Rainey-san,

    Thank you for your quick responding.
    Let me inquire one more suject.

    As for inventory API which getting single parts informatoion ( as for my inquiry 2) your reply article 1),
    if we quary 100 parts number with 100 times inquarying, would API respond immidiately ?
    Or would it take several time such as 4 or 6 hours ?

    Thank you.

  • Excuse me, I had missed to write one sentence.

    If we want to query 100 parts number price and inventy, which API shall we use ?

    Which API is usuful for this issue ?

    Thank you.

  • Asano-san,

    We do not have a specific API that will allow you to list 100 unique part numbers and return the price/inventory information.

    The best way is to use the /store/products/catalog API (specify the currency).  It will return available quantity, limit you can purchase, price and other information for ALL of the parts that are available to purchase on TI store.  This will be more information than what you are looking for, but it is the best solution we have at this time.    Remember:  You can only execute this API 4 times a day (due to the volume). 

    If you are looking for something else, please explain further so that I can try and help.

  • Hi Fayne-san

    Thank you for your strong cooperation.

    I had informed your opinion to our sysytem team and they will check how they can support our system.

    If they understood it, let me push "this resolved my issue" later.

    Thank you !!

  • Asano-san,

    One more thing for your team to consider is using the /store/subscriptions/inventory/ API (https://api-portal.ti.com/store-inventory-subscription-push-api ).  It will take a little work, but, it may meet your needs if you want to be notified when we have the inventory for specific parts (in your case 100 different parts). 

    • A Subscription is a notification that can be configured to notify you when parts have been stocked up with the quantity that you need.  When a part has stocked up, this API will generate a notification that is sent to your configured API via an HTTP POST request.  Here's an FAQ that shows the details of the API.  There is no limit on the number of subscriptions you can have. You can set the subscriptions to be valid for up to 30 days; Once it expires, you can re-submit for additional 30 days if needed;

     The thought process is:

    • If TI stocks up with sufficient inventory to honor your subscription request, TI will return a payload back to your configured API; 
    • You could then programmatically, trigger the TI store order API ( https://api-portal.ti.com/store-order-api) to automatically place the order.

    The advantage here, is real-time product availability and order placement.   

     Just something to think about if product availability is your concern. 

  • Hello Rainey-san,

    Thank you for your additional information.

    I had talked with our system team and they had recognized what is needed.

    So that, I am pushin "This resolved my issue" at this time.

    Thank you.

  • Hello Rainey-san,

    Thank you for your support.

    We have additional inquiry.

    As for  /store/subscriptions/inventory/ API , our system team had tried and they could have successed to get result for one specific part number.

    However they want to try with several parts number and they said they want to try it.

    Would you let us know which test system we can use ?

    Our system team said they could have tried with one part number and want to know test program such as following.

    Thank you !

     

  • Asano-san,

    We do not offer any other testing beyond the "test" api on the portal (which is only testing to ensure that we can send a notification to your API endpoint).  After confirming this, you should set up a subscription payload and provide a part that you are interested in.  

    Before you do this, I noticed that you have not configured your subscription API settings.    You will not be able to use the subscription API until you have completed your setup.   Please do the following:

    1.  Login to your company account  by going back to myTI.com --> myTI dashboard --> API keys and access;  Click on the wheel, across from the Inventory Subscription API, and complete the requested setting information. (see pic below).

      

    Here are some best practices to follow when configuring your settings:

    • Use HTTPS webhook URLs with SSL encryption and a valid certificate.
    • The API should implement security scheme to restrict access. Token authentication method is preferred, but basic authentication is supported if required.
    • Do not use dynamic DNS, redirector, anonymizer or tor2web services.
    • Do not use offensive, abusive, fraudulent  or embargoed top-level domains.
    • If possible, the domain of your API URL should match your myTI customer domain.
    • Do not use IP addresses.
    • Do not use redirect or relay URL parameters.

    Let me know if you have other questions.

    Faye

  • Dear Rainey-san,

    Thank you for your cooperation.

    At finally, our system team had connected our system with API.

    Now we can  receive price and inventory infromation for TI parts.

    Can we inquire one more subject ?

    We want to know when TI system complete update of inventory and price information.

    I mean, we want to receive latest information, so we want to kick API after TI system updated inventory and price information.

    We are targetting to kick API 15 or 30 minutes after TI system completed its information.

    I suppose update would be done several tine in a day.

    Would you let us know the time which update is completed ?

    Thank you.

  • Asano-san,

    Pricing updates are not on a set schedule.

**Attention** This is a public forum