question

per234u avatar image
per234u asked

Issue when creating Order Type via API

We have integrated our website orders to Clover. The orders pass through to clover without issue but when trying to assign an Order Type for each online order , it is asking for a string. We only have the option to enter text under Order Types in Account & Setup. Where do i get a string in clover? We have Station 2018. Any inputs please


In the clover docs, i found the below and order type highlighted in green.

--url https://sandbox.dev.clover.com/v3/merchants/{mId}/atomic_order/orders \ --header 'accept: application/json' \ --header 'authorization: Bearer {OAuth Token}' \ --header 'content-type: application/json' \ --data ' { "orderCart": { "discounts": [ { "name": "$2 Tuesday", "amount": -200 } ], "lineItems": [ { "item": { "id": "MXHW24RNRHW16" }, "printed": "false", "exchanged": "false", "modifications": [ { "modifier": { "available": "true", "price": "0" }, "id": "4KAZY3PXJQ4P0", "name": "Whip Cream", "amount": 25 } ], "refund": { "transactionInfo": { "isTokenBasedTx": "false", "emergencyFlag": "false" } } } ], "orderType": { "id": "GAM80DMM3DEDG" }, } } '

OrdersREST API
10 |2000

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

0 Answers

·

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