vercel connect create shopify --name acme-shopvercel connect attach shopify/acme-shop --project my-app --environment productionUse the Vercel CLI to add the Shopify connector

import { getToken } from '@vercel/connect'; const token = await getToken('shopify/acme-shop', { subject: { type: 'app' }, scopes: ['write_products'],}); await fetch(`https://acme.myshopify.com/admin/api/2026-01/graphql.json`, { method: 'POST', headers: { 'X-Shopify-Access-Token': token, 'Content-Type': 'application/json', }, body: JSON.stringify({ query: `mutation { productUpdate(product: { id: "gid://shopify/Product/123", title: "Restocked: Acme Mug" }) { product { id } } }`, }),});
Update a product in your Shopify store with the Vercel Connect credential