订单接口执行报错
curl -X 'POST' \
'transact.ti.com/.../test' \
-H 'accept: application/json' \
-H 'Authorization: Bearer sh3MdT9V5GGguxpdtRtOU3qkh6lW' \
-H 'Content-Type: application/json' \
-d '{
"order": {
"checkoutProfileId": "[已设置]",
"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
}
]
}
}'
返回
{
"fault": {
"faultstring": "Invalid API call as no apiproduct match found",
"detail": {
"errorcode": "keymanagement.service.InvalidAPICallAsNoApiProductMatchFound"
}
}
}