New query filter on SellingPlanGroups
API
Effective May 07, 2021
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:
- CURRENT (
sellingPlanGroups(query:"app_id:CURRENT")
) - The default behavior, where it returns allSellingPlanGroups
created by the requesting app. - ALL (
sellingPlanGroups(query:"app_id:ALL")
) - Returns allSellingPlanGroups
from all apps. - 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.