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.
The Swagger tool on TI's site offers a v2 endpoint for Product Information API (/products). Using this results in the following:
The corresponding documentation looks like it is only for the v1 endpoint, we do not see any v2-specific documentation
The credentials I am using were granted on Aug 30th, so my assumption is that they are V2 ready.
Hi Dan,
It appears that you are not referencing v2 swagger. For Inventory and Pricing API, the swagger should look like below with "store" included in the pathname (see below). Please let me know if you have any other questions.
Hello Faye
I have a similar issue to Dan, I too get an error.
Could it be an issue with the token?
-Wilmer
Hi Wilmer,
Can you confirm that you are using the correct credentials with the v2 APIs? We believe you are trying to use your sandbox API credentials. If you don't know what the v2 credentials are please consult with your administrator. Please let us know what happens. Thank you.
Thanks for your help Faye, we have made some progress, we had multiple credentials and we were able to identify which one works correctly for the store API V2. We are currently having issues with the product info API. Using the same credentials as the store, I get an error for both V1 and V2 of product info. Do we need different credentials for store and for product info?
Hi Wilmer,
The SWAGGER feature is not working for V1, so, disregard the error information you see. I tested v1product API using v1 credentials and everything is working as expected. This should work in Insomnia or postman. Please let me know if you have any other problems.
Thanks for that but if you look at my screenshot above, I am in fact trying V2. I am able to get product information using V1, but not V2. You mention "v1 credentials" are you implying that there are distinct credentials for V1 vs. V2? That would be a bit odd as I can get V2 store information using V1 credentials. Would it be possible to escalate this to a quick call with your support team, I am sure it is something that we could settle easily on a call.
Hi Wilmer,
The screen shot you provided is the v1 API format. The v2 API format has "store" in the pathname (see below). Please use v2 credentials and you should be fine. If you want more info on the v2 product API call, please go to the API page ( https://api-portal.ti.com/inventory-pricing-api ). Please let me know if I can assist further.
Regards,
Faye
I think we have a disconnect, which is why I would like to hop on a quick call. My issue with the store has been resolved. I am now trying to access the product info API located on this page: https://api-portal.ti.com/product-information-api
It is this one that is giving me trouble. Below is a screenshot from Postman:
Wilmer,
Our product Info API was not replicated for our v2 API suite. So, we are still using the v1 product info (which is why I'm confusing you!). So, please do the following:
1. Change the query string as follows: https://transact.ti.com/v1/products/..part#...
2. Use your v2 credentials (key and secret)
Note: In the returned results, you will see "Contact TI" for inventory information. If you have approval for v2 APIs, please use the v2 Inventory and Pricing API (TI store Inventory and Pricing API | TI API Portal) and use your v2 credentials.
Our v2 product info API is in development. When I have a timeline, I will update you.
Hope this all works this time! Have a good weekend.
Faye
**Attention** This is a public forum