---
title: New query filter on SellingPlanGroups - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: 'https://shopify.dev/changelog/new-query-filter-on-sellingplangroups'
  md: 'https://shopify.dev/changelog/new-query-filter-on-sellingplangroups.md'
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2021-05-07T10:44:24-04:00'
  postedAt: '2021-05-07T00:00:00-04:00'
  updatedAt: '2024-02-02T10:05:01-05:00'
  effectiveAt: '2021-05-07T00:00:00-04:00'
---

May 7, 2021

Tags:

* API

# New query filter on SellingPlanGroups

Apps can now query `SellingPlanGroups` that were created by another app using the new Shopify API Search query term `app_id`.

The `app_id` can be one of the following terms:

1. CURRENT (`sellingPlanGroups(query:"app_id:CURRENT")`) - The default behavior, where it returns all `SellingPlanGroups` created by the requesting app.
2. ALL (`sellingPlanGroups(query:"app_id:ALL")`) - Returns all `SellingPlanGroups` from all apps.
3. An app id number (sellingPlanGroups(query:"app\_id:2525000000")) - Returns all `SellingPlanGroups` for the specified app id.

Learn more about the SellingPlanGroups query in the [query root documentation](https://shopify.dev/docs/admin-api/graphql/reference/common-objects/queryroot?api%5Bversion%5D=unstable#sellingplangroups-unstable).
