想要測試下訂單,我參考的網站說明,想了解如下的內容,有哪些是我要代換自己放進去的,又都各是從哪來的?
{
"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
}
]
}
}
CheckoutProfile ID 需要填写您的真实ID, 您在company account 里申请API的同时会同时填写付款信息,等您的账号Approve后会显示属于你自己的checkoutprofile 信息。