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.

[FAQ] TI-API: 订单API错误代码 : ERR-TICOM-ORDER-API-0004

Part Number: TI-API

我可以采取哪些步骤来解决不同情况下的错误代码?

  • 具体场景 错误详情 补救步骤

    客户请求数量不可用 
     
    {
    	"orderInfo": {
    	},
    	"errors": [
    		{
    			"errorCode": "ERR-TICOM-ORDER-API-0004",
    			"type": "lineItems",
    			"section": "Orders",
    			"field": null,
    			"reason": "Part number requested quantity is out of stock",
    			"message": "Resubmit the request with different quantity. Check the inventory levels for availability",
    			"data": [
    				{
    					"customerLineItemNumber": "1",
    					"tiPartNumber": "ISO7710FDWR",
    					"quantity": "4000",
    					"availableQuantity": "0"
    				}
    			]
    		}
    	]
    }
    1. 通过 TI store 库存和定价 API 重新检查所请求器件型号的库存水平。
    2. 重新提交您的订单请求,以获得小于/等于可用数量的数量。
    分段限制
    {
    	"orderInfo": {
    		"orderNumber": "",
    		"cartID": "C302442926",
    		"checkoutProfileId": "E413536FFF3EDB2CE053E220BB8BAFA6",
    		"currencyCode": "USD"............
    	},
    	"errors": [
    		{
    			"errorCode": "ERR-TICOM-ORDER-API-0004",
    			"type": "Application",
    			"section": "lineItems",
    			"field": quantity,
    			"reason": "Your company recently purchased 74ACT11139PWR and must wait 28 days before purchasing again. ",
    			"message": "Remove the part number from your request and resubmit later when the inventory is available to order.",
    			"data": null
    		}
    	]
    }

    从您的订单中移除此行商品,稍后再重新提交此商品的请求。

    注意:请确认上次购买日期、财务、买家或管理员可以登录公司帐户,并找到"订单"磁贴上的"订单历史记录"链接。 订单历史记录中的搜索功能适用于订单上的任何字段。

    如果 isMilitary 标志为 true,则库存尚未满足
    {
    	"orderInfo": {
    	},
    	"errors": [
    		{
    			"errorCode": "ERR-TICOM-ORDER-API-0004",
    			"type": "Application",
    			"section": "lineItems",
    			"field": null,
    			"reason": "Part number is  designated as military end use, inventory level requested is unavailable.",
    			"message": " Please recheck Inventory availability and resubmit.",
    			"data": [
    				{
    					"customerLineItemNumber": "1",
    					"tiPartNumber": "UC2842AQD8R",
    					"quantity": "4000",
    					"availableQuantity": "10500"
    				}
    			]
    		}
    	]
    }
    1. 通过 TI store 库存和定价 API 重新检查所请求器件型号的库存水平。
    2. 重新提交您的订单请求,以获得小于/等于可用数量的数量。
    3. 如无可用数量,请从订单中移除此行项目,并在库存可用时单独重新提交此项目的请求。