Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

queryDeprecated

Requires read_gates access scope. Also: You must have read access to gates to read gate configurations.

Fetch a gate configuration resource by ID. Gates API is being sunset and will be removed in a future version. Use metafields instead for gate configuration.

ID!required

The ID of the gate configuration to return.


Was this section helpful?

Represents a gate configuration, which stores the information about a gate. A gate configuration can be bound to multiple subjects via the GateSubject model.

createdAt
non-null

The date and time when the gate configuration was created.

defaultCursor
non-null

A default cursor that returns the single next record, sorted ascending by ID.

handle

A non-unique string used to group gate configurations.

id
non-null

The ID of the gate configuration.

metafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

metafields
non-null

A list of custom fields that a merchant associates with a Shopify resource.

metafieldsByIdentifiers
non-null

The metafields associated with the resource matching the supplied list of namespaces and keys.

name

The name of the gate configuration.

subjectBindings
non-null

The subject bindings for this gate configuration.

updatedAt
non-null

The date and time when the gate configuration was updated.

appId

An ID that an owner can use to identify the gate configuration.


Was this section helpful?