--- title: ID - Customer API description: | Represents a unique identifier, often used to refetch an object. The ID type appears in a JSON response as a String, but it is not intended to be human-readable. Example value: `"gid://shopify/Product/10079785100"` api_version: 2025-10 api_name: customer type: scalar api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/scalars/id md: https://shopify.dev/docs/api/customer/latest/scalars/id.md --- # ID scalar Represents a unique identifier, often used to refetch an object. The ID type appears in a JSON response as a String, but it is not intended to be human-readable. Example value: `"gid://shopify/Product/10079785100"` ## Map ### Fields with this scalar * <-|[Additional​Fee​Sale.id](https://shopify.dev/docs/api/customer/latest/objects/AdditionalFeeSale#field-id) * <-|[Adjustment​Sale.id](https://shopify.dev/docs/api/customer/latest/objects/AdjustmentSale#field-id) * <-|[Applied​Gift​Card.id](https://shopify.dev/docs/api/customer/latest/objects/AppliedGiftCard#field-id) * <-|[Checkout.id](https://shopify.dev/docs/api/customer/latest/objects/Checkout#field-id) * <-|[Checkout​Line​Item.id](https://shopify.dev/docs/api/customer/latest/objects/CheckoutLineItem#field-id) * <-|[Company.id](https://shopify.dev/docs/api/customer/latest/objects/Company#field-id) * <-|[Company​Address.id](https://shopify.dev/docs/api/customer/latest/objects/CompanyAddress#field-id) * <-|[Company​Contact.id](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-id) * <-|[Company​Contact​Role.id](https://shopify.dev/docs/api/customer/latest/objects/CompanyContactRole#field-id) * <-|[Company​Contact​Role​Assignment.id](https://shopify.dev/docs/api/customer/latest/objects/CompanyContactRoleAssignment#field-id) * <-|[Company​Location.id](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-id) * <-|[Customer.id](https://shopify.dev/docs/api/customer/latest/objects/Customer#field-id) * <-|[Customer​Address.id](https://shopify.dev/docs/api/customer/latest/objects/CustomerAddress#field-id) * <-|[Domain.id](https://shopify.dev/docs/api/customer/latest/objects/Domain#field-id) * <-|[Draft​Order.id](https://shopify.dev/docs/api/customer/latest/objects/DraftOrder#field-id) * <-|[Draft​Order​Line​Item.id](https://shopify.dev/docs/api/customer/latest/objects/DraftOrderLineItem#field-id) * <-|[Duty​Sale.id](https://shopify.dev/docs/api/customer/latest/objects/DutySale#field-id) * <-|[Exchange​Line​Item.id](https://shopify.dev/docs/api/customer/latest/objects/ExchangeLineItem#field-id) * <-|[Exchange​Line​Item.productId](https://shopify.dev/docs/api/customer/latest/objects/ExchangeLineItem#field-productId) * <-|[Exchange​Line​Item.variantId](https://shopify.dev/docs/api/customer/latest/objects/ExchangeLineItem#field-variantId) * <-|[Fee​Sale.id](https://shopify.dev/docs/api/customer/latest/objects/FeeSale#field-id) * <-|[Fulfillment.id](https://shopify.dev/docs/api/customer/latest/objects/Fulfillment#field-id) * <-|[Fulfillment​Event.id](https://shopify.dev/docs/api/customer/latest/objects/FulfillmentEvent#field-id) * <-|[Fulfillment​Line​Item.id](https://shopify.dev/docs/api/customer/latest/objects/FulfillmentLineItem#field-id) * <-|[Gift​Card​Sale.id](https://shopify.dev/docs/api/customer/latest/objects/GiftCardSale#field-id) * <-|[Image.id](https://shopify.dev/docs/api/customer/latest/objects/Image#field-id) * <-|[Line​Item.id](https://shopify.dev/docs/api/customer/latest/objects/LineItem#field-id) * <-|[Line​Item.productId](https://shopify.dev/docs/api/customer/latest/objects/LineItem#field-productId) * <-|[Line​Item.variantId](https://shopify.dev/docs/api/customer/latest/objects/LineItem#field-variantId) * <-|[Line​Item​Group.id](https://shopify.dev/docs/api/customer/latest/objects/LineItemGroup#field-id) ### Inputs with this scalar * [Calculate​Return​Input.orderId](https://shopify.dev/docs/api/customer/latest/input-objects/CalculateReturnInput#field-orderId) * [Calculate​Return​Line​Item​Input.lineItemId](https://shopify.dev/docs/api/customer/latest/input-objects/CalculateReturnLineItemInput#field-lineItemId) * [Metafield​Identifier​Input.ownerId](https://shopify.dev/docs/api/customer/latest/input-objects/MetafieldIdentifierInput#field-ownerId) * [Metafields​Set​Input.ownerId](https://shopify.dev/docs/api/customer/latest/input-objects/MetafieldsSetInput#field-ownerId) * [Requested​Line​Item​Input.lineItemId](https://shopify.dev/docs/api/customer/latest/input-objects/RequestedLineItemInput#field-lineItemId) * [Subscription​Billing​Cycle​Input.contractId](https://shopify.dev/docs/api/customer/latest/input-objects/SubscriptionBillingCycleInput#field-contractId) * [Subscription​Delivery​Method​Pickup​Input.locationId](https://shopify.dev/docs/api/customer/latest/input-objects/SubscriptionDeliveryMethodPickupInput#field-locationId) ### Mutations with this scalar * <\~>[company​Location​Assign​Address](https://shopify.dev/docs/api/customer/latest/mutations/companyLocationAssignAddress#argument-locationId) * <\~>[customer​Address​Delete](https://shopify.dev/docs/api/customer/latest/mutations/customerAddressDelete#argument-addressId) * <\~>[customer​Address​Update](https://shopify.dev/docs/api/customer/latest/mutations/customerAddressUpdate#argument-addressId) * <\~>[order​Request​Return](https://shopify.dev/docs/api/customer/latest/mutations/orderRequestReturn#argument-orderId) * <\~>[subscription​Contract​Activate](https://shopify.dev/docs/api/customer/latest/mutations/subscriptionContractActivate#argument-subscriptionContractId) * <\~>[subscription​Contract​Cancel](https://shopify.dev/docs/api/customer/latest/mutations/subscriptionContractCancel#argument-subscriptionContractId) * <\~>[subscription​Contract​Fetch​Delivery​Options](https://shopify.dev/docs/api/customer/latest/mutations/subscriptionContractFetchDeliveryOptions#argument-subscriptionContractId) * <\~>[subscription​Contract​Pause](https://shopify.dev/docs/api/customer/latest/mutations/subscriptionContractPause#argument-subscriptionContractId) * <\~>[subscription​Contract​Select​Delivery​Method](https://shopify.dev/docs/api/customer/latest/mutations/subscriptionContractSelectDeliveryMethod#argument-subscriptionContractId) ### Queries with this scalar * \[company.id](https://shopify.dev/docs/api/customer/latest/queries/company#field-id) * \[company​Location.id](https://shopify.dev/docs/api/customer/latest/queries/companyLocation#field-id) * \[draft​Order.id](https://shopify.dev/docs/api/customer/latest/queries/draftOrder#field-id) * \[order.id](https://shopify.dev/docs/api/customer/latest/queries/order#field-id) * \[return.id](https://shopify.dev/docs/api/customer/latest/queries/return#field-id) ### Arguments with this scalar * <-|[Customer.subscriptionContract(id)](https://shopify.dev/docs/api/customer/latest/objects/Customer#field-subscriptionContract) * <-|[Query​Root.company(id)](https://shopify.dev/docs/api/customer/latest/objects/QueryRoot#field-company) * <-|[Query​Root.companyLocation(id)](https://shopify.dev/docs/api/customer/latest/objects/QueryRoot#field-companyLocation) * <-|[Query​Root.draftOrder(id)](https://shopify.dev/docs/api/customer/latest/objects/QueryRoot#field-draftOrder) * <-|[Query​Root.order(id)](https://shopify.dev/docs/api/customer/latest/objects/QueryRoot#field-order) * <-|[Query​Root.return(id)](https://shopify.dev/docs/api/customer/latest/objects/QueryRoot#field-return)