GraphQL commas in query string

New Member
3 0 0

I'm using a GraphQL query to find the Product ID by Variant SKU. However, many SKUs have embedded commas in them and this is resulting in GraphQL pulling in the first match up to the comma in the SKU.

I'm working in the Shopify GraphQL app as well as in Postman while developing

I tried using the \ as an escape character before the comma, but got a syntax error.

I tried \\, with the same results as no escape character at all

Here's the query:

  products(first: 1, query: "sku:WG STD QM, BKD MPL FB, TRANS AMBER") {
    edges {
      node {

Thanks for any insight!