Skip to main content
mutation

Requires write_gates access scope. Also: You must have write access to gates and write access to the subject type to create gate subjects. For example, setting a gate on a PRODUCT requires the same access as mutating a PRODUCT.

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

Creates a new Gate Subject.

GateSubjectCreateInput!
required

Specifies the input fields for a gate configuation.


Was this section helpful?

Anchor to GateSubjectCreatePayload returnsGateSubjectCreatePayload returns

GateSubject

The created gate subject.

[GateSubjectUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?