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

    Interface DiscountCodeUpdate

    interface DiscountCodeUpdate {
        actions: DiscountCodeUpdateAction[];
        version: number;
    }
    Index

    Properties

    Properties

    Update actions to be performed on the DiscountCode.

    version: number

    Expected version of the DiscountCode on which the changes should be applied. If the expected version does not match the actual version, a ConcurrentModification error will be returned.