question

jordonshaw avatar image
jordonshaw asked jordonshaw answered

Custom Orders not showing up in orders

I can create orders with the atomic order endpoint and have no issues at all. The problem is, I can't set my own price, so I need to create a custom order. When I do, I get a success message and I get an ID for the order and everything looks right. I look on the terminal and the order doesn't show up. I query the orders endpoint and the order doesn't show up; however, I query the orders endpoint for the order ID I got and the order shows up without any issues. I cannot for the life of me figure out what's going on. Any help you all can provide would be greatly appreciated!

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.

parquet76 avatar image
parquet76 answered

https://docs.clover.com/docs/creating-custom-orders

Did you set the order state per the documentation?

10 |2000

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

jordonshaw avatar image
jordonshaw answered

Yep, that was the issue. I didn't need order state for the atomic order, but do for the custom order. Thanks!

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