Scalars

Scalars are primitive values such as `Int` or `String.` GraphQL queries and responses take the form of a hierarchical tree; the leaves on these trees are GraphQL scalars. For more information, see the GraphQL spec.
Scalar Definition
Boolean

Represents true or false values.

DateTime

An ISO-8601 encoded UTC date time string. Example value: "2019-07-03T20:47:55Z".

ID

Represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String, but it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Admin API example value: "gid://shopify/Product/10079785100".

Storefront API example value: "Z2l