--- title: CartDeliveryCoordinatesPreferenceInput - Storefront API description: Preferred location used to find the closest pick up point based on coordinates. api_version: 2025-10 api_name: storefront type: input-object api_type: graphql source_url: html: https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryCoordinatesPreferenceInput md: https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryCoordinatesPreferenceInput.md --- # Cart​Delivery​Coordinates​Preference​Input input\_object Preferred location used to find the closest pick up point based on coordinates. ## Fields * country​Code [Country​Code!](https://shopify.dev/docs/api/storefront/latest/enums/CountryCode) non-null The two-letter code for the country of the preferred location. For example, US. * latitude [Float!](https://shopify.dev/docs/api/storefront/latest/scalars/Float) non-null The geographic latitude for a given location. Coordinates are required in order to set pickUpHandle for pickup points. * longitude [Float!](https://shopify.dev/docs/api/storefront/latest/scalars/Float) non-null The geographic longitude for a given location. Coordinates are required in order to set pickUpHandle for pickup points. *** ## Input objects using this input * [Cart​Delivery​Preference​Input.coordinates](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryPreferenceInput#fields-coordinates) INPUT OBJECT Delivery preferences can be used to prefill the delivery section at checkout. *** ## Map ### Input objects using this input * [Cart​Delivery​Preference​Input.coordinates](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryPreferenceInput#fields-coordinates)