question

habib avatar image
habib asked habib commented

Whats is refrence Item id ? when i will pass any unique id its said id does not exist in atomic create order

Whats is refrence Item id ? when i will pass any unique id its said id does not exist in atomic create order

Orders
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian Deactivated answered habib commented

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.

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

habib avatar image habib commented ·

{"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}}

0 Likes 0 ·
habib avatar image habib commented ·

If i do not want to use clover inventory for food deliver order then which API is used to post our pickup order to clover server?

0 Likes 0 ·
habib avatar image
habib answered

{"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

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community