API配置好可以查库存,但是下单一直提示失败
[422 Unprocessable Entity] during [POST] to [https://transact.ti.com/v2/store/orders/test] [StoreOrderServiceI#testAdd(String,OrderCreate)]: [{"orderInfo":{"orderNumber":"","cartID":"C340604295","checkoutProfileId":"xxxxx","currencyCode":"CNY","orderDate":"2022-11-30T21:18:36Z","orderEntry":"API","customerPurchase... (3337 bytes)]
Hi Zhou,
我查看到您的错误信息为 ERR-TICOM-ORDER-API-0004,Your company recently purchased xxxx and must wait 29 days before purchasing again.
您测试的物料有购买周期限制。你可以切换其他物料进行测试。
换了一个物料下单测试,仍然失败,提示如下
[500 Internal Server Error] during [POST] to [https://transact.ti.com/v2/store/orders/test] [StoreOrderServiceI#testAdd(String,OrderCreate)]: [{"orderInfo":{"orderNumber":"","cartID":"C340893072","checkoutProfileId":"EDCABEFDD19784A2E0538620BB8B92DF","currencyCode":"CNY","orderDate":"2022-12-01T18:28:44Z","orderEntry":"API","customerPurchase... (3242 bytes)]
你好, 还是报错,试了3个物料均下单失败;报错如下:
状态码:422 UNPROCESSABLE_ENTITY,响应体:{"orderInfo":{"orderNumber":"","cartID":"C342144066","checkoutProfileId":"xxxxxx","currencyCode":"CNY","orderDate":"2022-12-04T20:29:53Z","orderEntry":"API","customerPurchaseOrderNumber":"MT20221205T022952792Z9368","orderStatus":"","orderedBy":"zhou hailiu","endCustomerCompanyName":"","application":"Advanced driver assistance systems (ADAS)","endEquipment":"Medium/short range radar","intendedForMilitary":false,"isProductionOrder":false,"totalOrderSummary":{"subTotal":793.95,"estimatedDiscountAmount":0.0,"estimatedShippingCost":0.0,"estimatedTaxes":0.0,"orderTotal":793.95},"discounts":null,"lineItems":[{"tiLineItemNumber":"0","customerLineItemNumber":"null","tiPartNumber":"DRV8832QDGQRQ1","customerPartNumber":"1","tiPartDescription":"Automotive 7-V, 1-A, H-bridge motor driver with voltage regulation","partType":"IC","htsCode":"","coCode":"","quantity":50,"shippedQuantity":0,"unitPrice":15.879,"netPrice":793.95,"dateCode":null,"batchCode":null,"status":"","fees":null,"discounts":null,"packageInformation":{"carrier":"LARGE T&R","delivery":[{"type":"Cut tape","quantity":50}]},"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}],"invoices":[],"creditMemo":null}],"customerItemComments":null,"notifications":[]}],"shippingAddress":{"firstName":"hailiu","lastName":"zhou","company":"Shanghai M uniu Technology Co., Ltd","addressLine1":"Floor 2. Building12 No.14","addressLine2":".Lane 258 Yinlong Road Jiading Dist","city":"Shanghai","stateRegion":"Shanghai","postalCode":"201814","regionCode":"CN","region":"China","email":"hailiu@muniu.tech","phoneNumber":"156 0169 2580","companyUrl":""billingAddress":{"firstName":"hailiu","lastName":"zhou","company":"Shanghai">www.muniutech.cn/"},"billingAddress":{"firstName":"hailiu","lastName":"zhou","company":"Shanghai M uniu Technology C
状态码:500 INTERNAL_SERVER_ERROR,响应体:{"orderInfo":{"orderNumber":"","cartID":"C342147299","checkoutProfileId":"xxxxxx","currencyCode":"CNY","orderDate":"2022-12-04T21:19:51Z","orderEntry":"API","customerPurchaseOrderNumber":"MT20221205T031951074Z9324","orderStatus":"","orderedBy":"zhou hailiu","endCustomerCompanyName":"","application":"Advanced driver assistance systems (ADAS)","endEquipment":"Medium/short range radar","intendedForMilitary":false,"isProductionOrder":false,"totalOrderSummary":{"subTotal":51.32,"estimatedDiscountAmount":0.0,"estimatedShippingCost":80.0,"estimatedTaxes":17.07,"orderTotal":148.39},"discounts":null,"lineItems":[{"tiLineItemNumber":"0","customerLineItemNumber":"null","tiPartNumber":"SN65HVD1792TDREP","customerPartNumber":"1","tiPartDescription":"Fault-Protected RS-485 Transceiver With Extended Common-Mode Range","partType":"IC","htsCode":"","coCode":"","quantity":1,"shippedQuantity":0,"unitPrice":51.316,"netPrice":51.32,"dateCode":null,"batchCode":null,"status":"","fees":null,"discounts":null,"packageInformation":{"carrier":"LARGE T&R","delivery":[{"type":"Cut tape","quantity":1}]},"waiverAvailable":"false","trackingAndShipping":[{"shippingFreightAccount":"TI","trackingNumbers":[{"shippingFromCountryCode":"Shenzhen","serviceLevel":"International economy","shipDate":null,"masterTracking":null,"leg1Carrier":null,"leg1Tracking":null,"leg1TrackingURL":null,"leg2Carrier":null,"leg2Tracking":null,"leg2TrackingURL":null}],"invoices":[],"creditMemo":null}],"customerItemComments":null,"notifications":[]}],"shippingAddress":{"firstName":"hailiu","lastName":"zhou","company":"Shanghai M uniu Technology Co., Ltd","addressLine1":"Floor 2. Building12 No.14","addressLine2":".Lane 258 Yinlong Road Jiading Dist","city":"Shanghai","stateRegion":"Shanghai","postalCode":"201814","regionCode":"CN","region":"China","email":"hailiu@muniu.tech","phoneNumber":"156 0169 2580","companyUrl":""billingAddress":{"firstName":"hailiu","lastName":"zhou","company":"Shanghai">www.muniutech.cn/"},"billingAddress":{"firstName":"hailiu","lastName":"zhou","company":"Shanghai M uniu Technology Co., Ltd","addressLine1":"Floor 2. Building12 No.14","addressLine2":".Lane 258 Yinlong Road Jiading Dist","city":"Shanghai","stateRegion":"Shanghai","postalCode":"201814","regionCode":"CN","region":"China","email":"hailiu@muniu.tech","phoneNumber":"156 0169 2580","companyUrl":,"bankAccountNumber":"xxx"}]}],"orderComments":[{"message":"zhouhailiu"}],"notifications":[]},"errors":[{"errorCode":"ERR-TICOM-ORDER-API-GEN-0500","type":"Application","section":"Orders","field":null,"reason":"We encountered a technical issue in processing your request.","message":"The API is temporarily unavailable. Please retry, if the issue persists, Please contact TI customer support - "data":null}]}">support.ti.com/csm","data":null}]}
报错内容"errorCode":"ERR-TICOM-ORDER-API-GEN-0500","type":"Application","section":"Orders","field":null,"reason":"We encountered a technical issue in processing your request.","message":"The API is temporarily unavailable. Please retry, if the issue persists, Please contact TI customer support - "data":null}]}">support.ti.com/csm","data":null}]}
Hi,
ERR-TICOM-ORDER-API-GEN-0500是缺少CNY交易权限。现已为您提交开通申请。
三个物料的限制解除申请也已提交。请不要在测试环境中使用您将来准备在生产环境中购买的物料。