question

belleza avatar image
belleza asked ·

Exchange lineItems programatically

Is there a way to exchange lineItems in an order programmatically?

This doesn't seem to work. https://www.clover.com/apidocs#ordersExchange

I am getting the following response.

HTTP/1.1 400 Bad Request content-length: 46 content-type: application/json; charset=utf-8 X-Frame-Options: SAMEORIGIN

{"message":"Request must contain a line item"}

LineItems
2 comments
10 |2000 characters needed characters left characters exceeded

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

Any update on this. The exchange API doesn't seem to work.

https://www.clover.com/apidocs#ordersExchange

0 Likes 0 · ·

Command: curl -i -X POST -H "Content-Type: application/json" --header "Authorization: Bearer XXXXXXXXXXXXXXXXX" https://api.clover.com:443/v3/merchan...

Response: HTTP/1.1 400 Bad Request content-length: 46 content-type: application/json; charset=utf-8 X-Frame-Options: SAMEORIGIN

{"message":"Request must contain a line item"}[

0 Likes 0 · ·

0 Answers

Welcome to the
Clover Developer Community