Skip to main content

CartPostageDataInput

Shipping and delivery configuration updates for the shopping cart.

Contains shipping method selection, delivery preferences, carrier selection, and external pricing overrides for cart shipping.

input CartPostageDataInput {
method: String
requestDate: DateTime
partialDeliveryAllowed: YesNo
price: Float
carrier: String
pickUpLocationId: Int
}

Fields

CartPostageDataInput.method ● String scalar

Shipping method identifier for this cart.

Maximum length of 30 characters. Specifies the delivery method code such as 'standard', 'express', or 'pickup'.

CartPostageDataInput.requestDate ● DateTime scalar

Customer's preferred delivery date.

Must be today or a future date. Used for delivery scheduling and planning. Time component is ignored, only the date is considered.

CartPostageDataInput.partialDeliveryAllowed ● YesNo enum

Whether partial deliveries are allowed for this cart.

Indicates if the order can be split into multiple shipments when items have different availability or delivery dates.

CartPostageDataInput.price ● Float scalar

External shipping cost excluding VAT.

When specified, overrides platform-calculated shipping fees with this external value. Must be 0 or greater with maximum 5 decimal places. Setting this value changes the shipping price mode to 'EXTERNAL'.

CartPostageDataInput.carrier ● String scalar

Shipping carrier identifier for this cart.

Maximum length of 45 characters. Specifies the carrier code such as 'DHL', 'UPS', or 'FedEx'.

CartPostageDataInput.pickUpLocationId ● Int scalar

Pickup location identifier for customer pickup.

Used when the shipping method involves customer pickup from a designated location such as a store or pickup point.

Member Of

CartUpdateInput input