validateShippingSelection
Validates a customer's chosen shipping (SecuredSelectedShippingInput) and returns the resolved SelectedShipping. Token integrity + oid-binding are always enforced. ignoreExpiry skips ONLY the TTL check. The query only RETURNS a snapshot (no persistence); the api-key requirement is the access guard.
validateShippingSelection(
input: SecuredSelectedShippingInput!
ignoreExpiry: Boolean = false
): SelectedShipping!
Arguments
input ● SecuredSelectedShippingInput!
ignoreExpiry ● Boolean
Type
SelectedShipping
The customer's validated, chosen shipping. Returned by validateShippingSelection, exposed on Checkout and Order. id and totalPrice are the main contract.
id is the shipping option id totalPrice is the amount to charge. breakdown holds the detailes.