TI E2E 英文论坛海量技术问答的中文版全新上线,可点击相关论坛查看,或在站内搜索 “参考译文” 获取。

TI-API: ORDER TEST API 內容要輸入什麼?

Part Number: TI-API

想要測試下訂單,我參考的網站說明,想了解如下的內容,有哪些是我要代換自己放進去的,又都各是從哪來的?

{
  "order": {
    "checkoutProfileId": "INSERT CHECKOUT PROFILE ID HERE",
    "customerPurchaseOrderNumber": "INSERT PO NUMBER HERE",
    "endCustomerCompanyName": "INSERT END CUSTOMER NAME HERE",
    "expediteShipping": false,
    "customerOrderComments": [
      {
        "message": "MY TEST ORDER"
      }
    ],
    "lineItems": [
      {
        "customerLineItemNumber": 1,
        "tiPartNumber": "NE555DR",
        "customerPartNumber": "MY CUSTOMER PARTNUMBER",
        "customReelIndicator": false,
        "quantity": 1,
        "customerItemComments": [
          {
            "message": "SOME COMMENT GOES HERE"
          }
        ]
      },
      {
        "customerLineItemNumber": 2,
        "tiPartNumber": "LM358PWR",
        "quantity": 1
      }
    ]
  }
}