Scalars are primitive values such as <code>Int</code> or <code>String</code>.
For more information, see the <a href="https://facebook.github.io/graphql/#sec-Scalars" target="_blank">GraphQL spec</a>.
<div class="doc-version" data-version="unstable">
  <table>
    <thead>
      <th scope="col">Scalar</th>
      <th scope="col">Definition</th>
    </thead>
    <tbody>
        <tr id="boolean-unstable">
          <td scope="row">
            Boolean
          </td>
          <td>
            <p>Represents <code>true</code> or <code>false</code> values.</p>
          </td>
        </tr>
        <tr id="date-unstable">
          <td scope="row">
            Date
          </td>
          <td>
            <p>Represents an <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a>-encoded date string.
For example, September 7, 2019 is represented as <code>"2019-07-16"</code>.</p>
          </td>
        </tr>
        <tr id="datetime-unstable">
          <td scope="row">
            DateTime
          </td>
          <td>
            <p>Represents an <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a>-encoded date and time string.
For example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is
represented as <code>"2019-09-07T15:50:00Z</code>".</p>
          </td>
        </tr>
        <tr id="datetimewithouttimezone-unstable">
          <td scope="row">
            DateTimeWithoutTimezone
          </td>
          <td>
            <p>A subset of the <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> format that includes the date and time but not the timezone which is determined from context.</p>
<p>For example, "2018-01-01T00:00:00".</p>
          </td>
        </tr>
        <tr id="decimal-unstable">
          <td scope="row">
            Decimal
          </td>
          <td>
            <p>A signed decimal number, which supports arbitrary precision and is serialized as a string.</p>
<p>Example values: <code>"29.99"</code>, <code>"29.999"</code>.</p>
          </td>
        </tr>
        <tr id="float-unstable">
          <td scope="row">
            Float
          </td>
          <td>
            <p>Represents signed double-precision fractional values as specified by <a href="https://en.wikipedia.org/wiki/IEEE_floating_point">IEEE 754</a>.</p>
          </td>
        </tr>
        <tr id="handle-unstable">
          <td scope="row">
            Handle
          </td>
          <td>
            <p>A function-scoped handle to a refer a resource.
The Handle type appears in a JSON response as a String, but it is not intended to be human-readable.
Example value: <code>"10079785100"</code></p>
          </td>
        </tr>
        <tr id="id-unstable">
          <td scope="row">
            ID
          </td>
          <td>
            <p>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.</p>
<p>Example value: <code>"gid://shopify/Product/10079785100"</code></p>
          </td>
        </tr>
        <tr id="int-unstable">
          <td scope="row">
            Int
          </td>
          <td>
            <p>Represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.</p>
          </td>
        </tr>
        <tr id="json-unstable">
          <td scope="row">
            JSON
          </td>
          <td>
            <p>A <a href="https://www.json.org/json-en.html">JSON</a> object.</p>
<p>Example value:
<code>{ "product": { "id": "gid://shopify/Product/1346443542550", "title": "White T-shirt", "options": [{ "name": "Size", "values": ["M", "L"] }] } }</code></p>
          </td>
        </tr>
        <tr id="string-unstable">
          <td scope="row">
            String
          </td>
          <td>
            <p>Represents textual data as UTF-8 character sequences. This type is most often used by GraphQL to represent free-form human-readable text.</p>
          </td>
        </tr>
        <tr id="timewithouttimezone-unstable">
          <td scope="row">
            TimeWithoutTimezone
          </td>
          <td>
            <p>A subset of the <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> format that includes the time but not the date or timezone which is determined from context.
For example, "05:43:21".</p>
          </td>
        </tr>
        <tr id="url-unstable">
          <td scope="row">
            URL
          </td>
          <td>
            <p>Represents an <a href="https://datatracker.ietf.org/doc/html/rfc3986">RFC 3986</a> and
<a href="https://datatracker.ietf.org/doc/html/rfc3987">RFC 3987</a>-compliant URI string.</p>
<p>For example, <code>"https://example.myshopify.com"</code> is a valid URL. It includes a scheme (<code>https</code>) and a host
(<code>example.myshopify.com</code>).</p>
          </td>
        </tr>
        <tr id="void-unstable">
          <td scope="row">
            Void
          </td>
          <td>
            <p>A void type that can be used to return a null value from a mutation.</p>
          </td>
        </tr>
    </tbody>

</table>
</div>