Can't acquire order from test link even if quantity is available.
store/order/test response
{ "orderInfo": { "orderNumber": "", "cartID": "C325530990", "checkoutProfileId": "", "currencyCode": "USD", "orderDate": "2022-09-08T00:14:01Z", "orderEntry": "API", "customerPurchaseOrderNumber": "2022-09-08T08:14:01Z", "orderStatus": "", "orderedBy": "Jānis ", "endCustomerCompanyName": "", "application": "Wired networking", "endEquipment": "Campus & branch switches", "intendedForMilitary": "No", "isProductionOrder": false, "totalOrderSummary": { "subTotal": 132180.72, "estimatedDiscountAmount": 0.0, "estimatedShippingCost": 0.0, "estimatedTaxes": 0.0, "orderTotal": 132180.72 }, "discounts": null, "lineItems": [ { "tiLineItemNumber": "0", "customerLineItemNumber": "1", "tiPartNumber": "AFE7799IABJ", "customerPartNumber": "AFE7799IABJ1", "tiPartDescription": "Quad-channel RF transceiver with dual feedback paths", "partType": "IC", "htsCode": "", "coCode": "", "quantity": 200, "shippedQuantity": 0, "unitPrice": 660.71, "netPrice": 132142.0, "dateCode": null, "batchCode": null, "status": "", "fees": null, "discounts": null, "packageInformation": { "carrier": "JEDEC TRAY (5+1)", "delivery": [ { "type": "Box or tray", "quantity": 200 } ] }, "waiverAvailable": "false", "trackingAndShipping": [ { "shippingFreightAccount": "TI", "trackingNumbers": [ { "shippingFromCountryCode": "Singapore", "serviceLevel": "", "shipDate": null, "masterTracking": null, "leg1Carrier": null, "leg1Tracking": null, "leg1TrackingURL": null, "leg2Carrier": null, "leg2Tracking": null, "leg2TrackingURL": null }, { "shippingFromCountryCode": "Shenzhen", "serviceLevel": "", "shipDate": null, "masterTracking": null, "leg1Carrier": null, "leg1Tracking": null, "leg1TrackingURL": null, "leg2Carrier": null, "leg2Tracking": null, "leg2TrackingURL": null } ], "invoices": [ ], "creditMemo": null } ], "customerItemComments": null, "notifications": [ { "topic": "Custom Reel", "detail": "Sorry, custom reel option is not available. Your request is being fulfilled with cut tape package carrier" } ] }, { "tiLineItemNumber": "1", "customerLineItemNumber": "2", "tiPartNumber": "NE555DR", "customerPartNumber": "NE555DR2", "tiPartDescription": "Single Precision Timer", "partType": "IC", "htsCode": "", "coCode": "", "quantity": 484, "shippedQuantity": 0, "unitPrice": 0.08, "netPrice": 38.72, "dateCode": null, "batchCode": null, "status": "", "fees": null, "discounts": null, "packageInformation": { "carrier": "LARGE T&R", "delivery": [ { "type": "Cut tape", "quantity": 484 } ] }, "waiverAvailable": "false", "trackingAndShipping": [ { "shippingFreightAccount": "TI", "trackingNumbers": [ { "shippingFromCountryCode": "Shenzhen", "serviceLevel": "", "shipDate": null, "masterTracking": null, "leg1Carrier": null, "leg1Tracking": null, "leg1TrackingURL": null, "leg2Carrier": null, "leg2Tracking": null, "leg2TrackingURL": null }, { "shippingFromCountryCode": "US", "serviceLevel": "", "shipDate": null, "masterTracking": null, "leg1Carrier": null, "leg1Tracking": null, "leg1TrackingURL": null, "leg2Carrier": null, "leg2Tracking": null, "leg2TrackingURL": null } ], "invoices": [ ], "creditMemo": null } ], "customerItemComments": null, "notifications": [ { "topic": "Custom Reel", "detail": "Sorry, custom reel option is not available. Your request is being fulfilled with cut tape package carrier" } ] } ], "shippingAddress": { "firstName": "Janis", "lastName": "Strautins", "company": "Mikrotik", "addressLine1": "214I Brivibas iela", "addressLine2": null, "city": "Riga", "stateRegion": "vidzeme suburb", "postalCode": "1039", "regionCode": "LV", "region": "Latvia", "email": "strautins@mikrotik.com", "phoneNumber": "26 167 775", "companyUrl": "www.mikrotik.com" }, "billingAddress": { "firstName": "Janis", "lastName": "Strautins", "company": "Mikrotik", "addressLine1": "214I Brivibas iela", "addressLine2": null, "city": "Riga", "stateRegion": "vidzeme suburb", "postalCode": "1039", "regionCode": "LV", "region": "Latvia", "email": "strautins@mikrotik.com", "phoneNumber": "26 167 775", "companyUrl": "www.mikrotik.com" }, "payment": { "type": null, "method": null, "bankTranferApproverEmail": null }, "taxInfo": { "taxExemption": false }, "vatDetails": [ { "type": "PVN", "details": [ { "customerTaxId": "40003286799", "customerName": null, "registrationAddress": null, "contactPhone": null, "contactMobilePhone": null, "contactEmail": null, "bankName": null, "bankAccountNumber": null } ] } ], "orderComments": [ { "message": "Testing" } ], "notifications": [ ] }, "errors": [ { "errorCode": "ERR-TICOM-ORDER-API-0004", "type": "Application", "section": "lineItems", "field": null, "reason": "Part number requested quantity is out of stock", "message": "Resubmit the request with a different quantity. Check the inventory levels for availability", "data": [ { "customerLineItemNumber": "1", "tiPartNumber": "AFE7799IABJ", "quantity": "200", "availableQuantity": "355" }, { "customerLineItemNumber": "2", "tiPartNumber": "NE555DR", "quantity": "484", "availableQuantity": "484" } ] } ] }
Errors about unavailable quantity, but in error object we can see that quantity for purchase is available.
{ "customerLineItemNumber": "1", "tiPartNumber": "AFE7799IABJ", "quantity": "200", "availableQuantity": "355" }, { "customerLineItemNumber": "2", "tiPartNumber": "NE555DR", "quantity": "484", "availableQuantity": "484" }
Also response object holds attribute orderInfo not
order as from documentation https://api-portal.ti.com/order-api#/TI%20store%20test%20order/post_store_orders_test on Code 422