First time with Clover API. I'm looking to generate a bunch of dummy data so that I can pull info form GetPayments with a sandbox merchant account (I'm generating sales reports with my app in a certain way).
Before I code this, I'm looking to do it in the API Explorer. After pouring through the docs, examples, and the API Explorer, I believe I have to do this:
- Create an order (with CreateOrder)
- Set a price on that order with a lineitem (with CreateLineItem)
- Associate order with a customer (with UpdateOrder)
- Add Payment to Order (with UpdateOrder)
- When I run GetPayments, I should see the payment.
Can someone confirm this, and/or correct my understanding? Thank you.