--- 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: 2026-01 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-AdditionalFeeSale.fields.id) * [Adjustment​Sale.id](https://shopify.dev/docs/api/customer/latest/objects/AdjustmentSale#field-AdjustmentSale.fields.id) * [Applied​Gift​Card.id](https://shopify.dev/docs/api/customer/latest/objects/AppliedGiftCard#field-AppliedGiftCard.fields.id) * [Checkout.id](https://shopify.dev/docs/api/customer/latest/objects/Checkout#field-Checkout.fields.id) * [Checkout​Line​Item.id](https://shopify.dev/docs/api/customer/latest/objects/CheckoutLineItem#field-CheckoutLineItem.fields.id) * [Company.id](https://shopify.dev/docs/api/customer/latest/objects/Company#field-Company.fields.id) * [Company​Address.id](https://shopify.dev/docs/api/customer/latest/objects/CompanyAddress#field-CompanyAddress.fields.id) * [Company​Contact.id](https://shopify.dev/docs/api/customer/latest/objects/CompanyContact#field-CompanyContact.fields.id) * [Company​Contact​Role.id](https://shopify.dev/docs/api/customer/latest/objects/CompanyContactRole#field-CompanyContactRole.fields.id) * [Company​Contact​Role​Assignment.id](https://shopify.dev/docs/api/customer/latest/objects/CompanyContactRoleAssignment#field-CompanyContactRoleAssignment.fields.id) * [Company​Location.id](https://shopify.dev/docs/api/customer/latest/objects/CompanyLocation#field-CompanyLocation.fields.id) * [Customer.id](https://shopify.dev/docs/api/customer/latest/objects/Customer#field-Customer.fields.id) * [Customer​Address.id](https://shopify.dev/docs/api/customer/latest/objects/CustomerAddress#field-CustomerAddress.fields.id) * [Domain.id](https://shopify.dev/docs/api/customer/latest/objects/Domain#field-Domain.fields.id) * [Draft​Order.id](https://shopify.dev/docs/api/customer/latest/objects/DraftOrder#field-DraftOrder.fields.id) * [Draft​Order​Line​Item.id](https://shopify.dev/docs/api/customer/latest/objects/DraftOrderLineItem#field-DraftOrderLineItem.fields.id) * [Duty​Sale.id](https://shopify.dev/docs/api/customer/latest/objects/DutySale#field-DutySale.fields.id) * [Exchange​Line​Item.id](https://shopify.dev/docs/api/customer/latest/objects/ExchangeLineItem#field-ExchangeLineItem.fields.id) * [Exchange​Line​Item.productId](https://shopify.dev/docs/api/customer/latest/objects/ExchangeLineItem#field-ExchangeLineItem.fields.productId) * [Exchange​Line​Item.variantId](https://shopify.dev/docs/api/customer/latest/objects/ExchangeLineItem#field-ExchangeLineItem.fields.variantId) * [Fee​Sale.id](https://shopify.dev/docs/api/customer/latest/objects/FeeSale#field-FeeSale.fields.id) * [Fulfillment.id](https://shopify.dev/docs/api/customer/latest/objects/Fulfillment#field-Fulfillment.fields.id) * [Fulfillment​Event.id](https://shopify.dev/docs/api/customer/latest/objects/FulfillmentEvent#field-FulfillmentEvent.fields.id) * [Fulfillment​Line​Item.id](https://shopify.dev/docs/api/customer/latest/objects/FulfillmentLineItem#field-FulfillmentLineItem.fields.id) * [Generic​File.id](https://shopify.dev/docs/api/customer/latest/objects/GenericFile#field-GenericFile.fields.id) * [Gift​Card​Sale.id](https://shopify.dev/docs/api/customer/latest/objects/GiftCardSale#field-GiftCardSale.fields.id) * [Image.id](https://shopify.dev/docs/api/customer/latest/objects/Image#field-Image.fields.id) * [Line​Item.id](https://shopify.dev/docs/api/customer/latest/objects/LineItem#field-LineItem.fields.id) * [Line​Item.productId](https://shopify.dev/docs/api/customer/latest/objects/LineItem#field-LineItem.fields.productId) * [Line​Item.variantId](https://shopify.dev/docs/api/customer/latest/objects/LineItem#field-LineItem.fields.variantId) ### Inputs with this scalar * [Calculate​Return​Input.orderId](https://shopify.dev/docs/api/customer/latest/input-objects/CalculateReturnInput#fields-orderId) * [Calculate​Return​Line​Item​Input.lineItemId](https://shopify.dev/docs/api/customer/latest/input-objects/CalculateReturnLineItemInput#fields-lineItemId) * [Metafield​Identifier​Input.ownerId](https://shopify.dev/docs/api/customer/latest/input-objects/MetafieldIdentifierInput#fields-ownerId) * [Metafields​Set​Input.ownerId](https://shopify.dev/docs/api/customer/latest/input-objects/MetafieldsSetInput#fields-ownerId) * [Requested​Line​Item​Input.lineItemId](https://shopify.dev/docs/api/customer/latest/input-objects/RequestedLineItemInput#fields-lineItemId) * [Requested​Line​Item​Input.returnReasonDefinitionId](https://shopify.dev/docs/api/customer/latest/input-objects/RequestedLineItemInput#fields-returnReasonDefinitionId) * [Subscription​Billing​Cycle​Input.contractId](https://shopify.dev/docs/api/customer/latest/input-objects/SubscriptionBillingCycleInput#fields-contractId) * [Subscription​Delivery​Method​Pickup​Input.locationId](https://shopify.dev/docs/api/customer/latest/input-objects/SubscriptionDeliveryMethodPickupInput#fields-locationId) ### Arguments with this scalar * [Customer.subscriptionContract(id)](https://shopify.dev/docs/api/customer/latest/objects/Customer#field-Customer.fields.subscriptionContract.arguments.id) * [Query​Root.company(id)](https://shopify.dev/docs/api/customer/latest/objects/QueryRoot#field-QueryRoot.fields.company.arguments.id) * [Query​Root.companyLocation(id)](https://shopify.dev/docs/api/customer/latest/objects/QueryRoot#field-QueryRoot.fields.companyLocation.arguments.id) * [Query​Root.draftOrder(id)](https://shopify.dev/docs/api/customer/latest/objects/QueryRoot#field-QueryRoot.fields.draftOrder.arguments.id) * [Query​Root.order(id)](https://shopify.dev/docs/api/customer/latest/objects/QueryRoot#field-QueryRoot.fields.order.arguments.id) * [Query​Root.return(id)](https://shopify.dev/docs/api/customer/latest/objects/QueryRoot#field-QueryRoot.fields.return.arguments.id) * [company​Location​Assign​Address.locationId](https://shopify.dev/docs/api/customer/latest/mutations/companyLocationAssignAddress#arguments-locationId) * [customer​Address​Delete.addressId](https://shopify.dev/docs/api/customer/latest/mutations/customerAddressDelete#arguments-addressId) * [customer​Address​Update.addressId](https://shopify.dev/docs/api/customer/latest/mutations/customerAddressUpdate#arguments-addressId) * [order​Request​Return.orderId](https://shopify.dev/docs/api/customer/latest/mutations/orderRequestReturn#arguments-orderId) * [subscription​Contract​Activate.subscriptionContractId](https://shopify.dev/docs/api/customer/latest/mutations/subscriptionContractActivate#arguments-subscriptionContractId) * [subscription​Contract​Cancel.subscriptionContractId](https://shopify.dev/docs/api/customer/latest/mutations/subscriptionContractCancel#arguments-subscriptionContractId) * [subscription​Contract​Fetch​Delivery​Options.subscriptionContractId](https://shopify.dev/docs/api/customer/latest/mutations/subscriptionContractFetchDeliveryOptions#arguments-subscriptionContractId) * [subscription​Contract​Pause.subscriptionContractId](https://shopify.dev/docs/api/customer/latest/mutations/subscriptionContractPause#arguments-subscriptionContractId) * [subscription​Contract​Select​Delivery​Method.subscriptionContractId](https://shopify.dev/docs/api/customer/latest/mutations/subscriptionContractSelectDeliveryMethod#arguments-subscriptionContractId) * [company.id](https://shopify.dev/docs/api/customer/latest/queries/company#arguments-id) * [company​Location.id](https://shopify.dev/docs/api/customer/latest/queries/companyLocation#arguments-id) * [draft​Order.id](https://shopify.dev/docs/api/customer/latest/queries/draftOrder#arguments-id) * [order.id](https://shopify.dev/docs/api/customer/latest/queries/order#arguments-id) * [return.id](https://shopify.dev/docs/api/customer/latest/queries/return#arguments-id)