--- 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: unstable api_name: partner source_url: html: 'https://shopify.dev/docs/api/partner/unstable/scalars/ID' md: 'https://shopify.dev/docs/api/partner/unstable/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/unstable/objects/App#field-App.fields.id) * [App​Credit.id](https://shopify.dev/docs/api/partner/unstable/objects/AppCredit#field-AppCredit.fields.id) * [App​One​Time​Sale.chargeId](https://shopify.dev/docs/api/partner/unstable/objects/AppOneTimeSale#field-AppOneTimeSale.fields.chargeId) * [App​One​Time​Sale.id](https://shopify.dev/docs/api/partner/unstable/objects/AppOneTimeSale#field-AppOneTimeSale.fields.id) * [App​Purchase​One​Time.id](https://shopify.dev/docs/api/partner/unstable/objects/AppPurchaseOneTime#field-AppPurchaseOneTime.fields.id) * [App​Sale​Adjustment.chargeId](https://shopify.dev/docs/api/partner/unstable/objects/AppSaleAdjustment#field-AppSaleAdjustment.fields.chargeId) * [App​Sale​Adjustment.id](https://shopify.dev/docs/api/partner/unstable/objects/AppSaleAdjustment#field-AppSaleAdjustment.fields.id) * [App​Sale​Credit.chargeId](https://shopify.dev/docs/api/partner/unstable/objects/AppSaleCredit#field-AppSaleCredit.fields.chargeId) * [App​Sale​Credit.id](https://shopify.dev/docs/api/partner/unstable/objects/AppSaleCredit#field-AppSaleCredit.fields.id) * [App​Subscription.id](https://shopify.dev/docs/api/partner/unstable/objects/AppSubscription#field-AppSubscription.fields.id) * [App​Subscription​Sale.chargeId](https://shopify.dev/docs/api/partner/unstable/objects/AppSubscriptionSale#field-AppSubscriptionSale.fields.chargeId) * [App​Subscription​Sale.id](https://shopify.dev/docs/api/partner/unstable/objects/AppSubscriptionSale#field-AppSubscriptionSale.fields.id) * [App​Usage​Record.id](https://shopify.dev/docs/api/partner/unstable/objects/AppUsageRecord#field-AppUsageRecord.fields.id) * [App​Usage​Sale.chargeId](https://shopify.dev/docs/api/partner/unstable/objects/AppUsageSale#field-AppUsageSale.fields.chargeId) * [App​Usage​Sale.id](https://shopify.dev/docs/api/partner/unstable/objects/AppUsageSale#field-AppUsageSale.fields.id) * [Eventsink.appId](https://shopify.dev/docs/api/partner/unstable/objects/Eventsink#field-Eventsink.fields.appId) * [Eventsink.id](https://shopify.dev/docs/api/partner/unstable/objects/Eventsink#field-Eventsink.fields.id) * [Legacy​Transaction.id](https://shopify.dev/docs/api/partner/unstable/objects/LegacyTransaction#field-LegacyTransaction.fields.id) * [Organization.id](https://shopify.dev/docs/api/partner/unstable/objects/Organization#field-Organization.fields.id) * [Referral​Adjustment.id](https://shopify.dev/docs/api/partner/unstable/objects/ReferralAdjustment#field-ReferralAdjustment.fields.id) * [Referral​Transaction.id](https://shopify.dev/docs/api/partner/unstable/objects/ReferralTransaction#field-ReferralTransaction.fields.id) * [Service​Sale.id](https://shopify.dev/docs/api/partner/unstable/objects/ServiceSale#field-ServiceSale.fields.id) * [Service​Sale​Adjustment.id](https://shopify.dev/docs/api/partner/unstable/objects/ServiceSaleAdjustment#field-ServiceSaleAdjustment.fields.id) * [Shop.id](https://shopify.dev/docs/api/partner/unstable/objects/Shop#field-Shop.fields.id) * [Tax​Transaction.id](https://shopify.dev/docs/api/partner/unstable/objects/TaxTransaction#field-TaxTransaction.fields.id) * [Theme​Sale.id](https://shopify.dev/docs/api/partner/unstable/objects/ThemeSale#field-ThemeSale.fields.id) * [Theme​Sale​Adjustment.id](https://shopify.dev/docs/api/partner/unstable/objects/ThemeSaleAdjustment#field-ThemeSaleAdjustment.fields.id) ### Inputs with this scalar * [Eventsink​Create​Input.appId](https://shopify.dev/docs/api/partner/unstable/input-objects/EventsinkCreateInput#fields-appId) ### Arguments with this scalar * [App.events(shopId)](https://shopify.dev/docs/api/partner/unstable/objects/App#field-App.fields.events.arguments.shopId) * [App.events(chargeId)](https://shopify.dev/docs/api/partner/unstable/objects/App#field-App.fields.events.arguments.chargeId) * [Query​Root.app(id)](https://shopify.dev/docs/api/partner/unstable/objects/QueryRoot#field-QueryRoot.fields.app.arguments.id) * [Query​Root.eventsinks(appId)](https://shopify.dev/docs/api/partner/unstable/objects/QueryRoot#field-QueryRoot.fields.eventsinks.arguments.appId) * [Query​Root.transaction(id)](https://shopify.dev/docs/api/partner/unstable/objects/QueryRoot#field-QueryRoot.fields.transaction.arguments.id) * [Query​Root.transactions(shopId)](https://shopify.dev/docs/api/partner/unstable/objects/QueryRoot#field-QueryRoot.fields.transactions.arguments.shopId) * [Query​Root.transactions(appId)](https://shopify.dev/docs/api/partner/unstable/objects/QueryRoot#field-QueryRoot.fields.transactions.arguments.appId) * [app​Credit​Create.appId](https://shopify.dev/docs/api/partner/unstable/mutations/appCreditCreate#arguments-appId) * [app​Credit​Create.shopId](https://shopify.dev/docs/api/partner/unstable/mutations/appCreditCreate#arguments-shopId) * [eventsink​Delete.id](https://shopify.dev/docs/api/partner/unstable/mutations/eventsinkDelete#arguments-id) * [eventsink​Delete.appId](https://shopify.dev/docs/api/partner/unstable/mutations/eventsinkDelete#arguments-appId) * [app.id](https://shopify.dev/docs/api/partner/unstable/queries/app#arguments-id) * [eventsinks.appId](https://shopify.dev/docs/api/partner/unstable/queries/eventsinks#arguments-appId) * [transaction.id](https://shopify.dev/docs/api/partner/unstable/queries/transaction#arguments-id) * [transactions.shopId](https://shopify.dev/docs/api/partner/unstable/queries/transactions#arguments-shopId) * [transactions.appId](https://shopify.dev/docs/api/partner/unstable/queries/transactions#arguments-appId)