From 4115a0d52cb7ee01f6a14bbd399d65aa6d36444c Mon Sep 17 00:00:00 2001 From: Jared Hoover Date: Wed, 2 Sep 2026 17:13:28 -0500 Subject: [PATCH 1/2] SCP Example --- .../schema/store/queries/store-config.md | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/src/pages/graphql/schema/store/queries/store-config.md b/src/pages/graphql/schema/store/queries/store-config.md index d8ac90123..9b46699c2 100644 --- a/src/pages/graphql/schema/store/queries/store-config.md +++ b/src/pages/graphql/schema/store/queries/store-config.md @@ -223,6 +223,40 @@ The following query returns information about the store's customer configuration } ``` +### Query a store's persistent cart and account sharing configuration + +The following query returns the store's persistent shopping cart settings (**Stores** > Settings > **Configuration** > **Customers** > **Persistent Shopping Cart**) and the account sharing scope (**Stores** > Settings > **Configuration** > **Customers** > **Customer Configuration** > **Account Sharing Options** > **Share Customer Accounts**). + +The `share_customer_accounts_scope` field returns `0` when customer accounts are shared globally across all stores and `1` when accounts are scoped per website. + +**Request:** + +```graphql +{ + storeConfig { + persistent_enabled + persistent_shopping_cart + persistent_options_wishlist + share_customer_accounts_scope + } +} +``` + +**Response:** + +```json +{ + "data": { + "storeConfig": { + "persistent_enabled": true, + "persistent_shopping_cart": true, + "persistent_options_wishlist": false, + "share_customer_accounts_scope": 0 + } + } +} +``` + ### Query a store's access token expiration configuration The following query returns the value of the **Stores** > Settings > **Configuration** > **Services** > **OAuth** > **Access Token Expiration** > **Customer Token Lifetime (hours)** field. From 3791fe6baefc4b6d4672f4d3fe61c79ce2163556 Mon Sep 17 00:00:00 2001 From: Jared Hoover Date: Thu, 3 Sep 2026 12:39:42 -0500 Subject: [PATCH 2/2] add saas tag --- src/pages/graphql/schema/store/queries/store-config.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/graphql/schema/store/queries/store-config.md b/src/pages/graphql/schema/store/queries/store-config.md index 9b46699c2..d46618446 100644 --- a/src/pages/graphql/schema/store/queries/store-config.md +++ b/src/pages/graphql/schema/store/queries/store-config.md @@ -225,6 +225,8 @@ The following query returns information about the store's customer configuration ### Query a store's persistent cart and account sharing configuration + + The following query returns the store's persistent shopping cart settings (**Stores** > Settings > **Configuration** > **Customers** > **Persistent Shopping Cart**) and the account sharing scope (**Stores** > Settings > **Configuration** > **Customers** > **Customer Configuration** > **Account Sharing Options** > **Share Customer Accounts**). The `share_customer_accounts_scope` field returns `0` when customer accounts are shared globally across all stores and `1` when accounts are scoped per website.