The request body schema for the getFulfillmentPreview operation.

GetFulfillmentPreviewRequest

interface GetFulfillmentPreviewRequest {
    address: Address;
    featureConstraints?: FeatureSettings[];
    includeCODFulfillmentPreview?: boolean;
    includeDeliveryWindows?: boolean;
    items: GetFulfillmentPreviewItem[];
    marketplaceId?: string;
    shippingSpeedCategories?: ShippingSpeedCategory[];
}

Properties

address: Address

GetFulfillmentPreviewRequest

featureConstraints?: FeatureSettings[]

A list of features and their fulfillment policies to apply to the order.

GetFulfillmentPreviewRequest

includeCODFulfillmentPreview?: boolean

When true, returns all fulfillment order previews both for COD and not for COD. Otherwise, returns only fulfillment order previews that are not for COD.

GetFulfillmentPreviewRequest

includeDeliveryWindows?: boolean

When true, returns the ScheduledDeliveryInfo response object, which contains the available delivery windows for a Scheduled Delivery. The ScheduledDeliveryInfo response object can only be returned for fulfillment order previews with ShippingSpeedCategories = ScheduledDelivery.

GetFulfillmentPreviewRequest

An array of fulfillment preview item information.

GetFulfillmentPreviewRequest

marketplaceId?: string

The marketplace the fulfillment order is placed against.

GetFulfillmentPreviewRequest

shippingSpeedCategories?: ShippingSpeedCategory[]

ShippingSpeedCategory List

GetFulfillmentPreviewRequest