Hello,
I am trying to place an order using create order api. Following is my curl request :
curl --request POST \
--url 'https://sandbox.dev.clover.com/v3/merchants/*****/orders?access_token=******' \
--header 'content-type: application/json' \
--data '{"orderType":{"taxable":"false","isDefault":"false","filterCategories":"false","isHidden":"false","isDeleted":"false","id":"1","labelKey":"test","label":"test"},"taxRemoved":"false","lineItems":[{"item":{"id":"HNY6YV530YVJ4"},"printed":"false","exchangedLineItem":{},"exchanged":"false","refunded":"false","refund":{"orderRef":{},"device":{},"payment":{},"employee":{},"overrideMerchantTender":{},"serviceChargeAmount":{},"germanInfo":{},"appTracking":{},"cardTransaction":{"extra":{},"vaultedCard":{}},"transactionInfo":{"identityDocument":{"payment":{}},"isTokenBasedTx":"false","emergencyFlag":"false","promotionalMessage":{},"eCommTransactionInfo":{"storedCredentials":{"installment_info":{}}},"sepaElvTransactionInfo":{}},"merchant":{}},"isRevenue":"false","printGroup":{},"id":"*****","name":"Test","price":18}],"currency":"USD","title":"test","note":"test"}'
It is giving following error :
{
"message":
"Referenced order type does not exist"
}
Can you please elaborate on what is missing or because of which I am getting this error