Whats is refrence Item id ? when i will pass any unique id its said id does not exist in atomic create order
Please share your request. the atomic order endpoint only works with Clover inventory and the inventory must be created ahead of time. If you do not want to work with Clover inventory you will need to use a different API.
{"orderCart":{"serviceCharge":{"id":"2","name":"test","enabled":false,"percentage":2,"percentageDecimal":3},"lineItems":[{"item":{"id":"2"},"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":{},"sepaElvTransactionInfo":{}},"merchant":{}},"isRevenue":"false","printGroup":{},"id":"46546","name":"Pizza","alternateName":"Pizzas","price":12,"priceWithModifiers":10,"priceWithModifiersAndItemAndOrderDiscounts":12,"unitQty":12,"itemCode":"code004"}],"orderType":{"taxable":"false","isDefault":"false","filterCategories":"false","isHidden":"false","isDeleted":"false"},"groupLineItems":"false","id":"UUI126","currency":"USD","title":"Small Pizza","note":"test","clientCreatedTime":1}}
{"orderCart":{"serviceCharge":{"id":"2","name":"test","enabled":false,"percentage":2,"percentageDecimal":3},"lineItems":[{"item":{"id":"2"},"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":{},"sepaElvTransactionInfo":{}},"merchant":{}},"isRevenue":"false","printGroup":{},"id":"46546","name":"Pizza","alternateName":"Pizzas","price":12,"priceWithModifiers":10,"priceWithModifiersAndItemAndOrderDiscounts":12,"unitQty":12,"itemCode":"code004"}],"orderType":{"taxable":"false","isDefault":"false","filterCategories":"false","isHidden":"false","isDeleted":"false"},"groupLineItems":"false","id":"UUI126","currency":"USD","title":"Small Pizza","note":"test","clientCreatedTime":1}}
url
https://api.clover.com/v3/merchants/{ {mId}}/atomic_order/orders
1 Person is following this question.