If I set the subscription to inventory stock to 250 pieces, a push will come that there are 250 pieces, but I still can't order it if it also comes with a limit of 10 pieces.
The push api for inventory should also take into account limits and not send a notification if it still cannot be ordered in the required quantity.
subscription request
{ "tiPartNumber": "SN74LVC1G97DCKR", "requestedQty": 250, "autoSubscribe": true }
subscription response
{ "tiPartNumber": "SN74LVC1G97DCKR", "requestedQty": 250, "currency": "USD", "autoSubscribe": true, "expirationDate": "2024-02-19", "creationTs": "2024-01-16T12:51:20+0000", "lastUpdatedTs": "2024-01-20T10:51:22+0000" }
push notification
{ "type": "inventory", "data": { "tiPartNumber": "SN74LVC1G97DCKR", "genericPartNumber": "SN74LVC1G97", "buyNowUrl": "https://www.ti.com/product/SN74LVC1G97/part-details/SN74LVC1G97DCKR", "quantity": 250, "limit": 10, "inventory": [], "pricing": [ { "currency": "USD", "priceBreaks": [ { "priceBreakQuantity": 1, "price": 0.145 }, { "priceBreakQuantity": 100, "price": 0.094 }, { "priceBreakQuantity": 250, "price": 0.071 }, { "priceBreakQuantity": 1000, "price": 0.047 } ] } ], "futureInventory": [], "description": "Configurable Multiple-Function Gate", "minimumOrderQuantity": 1, "standardPackQuantity": 3000, "exportControlClassificationNumber": "EAR99", "htsCode": "8542390001", "pinCount": 6, "packageType": "SN74LVC1G97DCK_6_SOT-SC70_DCK", "packageCarrier": "CUT TAPE", "customReel": true, "lifeCycle": "ACTIVE" } }