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

    Interface CartSetAnonymousIdAction

    If the Cart is already associated with a Customer, an InvalidOperation error is returned.

    interface CartSetAnonymousIdAction {
        action: "setAnonymousId";
        anonymousId?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    action: "setAnonymousId"
    anonymousId?: string

    Value to set. If empty, any existing value is removed.