Draft for creating a RecurringOrder.

interface RecurringOrderDraft {
    cart: CartResourceIdentifier;
    cartVersion: number;
    custom?: CustomFieldsDraft;
    key?: string;
    startsAt: string;
    state?: StateResourceIdentifier;
}

Properties

ResourceIdentifier to the Cart from which the RecurringOrder is created.

cartVersion: number

Current version of the referenced Cart.

Custom Fields to be added to the RecurringOrder.

key?: string

User-defined unique identifier of the RecurringOrder.

startsAt: string

Date and time (UTC) the RecurringOrder will start.

State for the RecurringOrder in a custom workflow.