Conversation
| - **`AC-Channel-Id`: `channelId-1`** | ||
| - `AC-Policy-State`: `AC-Policy-Country` | ||
| - `X-Api-Key`: `search_gql` | ||
| - **`AC-Policy-Country`: `USA`** | ||
| - **`AC-Policy-Brand`: `Brand A`** |
There was a problem hiding this comment.
Why do some of the headers have ** delimiters?
There was a problem hiding this comment.
@meker12 I was trying to visually call out those headers that are unique to CCDM. But maybe the note I put at the end of this list is good enough?
There was a problem hiding this comment.
Oh I see what you mean about trying to callout the headers --- maybe it would be better to mentiont that the brand and location are passed as headers and include the header in the section overview description instead of just Brand A (AC-Policy-Brand: A)
| } | ||
| } | ||
| ``` | ||
|
|
There was a problem hiding this comment.
Same comment about having one section -- Create policies with the overview statement of what is happening followed by the two code samples in the same section.
| - **`AC-Channel-Id`: `channelId-1`** | ||
| - `AC-Policy-State`: `AC-Policy-Country` | ||
| - `X-Api-Key`: `search_gql` | ||
| - **`AC-Policy-Country`: `USA`** | ||
| - **`AC-Policy-Brand`: `Brand A`** |
There was a problem hiding this comment.
Oh I see what you mean about trying to callout the headers --- maybe it would be better to mentiont that the brand and location are passed as headers and include the header in the section overview description instead of just Brand A (AC-Policy-Brand: A)
|
|
||
| >[!INFO] | ||
| > | ||
| >In the above headers, `AC-Channel-Id`, `AC-Policy-Country`, and `AC-Policy-Brand` are concepts unique to CCDM. |
There was a problem hiding this comment.
If you update the description, you could link to the Header documentation that explains what the Headers are instead of using the note. Maybe you can call them CCDM headers -- (link: https://developer-stage.adobe.com/commerce/services/composable-catalog/storefront-services/using-the-api/#headers)
| } | ||
| ``` | ||
|
|
||
| ### Storefront API call – 2: Retrieve SKU for Brand B and location UK |
There was a problem hiding this comment.
I think we should include the code for the entire data ingestion operations the way we do for these GraphQL queries. I'll get the code.
Co-authored-by: Margaret Eker <meker@adobe.com>
Purpose of this pull request
This pull request (PR) adds a new topic that walks the user through an end-to-end example of using CCDM.
Affected pages