Class ByProjectKeyInStoreKeyByStoreKeyCustomersKeyByKeyRequestBuilder

Constructors

Properties

Methods

Constructors

Properties

args: {
    baseUri?: string;
    executeRequest: executeRequest;
    pathArgs: { key: string; projectKey: string; storeKey: string };
}

Methods

  • Deleting a Customer produces the CustomerDeleted Message.

    If the Customer exists in the Project but the `stores` field references a different [Store](ctp:api:type:Store), this method returns a [ResourceNotFound](ctp:api:type:ResourceNotFoundError) error.
    

    Parameters

    • methodArgs: {
          headers?: { [key: string]: string | string[] };
          queryArgs: {
              dataErasure?: boolean;
              expand?: string | string[];
              version: number;
              [key: string]: QueryParam;
          };
      }

    Returns ApiRequest<Customer>