question

01928-7325x2 avatar image
01928-7325x2 asked 01928-7325x2 commented

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

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

Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

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 ·
01928-7325x2 avatar image 01928-7325x2 Jeffrey Blattman ♦♦ commented ·

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 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ 01928-7325x2 commented ·

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 ·
01928-7325x2 avatar image 01928-7325x2 commented ·
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