question

ydev avatar image
ydev asked ·

Clover REST API Cannot Find Order

Testing an order creation of Clover REST API.
The order created successfully and returned order id.
Ref: https://www.clover.com/api_docs/#!/orders/CreateOr...

But when trying to get information about the order ID, got response:
{"details":"Order not found","message":"Not Found"}
Ref: https://www.clover.com/api_docs/#!/orders/GetOrder

Same issue happened a couple days ago. And this happening again.

OrdersREST API
4 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.

Are you saying that you create an order, then attempt to fetch the order and you get a 404? Can you explain when this happens or how to reproduce?

0 Likes 0 · ·
ydev avatar image ydev Jeffrey Blattman ♦♦ ·

It's happening when I open this thread.
How to reproduce, simply create and order and fetch it.
I also test using the API docs page, same result.

Now everything backs to normal.

0 Likes 0 · ·

Obviously order creation works in general or every Clover device in the field would be failing. It would be useful if you could post some example code that can duplicate the problem. Please read this: https://community.clover.com/page/asking-questions and update your question. You should be able to post a script that, using CURL, can reproduce the problem,

0 Likes 0 · ·
It's pure calling create order API and then fetch the order using the returned order ID from the first API call. No additional code as I replicated the issue on Clover API docs page.
It works normally now.

Closed.


0 Likes 0 · ·

0 Answers

Welcome to the
Clover Developer Community