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

Properties

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.

Sets the Custom Fields fields for the Delivery.

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