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

    Interface OrderSetParcelCustomTypeAction

    interface OrderSetParcelCustomTypeAction {
        action: "setParcelCustomType";
        fields?: FieldContainer;
        parcelId?: string;
        parcelKey?: string;
        type?: TypeResourceIdentifier;
    }

    Hierarchy (View Summary)

    Index

    Properties

    action: "setParcelCustomType"

    Sets the Custom Fields fields for the Parcel.

    parcelId?: string

    id of an existing Parcel.

    Either `parcelId` or `parcelKey` must be provided.
    
    parcelKey?: string

    key of an existing Parcel.

    Either `parcelId` or `parcelKey` must be provided.
    

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