Class ByProjectKeyInStoreKeyByStoreKeyCartDiscountsByIDRequestBuilder

Constructors

Properties

Methods

Constructors

Properties

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

Methods

  • To delete a CartDiscount, specify the manage_cart_discounts:{projectKey}:{storeKey} scope for all Stores associated with the CartDiscount.

    Deleting a Cart Discount produces the [CartDiscountDeleted](ctp:api:type:CartDiscountDeletedMessage) Message.
    

    Parameters

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

    Returns ApiRequest<CartDiscount>