homeFeed
DEPRECATED
Kept only for buyer-app versions released before the app read the storefront theme (D-116): they still call it. The Home CMS is retired (D-115/D-116); current apps read customerStorefrontPage. Remove once those versions are retired.
Requires a customer (portal or buyer app) session.
Returns the ordered list of HomeSection cells for the active address, from the retired Home CMS rows.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query HomeFeed {
homeFeed {
__typename
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query HomeFeed {\n homeFeed {\n __typename\n }\n}"
}
EOF
Response:
{
"data": {
"homeFeed": {
"__typename": "HomeFeed"
}
}
}
homeFeed(
addressId: ID
): HomeFeed! @deprecated
Arguments
homeFeed.addressId ● ID scalar
The delivery address that decides what is in stock. Omit for the default address.
Type
HomeFeed object
The sections of the home screen, in order.