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.

mutationDeprecated

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.

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

Specifies the input fields for a gate configuation.


Was this section helpful?

Anchor to GateSubjectCreatePayload returnsGateSubjectCreatePayload returns

The created gate subject.

The list of errors that occurred from executing the mutation.


Was this section helpful?