filter bug in Orders connection

YuTomori
Tourist
14 0 2

Hi!

I send the GraphQL query to Shopify API as below.

query {
  orders(first: 10, query:"(updated_at:>=2021-08-01 updated_at:<2021-08-02) AND (fulfillment_status:OPEN OR fulfillment_status:SUCCESS)") {
    edges {
      node {
        id
        updatedAt
        currentSubtotalLineItemsQuantity
        fulfillable
      }
    }
  }
}

Then, I got the response like this.

{
  "data": {
    "orders": {
      "edges": [
        {
          "node": {
            "id": "gid:\/\/shopify\/Order\/xxxxxxxxx",
            "updatedAt": "2021-07-31T15:14:11Z",
            "currentSubtotalLineItemsQuantity": 1,
            "fulfillable": false
          }
        }
      ]
    }
}

I took the filter, updatedAt > 2021-08-01, but the Order which was updated at 2021-07-31 was hit.

Is it a bag? 

Replies 0 (0)