Skip to main content

multipassIdentifier field added to GraphQL Admin API

We have introduced the multipassIdentifier field to the Admin GraphQL API, achieving feature parity with the REST Admin API. This update ensures that both APIs offer the same capabilities, enhancing consistency and flexibility for developers.

The multipassIdentifier field allows you to assign unique identifiers to customers, facilitating seamless authentication between your external website and Shopify store through the Multipass feature.

You can now utilize this field in both the customerCreate and customerUpdate mutations:

mutation {
customerUpdate(input: {
id: "gid://shopify/Customer/12345678",
multipass_identifier: "your-multipass-identifier-value"
}) {
customer {
id
multipassIdentifier
}
userErrors {
field
message
}
}
}

For further details on working with customers in the Admin GraphQL API, please refer to our Customer documentation

Was this section helpful?