Przejdź do głównej zawartości

FreeShippingProgress

Progress towards the free shipping threshold configured by the merchant — drives "Add X more to get free shipping" banners.

type FreeShippingProgress {
currentAmount: Money
message: String
progressPercent: Float
qualifies: Boolean!
remaining: Money
threshold: Money
}

Fields

FreeShippingProgress.currentAmount ● Money object

Current qualifying subtotal of the cart.

FreeShippingProgress.message ● String scalar

Pre-formatted, localised banner message (e.g. "Add 15.00 PLN more for free shipping"). Render as-is when present.

FreeShippingProgress.progressPercent ● Float scalar

Progress towards the threshold expressed as a percentage between 0 and 100. Use as the value of a progress bar.

FreeShippingProgress.qualifies ● Boolean! non-null scalar

True when the cart already qualifies for free shipping.

FreeShippingProgress.remaining ● Money object

How much more the buyer needs to add to qualify. Zero when qualifies is true.

FreeShippingProgress.threshold ● Money object

Subtotal threshold that unlocks free shipping.

Member Of

AvailableShippingMethod object ● AvailableShippingMethodsPayload object