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

    Interface OrderSetDeliveryCustomTypeAction

    interface OrderSetDeliveryCustomTypeAction {
        action: "setDeliveryCustomType";
        deliveryId?: string;
        deliveryKey?: string;
        fields?: FieldContainer;
        type?: TypeResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index
    action: "setDeliveryCustomType"
    deliveryId?: string

    id of an existing Delivery.

    Either `deliveryId` or `deliveryKey` must be provided.
    
    deliveryKey?: string

    key of an existing Delivery.

    Either `deliveryId` or `deliveryKey` must be provided.
    

    Object containing the Custom Fields fields for the Delivery.

    Required if at least one Custom Field is defined as required in the `fieldDefinitions` of the referenced [Type](ctp:api:type:Type).
    

    Defines the Type that extends the Delivery with Custom Fields. If absent, any existing Type and Custom Fields are removed from the Delivery.