Skip to main content

customerPlpBanner

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 PLP_BANNER for the given category slug. Falls back to a banner with no categorySlug (global) when no per-category row exists. Null when neither is authored.

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:

query CustomerPlpBanner($categorySlug: String!) {
customerPlpBanner(categorySlug: $categorySlug) {
title
href
imageUrl
kind
}
}

Variables:

{
"categorySlug": "string"
}

Response:

{
"data": {
"customerPlpBanner": {
"title": "string",
"href": "string",
"imageUrl": "string",
"kind": "BRAND_PREMIX"
}
}
}
customerPlpBanner(
categorySlug: String!
): InfoStripSection @deprecated

Arguments​

customerPlpBanner.categorySlug ● String! non-null scalar​

The slug of the category.

Type​

InfoStripSection object​

A static information banner at the top of the home screen, drawn as one image.