question

citolen avatar image
citolen asked ·

Create order works on sandbox but not in production

POST on https://sandbox.dev.clover.com/v3/mer...

{
  "href": "https://sandbox.dev.clover.com/v3/merchants/{mId}/orders/MACCSY2T6Z5DW",
  "id": "MACCSY2T6Z5DW",
  "currency": "USD",
  "employee": {
    "id": "..."
  },
  "taxRemoved": false,
  "isVat": false,
  "manualTransaction": false,
  "groupLineItems": true,
  "testMode": false,
  "createdTime": 1465872705000,
  "clientCreatedTime": 1465872705000,
  "modifiedTime": 1465872705000
}

POST on https://clover.com/v3/merchants/{mId}...

{
  "elements": [],
  "href": "http://www.clover.com/v3/merchants/{mId}/orders?filter=stateIS%20NOT%20NULL&limit=100"
}

I've tried POST with different data:

{}
{"state":"OPEN"}
{"note":"...","title":"...","orderType":{"id":"..."}, "state": "..."}

Each of them work on sandbox.

Is there a reason why on production it would return the same as doing a GET /v3/merchants/{mId}/orders and not create an order ?

OrdersSandbox
1 comment
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.

Any specific errors?

0 Likes 0 · ·

0 Answers

Welcome to the
Clover Developer Community