--- title: ID - Partner API description: >- Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`) input value will be accepted as an ID. api_version: 2024-10 api_name: partner type: scalar api_type: graphql source_url: html: 'https://shopify.dev/docs/api/partner/2024-10/scalars/ID' md: 'https://shopify.dev/docs/api/partner/2024-10/scalars/ID.md' --- # ID scalar Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"VXNlci0xMA=="`) or integer (such as `4`) input value will be accepted as an ID. ## Map ### Fields with this scalar * <-|[App.id](https://shopify.dev/docs/api/partner/2024-10/objects/App#field-id) * <-|[App​Credit.id](https://shopify.dev/docs/api/partner/2024-10/objects/AppCredit#field-id) * <-|[App​One​Time​Sale.chargeId](https://shopify.dev/docs/api/partner/2024-10/objects/AppOneTimeSale#field-chargeId) * <-|[App​One​Time​Sale.id](https://shopify.dev/docs/api/partner/2024-10/objects/AppOneTimeSale#field-id) * <-|[App​Purchase​One​Time.id](https://shopify.dev/docs/api/partner/2024-10/objects/AppPurchaseOneTime#field-id) * <-|[App​Sale​Adjustment.chargeId](https://shopify.dev/docs/api/partner/2024-10/objects/AppSaleAdjustment#field-chargeId) * <-|[App​Sale​Adjustment.id](https://shopify.dev/docs/api/partner/2024-10/objects/AppSaleAdjustment#field-id) * <-|[App​Sale​Credit.chargeId](https://shopify.dev/docs/api/partner/2024-10/objects/AppSaleCredit#field-chargeId) * <-|[App​Sale​Credit.id](https://shopify.dev/docs/api/partner/2024-10/objects/AppSaleCredit#field-id) * <-|[App​Subscription.id](https://shopify.dev/docs/api/partner/2024-10/objects/AppSubscription#field-id) * <-|[App​Subscription​Sale.chargeId](https://shopify.dev/docs/api/partner/2024-10/objects/AppSubscriptionSale#field-chargeId) * <-|[App​Subscription​Sale.id](https://shopify.dev/docs/api/partner/2024-10/objects/AppSubscriptionSale#field-id) * <-|[App​Usage​Record.id](https://shopify.dev/docs/api/partner/2024-10/objects/AppUsageRecord#field-id) * <-|[App​Usage​Sale.chargeId](https://shopify.dev/docs/api/partner/2024-10/objects/AppUsageSale#field-chargeId) * <-|[App​Usage​Sale.id](https://shopify.dev/docs/api/partner/2024-10/objects/AppUsageSale#field-id) * <-|[Conversation.id](https://shopify.dev/docs/api/partner/2024-10/objects/Conversation#field-id) * <-|[Job.id](https://shopify.dev/docs/api/partner/2024-10/objects/Job#field-id) * <-|[Legacy​Transaction.id](https://shopify.dev/docs/api/partner/2024-10/objects/LegacyTransaction#field-id) * <-|[Merchant​User.id](https://shopify.dev/docs/api/partner/2024-10/objects/MerchantUser#field-id) * <-|[Message.id](https://shopify.dev/docs/api/partner/2024-10/objects/Message#field-id) * <-|[Organization.id](https://shopify.dev/docs/api/partner/2024-10/objects/Organization#field-id) * <-|[Referral​Adjustment.id](https://shopify.dev/docs/api/partner/2024-10/objects/ReferralAdjustment#field-id) * <-|[Referral​Transaction.id](https://shopify.dev/docs/api/partner/2024-10/objects/ReferralTransaction#field-id) * <-|[Service​Sale.id](https://shopify.dev/docs/api/partner/2024-10/objects/ServiceSale#field-id) * <-|[Service​Sale​Adjustment.id](https://shopify.dev/docs/api/partner/2024-10/objects/ServiceSaleAdjustment#field-id) * <-|[Shop.id](https://shopify.dev/docs/api/partner/2024-10/objects/Shop#field-id) * <-|[Shopify​Employee.id](https://shopify.dev/docs/api/partner/2024-10/objects/ShopifyEmployee#field-id) * <-|[Tax​Transaction.id](https://shopify.dev/docs/api/partner/2024-10/objects/TaxTransaction#field-id) * <-|[Team​Member.id](https://shopify.dev/docs/api/partner/2024-10/objects/TeamMember#field-id) * <-|[Theme​Sale.id](https://shopify.dev/docs/api/partner/2024-10/objects/ThemeSale#field-id) ### Mutations with this scalar * <\~>[app​Credit​Create](https://shopify.dev/docs/api/partner/2024-10/mutations/appCreditCreate#argument-appId) * <\~>[app​Credit​Create](https://shopify.dev/docs/api/partner/2024-10/mutations/appCreditCreate#argument-shopId) ### Queries with this scalar * \[app.id](https://shopify.dev/docs/api/partner/2024-10/queries/app#field-id) * \[transaction.id](https://shopify.dev/docs/api/partner/2024-10/queries/transaction#field-id) * \[transactions.shopId](https://shopify.dev/docs/api/partner/2024-10/queries/transactions#field-shopId) * \[transactions.appId](https://shopify.dev/docs/api/partner/2024-10/queries/transactions#field-appId) ### Arguments with this scalar * <-|[App.events(shopId)](https://shopify.dev/docs/api/partner/2024-10/objects/App#field-events) * <-|[App.events(chargeId)](https://shopify.dev/docs/api/partner/2024-10/objects/App#field-events) * <-|[Query​Root.app(id)](https://shopify.dev/docs/api/partner/2024-10/objects/QueryRoot#field-app) * <-|[Query​Root.conversation(id)](https://shopify.dev/docs/api/partner/2024-10/objects/QueryRoot#field-conversation) * <-|[Query​Root.job(id)](https://shopify.dev/docs/api/partner/2024-10/objects/QueryRoot#field-job) * <-|[Query​Root.jobs(shopId)](https://shopify.dev/docs/api/partner/2024-10/objects/QueryRoot#field-jobs) * <-|[Query​Root.transaction(id)](https://shopify.dev/docs/api/partner/2024-10/objects/QueryRoot#field-transaction) * <-|[Query​Root.transactions(shopId)](https://shopify.dev/docs/api/partner/2024-10/objects/QueryRoot#field-transactions) * <-|[Query​Root.transactions(appId)](https://shopify.dev/docs/api/partner/2024-10/objects/QueryRoot#field-transactions)