Skip to main content

BrandResponse

A union representing the possible return types when querying for a single brand

union BrandResponse = BadRequestError | InternalServerError | PartnerBrand

Possible types​

BrandResponse.BadRequestError object​

Returned when there is an error in the request.

BrandResponse.InternalServerError object​

Returned when an error is encountered that is not expected.

BrandResponse.PartnerBrand object​

A brand available to the calling partner. name is the value to pass as brand on brand-aware mutations to disambiguate a partner that operates more than one brand. A single-brand partner has exactly one, with isDefault true.

Returned By​

brand query