Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Harper <[email protected]>
  • Loading branch information
meker12 and keharper authored Aug 15, 2024
1 parent b8a8aa9 commit b213cce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/_includes/graphql/catalog-service/headers.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Header | Description
--- | ---
`Magento-Customer-Group` | Specify the [the customer group code](#find-the-customer-group-code) for the API request.
`Magento-Customer-Group` | Specify the [customer group code](#find-the-customer-group-code) for the API request.
`Magento-Environment-Id` | This value is displayed at **System** > **Commerce Services Connector** > **SaaS Identifier** > **Data Space ID** or can be obtained by running the `bin/magento config:show services_connector/services_id/environment_id` command.
`Magento-Store-Code`| The code assigned to the store associated with the active store view. For example, `main_website_store`.
`Magento-Store-View-Code`| The code assigned to the active store view. For example, `default`.
Expand Down
4 changes: 2 additions & 2 deletions src/_includes/graphql/customer-group-code.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
The Customer Group code is the encrypted value of the `Customer Group Id` which determines discounts and tax class for pricing context. For B2B implementations, the `Customer Group Id` also determines the Shared Catalog context.
The customer group code is the encrypted value of the customer group ID, which determines discounts and tax class for pricing contexts. For B2B implementations, the customer group ID also determines the Shared Catalog context.

Use one of the following codes for a default customer group based on your requirements.

Expand All @@ -9,7 +9,7 @@ Customer Group | Code
**Wholesale** | `da4b9237bacccdf19c0760cab7aec4a8359010b0`
**Retailer** |`77de68daecd823babbb58edb1c8e14d7106e83bb`

For custom groups, the customer group code is the encrypted value of the ID, `sha1(<customer_group_id>)`.
For merchant-defined groups, the customer group code is the encrypted value of the ID, `sha1(<customer_group_id>)`.

For B2B implementations, the customer group code is the encrypted value of the customer group ID associated with the shared catalog, `sha1(<customer_group_id>)`.

Expand Down

0 comments on commit b213cce

Please sign in to comment.