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

    Interface GraphQLAssociateMissingPermissionError

    Returned when an Associate is missing a Permission on a B2B resource.

    interface GraphQLAssociateMissingPermissionError {
        associate: CustomerResourceIdentifier;
        associateOnBehalf?: CustomerResourceIdentifier;
        businessUnit: BusinessUnitResourceIdentifier;
        code: "AssociateMissingPermission";
        permissions: Permission[];
        [key: string]: any;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: string]: any
    Index

    Properties

    ResourceIdentifier to the Associate that tried to perform the action.

    associateOnBehalf?: CustomerResourceIdentifier

    ResourceIdentifier of the Associate on whose behalf the action is performed.

    code: "AssociateMissingPermission"

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

    permissions: Permission[]

    The Permissions that the Associate performing the action lacks. At least one of these Permissions is needed.