---
title: CartDeliveryCoordinatesPreferenceInput - Storefront API
description: Preferred location used to find the closest pick up point based on coordinates.
api_version: 2026-10
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
---

# CartDeliveryCoordinatesPreferenceInput

input\_object

Preferred location used to find the closest pick up point based on coordinates.

## Fields

* countryCode

  [CountryCode!](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

* [CartDeliveryPreferenceInput.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

* [CartDeliveryPreferenceInput.coordinates](https://shopify.dev/docs/api/storefront/latest/input-objects/CartDeliveryPreferenceInput#fields-coordinates)