FROM CACHE - en_header

GRAPHQL Order Query shows additional sales channel.

global_dbanks
New Member
7 0 0

Hello all, I am running the following query in the GraphiQL explorer and I'm seeing the sales channel "Online Store" in the response even though I am filtering for the "Point of Sale" sales channel.  Is there something wrong with my query? 

 

 

		{
			orders(query: "(sales_channel:Point of Sale) AND (created_at:2022-01-04)", first:50 )
      {
				edges {
					cursor
					node {
						id
            publication {
              id
              name
            }
            createdAt
						lineItems(first: 5) {
							edges {
								node {
									quantity
									sku
								}
							}
						}
					}
				}
				pageInfo {
					hasNextPage
				}
			}
		}

 

 

 

Replies 0 (0)