Inventory subscription push API
Test endpoint:
https://transact.ti.com/v2/store/subscriptions/inventory/test
Production endpoint:
https://transact.ti.com/v2/store/subscriptions/inventory
The inventory subscription push API will notify you when an out-of-stock item becomes available, with current pricing information. It uses webhooks to send real-time notifications to your system and can be used to trigger automation flows.
Important notes:
- This is for notifications only and does not reserve inventory.
- Subscriptions are automatically removed after a stock-up triggering event, unless the "autoSubscribe" flag is set.
- All subscriptions expire on their expiration date and will need to be resubmitted.
Inventory restock notification logic:
- You will not get notified if the current stock is already above your subscribed amount.
- You will only be notified if the stock falls below and then rises back up to (or above) your subscribed quantity.
Testing push notifications:
- Use the ".../store/subscriptions/inventory/test" endpoint.
- This will generate a test webhook sent to your configured API using an HTTP post request following the API specifications.
- It will then return the status code from your API.
Store inventory subscription flow overview
- Authentication: Get an access token using your assigned API key and secret.
- API request: Send a request to the inventory subscription API endpoint with the access token.
- API response: You will receive a response with a status code (200 OK) and a JSON.
Pictured below: Subscription push notification example
{
"type": "inventory",
"data": {
"tiPartNumber": "TESTOPN",
"genericPartNumber": "TESTGPN",
"buyNowUrl": "https://www.ti.com/product/TESTGPN/part-details/TESTOPN",
"quantity": 0,
"pricing": [
{
"currency": "USD",
"priceBreaks": [
{
"priceBreakQuantity": 1,
"price": 1.003
}
]
}
],
"description": "Test product for test nofication",
"minimumOrderQuantity": 1,
"standardPackQuantity": 75,
"exportControlClassificationNumber": "EAR99",
"htsCode": "0123456789",
"pinCount": 8,
"packageType": "TESTOPN_8_SOIC_D",
"packageCarrier": "TUBE",
"customReel": false,
"lifeCycle": "ACTIVE"
}
}
Store inventory subscription flow overview
- Authenticate with your assigned API key and secret.
- After you receive your access token, send a request to one of the inventory subscription APIs.
- The API will reply with a status code, 200 OK, and a JSON response.