在使用store/orders/test进行提交测试时报错,请帮助确认一下该错误是否会在正式提交时出现。

错误代码如下:
"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":"0",
                    "tiPartNumber":"TCAN1051VDQ1",
                    "quantity":"500",
                    "availableQuantity":"500"
                },
                {
                    "customerLineItemNumber":"0",
                    "tiPartNumber":"OPA4171AID",
                    "quantity":"70",
                    "availableQuantity":"70"
                },
                {
                    "customerLineItemNumber":"0",
                    "tiPartNumber":"OPA4171AIDR",
                    "quantity":"396",
                    "availableQuantity":"396"
                }
            ]
        },
        {
            "errorCode":"ERR-TICOM-ORDER-API-0008",
            "type":"Validation",
            "section":"Generic",
            "field":null,
            "reason":"Invalid VAT/Tax Invoice information.",
            "message":"Go back to your China VAT Invoicing section and provide the correct Tax details and resubmit the request.",
            "data":null
        },
        {
            "errorCode":"ERR-TICOM-ORDER-API-0004",
            "type":"Validation",
            "section":"Generic",
            "field":null,
            "reason":"Your company recently purchased TLV2313QDRQ1 and must wait 9 days before purchasing again.",
            "message":"Remove the item from your request and resubmit later when the inventory is available to order.",
            "data":null
        },
        {
            "errorCode":"ERR-TICOM-ORDER-API-0004",
            "type":"Validation",
            "section":"Generic",
            "field":null,
            "reason":"Your company recently purchased TCAN1051VDRQ1 and must wait 17 days before purchasing again.",
            "message":"Remove the item from your request and resubmit later when the inventory is available to order.",
            "data":null
        }
  • Hi Jenny,

    测试接口的测试结果,不会影响到正式环境。

  • "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":"0",
                        "tiPartNumber":"TCAN1051VDQ1",
                        "quantity":"500",
                        "availableQuantity":"500"
                    },
                    {
                        "customerLineItemNumber":"0",
                        "tiPartNumber":"OPA4171AID",
                        "quantity":"70",
                        "availableQuantity":"70"
                    },
                    {
                        "customerLineItemNumber":"0",
                        "tiPartNumber":"OPA4171AIDR",
                        "quantity":"396",
                        "availableQuantity":"396"
                    }
                ]

    这里显示的是出错的物料吗? 看错误提示文字是下单数量超出了可用数量,但是看数据的话quantity和availableQuantity是一样的。为什么会超出数量呢?

    ERR-TICOM-ORDER-API-0008 提示是增值税发票信息错误。如果用store/order提交到正式环境,是否会出现相同错误。需要如何修改?

    ERR-TICOM-ORDER-API-0004 提示有购买周期限制。正式环境中的购买周期是多久呢?

  • Hi Jenny,

    ERR-TICOM-ORDER-API-0008 是税务信息错误,请尝试修改更正税务信息后,重新进行测试。

    ERR-TICOM-ORDER-API-0004 不同物料的购买周期不尽相同,具体请联系 Sales 或者 CSC进行咨询。