@gradientedge/commercetools-utils
    Preparing search index...

    Interface GraphQLUnauthorizedError

    Returned when one of the following conditions occurs:

    - A Customer reference (for example, `associates[*].customer` or `inheritedAssociates[*].customer`) is expanded on the [My Business Unit](/api/projects/me-business-units) endpoint.
    - A [Cart Discount](ctp:api:type:CartDiscount) cannot be modified due to missing permissions for its assigned [Stores](ctp:api:type:Store).
    
    interface GraphQLUnauthorizedError {
        code: "Unauthorized";
        storesWithoutPermission?: string[];
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index
    code: "Unauthorized"

    One of the error codes that is listed on the Errors page.

    storesWithoutPermission?: string[]

    Keys of Stores for which the required permission to modify is missing.

    This field is returned only for [Cart Discounts](ctp:api:type:CartDiscount).