We are trying to send a testorder with the following JASON data:
{
"order": {
"checkoutProfileId": "<Checkout ProfileId replaced with this text",
"customerPurchaseOrderNumber": "1",
"endCustomerCompanyName": "1",
"customerOrderComments": [
{
"message": "1"
}
],
"lineItems": [
{
"customerLineItemNumber": 1,
"tiPartNumber": "NE555DR",
"customerPartNumber": "1",
"quantity": 1,
"customerItemComments": [
{
"message": "1"
}
]
}
]
}
}
But we keep getting the error:
{'errors': [{'section': 'Generic', 'errorType': 'BadRequest', 'errorCode': 'ERR-TICOM-ORDER-API-00400', 'reason': 'Invalid Syntax in request JSON', 'message': 'There is an error in the syntax. Please correct the syntax (i.e extra comma, missing comma, missing bracket, etc.) and try again.'}]}
What are we doing wrong?
Kind regards,
John Belmer