question

davidmonsterwang121 avatar image
davidmonsterwang121 asked kevin43 edited

How to add a test order to my test app?

Hello, everyone.

I am creating a test app in sandbox environment.

I have implemented to get all orders by calling clover rest api with merchant_id and access_token.

It returns empty array since there are no order history. so I want to add some test orders.

How can I do this?


Thank you.

App Market
10 |2000

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

bryanvargas avatar image
bryanvargas answered
10 |2000

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

kevin43 avatar image
kevin43 answered kevin43 edited

To add test orders, use the Clover API's `POST` endpoint for creating orders. Ensure your request includes all necessary parameters and data.

Similar to setting up IQ test scenarios, properly configuring your API requests will populate your order history in the sandbox environment.

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