question

habib avatar image
habib asked David Marginian Deactivated answered

Clover Order API Integration

can you please any one let me know how to execute order create API in postman i am getting

{

"message": "Order ID in body does not match URI"

}

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.

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered

A sample curl is in our documentation, which I have previously linked to you:

https://docs.clover.com/docs/working-with-orders#creating-an-order

curl --request POST \
--url 'https://sandbox.dev.clover.com/v3/merchants/{mId}/orders' \
--header 'content-type: application/json' \
--header 'Authorization: Bearer {access_token}' \
--data '{"state":"open"}'

First, you create the order, with a state of open. You will need to make subsequent calls to add line-items, etc.

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