# Sending queries for multiple values

**URL:** <https://community.shiphero.com/t/sending-queries-for-multiple-values/1479>\
**Category:** GraphQL API\
**Created:** [August 10, 2021, 12:45pm UTC](https://community.shiphero.com/t/sending-queries-for-multiple-values/1479 "2021-08-10T12:45:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![hmztsc](https://avatars.discourse-cdn.com/v4/letter/h/71c47a/32.png) [@hmztsc](https://community.shiphero.com/u/hmztsc)\
**Post date:** [August 10, 2021, 12:45pm UTC](https://community.shiphero.com/t/sending-queries-for-multiple-values/1479/1 "2021-08-10T12:45:13Z")

</div>

I saw 2 following posts but

> [@Sending queries for multiple values of the same criteria](https://community.shiphero.com/t/sending-queries-for-multiple-values-of-the-same-criteria/1144/2):
>
> Hi @jeremyw! We don’t have the ability to do this at the moment. We do have on our scope to be able to use GraphQL Aliases, which will allow you to get a bunch of them at once. Example: query { aliasOne: product(sku: "1122334464") { request\_id complexity data { sku name barcode } } aliasTwo: product(sku: "1122334466") { request\_id complexity data { sku name barcode } } } But we don’t have an ETA on when this might be…

> [@Multiple Values When Querying By Store](https://community.shiphero.com/t/multiple-values-when-querying-by-store/503):
>
> Is it possible to provide an enumerated list of values which are “or”-ed together when filtering on a field? Basically I’d like to be able to do something like: query { orders(shop\_name="example.myshopify.com|test2.myshopify.com|My Amazon Account") { id shop\_name partner\_order\_id order\_date order\_number } } This would be more beneficial to me as we’re reading many shops data at once instead of running the same query multiple times. I did test a …

I didn’t see a new

Is this feature available?

or

Which query do you recommend for maximum performance?

I don’t want to get query one by one

---

<div class="post-metadata">

**Author:** ![Theresa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/theresa/32/377_2.png) [@Theresa](https://community.shiphero.com/u/Theresa)\
**Post date:** [August 10, 2021, 2:35pm UTC](https://community.shiphero.com/t/sending-queries-for-multiple-values/1479/2 "2021-08-10T14:35:46Z")

</div>

Hi @hmztsc, welcome!  
What is the information that you will be querying?

---

<div class="post-metadata">

**Author:** ![hmztsc](https://avatars.discourse-cdn.com/v4/letter/h/71c47a/32.png) [@hmztsc](https://community.shiphero.com/u/hmztsc)\
**Post date:** [August 10, 2021, 2:50pm UTC](https://community.shiphero.com/t/sending-queries-for-multiple-values/1479/3 "2021-08-10T14:50:01Z")

</div>

Hi Everbody !

partner order id and tracking number in orders

---

<div class="post-metadata">

**Author:** ![Theresa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/theresa/32/377_2.png) [@Theresa](https://community.shiphero.com/u/Theresa)\
**Post date:** [August 10, 2021, 3:25pm UTC](https://community.shiphero.com/t/sending-queries-for-multiple-values/1479/4 "2021-08-10T15:25:47Z")

</div>

This will give you both in one query:

```auto
query {
  orders(order_number: "XX ordernumber here XX") {
    data {
      edges {
        node {
          partner_order_id
         shipments{
          shipping_labels{
            tracking_number
          }
        }
        }
      }
    }
    request_id
    complexity
  }
}

```

---

<div class="post-metadata">

**Author:** ![hmztsc](https://avatars.discourse-cdn.com/v4/letter/h/71c47a/32.png) [@hmztsc](https://community.shiphero.com/u/hmztsc)\
**Post date:** [August 10, 2021, 3:35pm UTC](https://community.shiphero.com/t/sending-queries-for-multiple-values/1479/5 "2021-08-10T15:35:31Z")

</div>

Thank you for your attention but  
I need it for multiple products  
at once

---

<div class="post-metadata">

**Author:** ![Theresa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/theresa/32/377_2.png) [@Theresa](https://community.shiphero.com/u/Theresa)\
**Post date:** [August 11, 2021, 5:49pm UTC](https://community.shiphero.com/t/sending-queries-for-multiple-values/1479/6 "2021-08-11T17:49:53Z")

</div>

You originally asked about partner order id and tracking numbers. Those would be on the order level. What information would you be looking for on the product level?

---

<div class="post-metadata">

**Author:** ![hmztsc](https://avatars.discourse-cdn.com/v4/letter/h/71c47a/32.png) [@hmztsc](https://community.shiphero.com/u/hmztsc)\
**Post date:** [August 14, 2021, 12:22pm UTC](https://community.shiphero.com/t/sending-queries-for-multiple-values/1479/7 "2021-08-14T12:22:07Z")

</div>

Please review the links I quoted in the first message I sent.

---

<div class="post-metadata">

**Author:** ![Theresa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/theresa/32/377_2.png) [@Theresa](https://community.shiphero.com/u/Theresa)\
**Post date:** [August 17, 2021, 7:48pm UTC](https://community.shiphero.com/t/sending-queries-for-multiple-values/1479/8 "2021-08-17T19:48:55Z")

</div>

Ah, thank you. The question is if we can add multiples of the same parameter, in one query. The short answer is not right now, but I can check if that is something we will implement.
