TI-API: 最近一段时间调用下单API出现422,之前是OK的,帮忙看下什么原因,谢谢

Part Number: TI-API

最近一段时间调用下单API出现422,之前是OK的,请帮忙看下什么原因

单条数据:

多条数据:

{

    "order": {

        "checkoutProfileId": "F50****************************DC6",

        "customerPurchaseOrderNumber": "VT029049",

        "endCustomerCompanyName": "WWTS",

        "expediteShipping": "false",

        "customerOrderComments": [{

            "message": ""

        }],

        "lineItems": [{

            "customerLineItemNumber": 1,

            "tiPartNumber": "UCC28C57HDR",

            "customerPartNumber": "34128570R1F",

            "customReelIndicator": "false",

            "quantity": 265,

            "customerItemComments": [{

                "message": ""

            }]

        }, {

            "customerLineItemNumber": 2,

            "tiPartNumber": "TLV9064IPWR",

            "customerPartNumber": "31290640R1F",

            "customReelIndicator": "false",

            "quantity": 210,

            "customerItemComments": [{

                "message": ""

            }]

        }, {

            "customerLineItemNumber": 3,

            "tiPartNumber": "LM2903PWR",

            "customerPartNumber": "31929033R1F",

            "customReelIndicator": "false",

            "quantity": 265,

            "customerItemComments": [{

                "message": ""

            }]

        }]

    }

}

  • Hi Jones,

    我在后台看到error log中显示是你的LOC账号有问题,

    "reason": "Invalid Line of Credit. ",
          "message": "Check your line of credit information and provide the correct information and resubmit the request
    我用checkout profile API调取看了下您的shipping/billing address 应该是有问题的,烦请重新修改,谢谢。
    [
      {
        "checkoutProfileId": "F5xxxxxC6",
        "checkoutProfileName": "shippment",
        "shippingAddressName": "shipping address",
        "billingAddressName": "Billing address"
      }
    ]