i send this type of object in CREATE CUSTOM ORDER on https://sandbox.dev.clover.com/v3/merchants/merchantsID/orders
{
"orderType": {
"taxable": "false",
"isDefault": "false",
"filterCategories": "false",
"isHidden": "false",
"isDeleted": "false",
"id": "933GNCVHQFM4T",
"labelKey": "dine-in",
"label": "dine-in"
},
"taxRemoved": "false",
"currency": "USD",
"customers": [
{
"merchant": {
"id": "PKST1890A6671"
},
"id": "B0852SWPKDV3C",
"firstName": "Test",
"lastName": "Developer",
"addresses": [
{
"address1": "15A Avenue B",
"city": "Helmetta",
"country": "United States",
"state": "New Jersey",
"zip": "08828"
}
],
"emailAddresses": [
{
"emailAddress": "siddharthrangani2001@gmail.com"
}
],
"phoneNumbers": [
{
"phoneNumber": "9313112127"
}
]
}
],
"total": 1000,
"paymentState": "PAID",
"testMode": true,
"lineItems": [
{
"item": {
"id": "C5QDGG3785RZ2"
},
"printed": "false",
"exchanged": "false",
"refunded": "false",
"refund": {
"transactionInfo": {
"isTokenBasedTx": "false",
"emergencyFlag": "false"
}
},
"isRevenue": "false",
"name": "pizza",
"price": 1000
}
]
}
'
but when i send this request it will give only
why it can't take customer details and line item in create custom order API?