Building the Universal Commerce Protocol
Universal Commerce Protocol (UCP), co-developed by Shopify and Google, is an open standard for AI agents to discover merchant capabilities and complete transactions.
Universal Commerce Protocol (UCP), co-developed by Shopify and Google, is an open standard for AI agents to discover merchant capabilities and complete transactions.
MCP UI extends the Model Context Protocol so servers can return interactive UI components, such as product selectors, galleries and cart flows, as embedded ui:// resources alongside JSON data.
Shopify's Shop App moved its Store Screen from client-driven to server-driven UI so the backend decides which sections (Best Sellers, Collections, All Products) and layouts (Grid, Shelf) each merchant's store renders.
Shopify Fulfillment Network shows two-day delivery dates by precomputing them rather than calculating them at request time.
Shopify adapted its internal payment service to India's 2021 RBI recurring-payment rules by working with a local provider supporting cards and UPI.
Shopify replaced Mulesoft with an in-house Ruby on Rails platform for integrating internal business systems such as Salesforce, Airtable and Netsuite, because the proprietary JVM/XML tool sat outside Shopify's stack and couldn't easily reach internal services like Kafka.
Marketplace Kit 2.0 decouples its sample code from the Shopify CLI's generated Node app and splits it into a full-stack Express/React admin app and a Next.js buyer app, both open-sourced.
Shopify's Polaris Viz React charting library replaced scattered per-chart style props with a single `theme` prop backed by a typed Theme record, removing visual inconsistencies across the admin.
Exposing V8's CPU profiler through v8go, the Go library for running JavaScript in V8 isolates via Cgo, came down to a choice between lazily fetching each profile node property with its own Cgo call or eagerly building the whole call tree in C++ and rebuilding it in Go from a single pointer.
GraphQL mutations are the write side of the API, the counterpart to POST, PUT and DELETE in REST.
A beginner walkthrough of adding GraphQL to a Ruby on Rails app using a food-and-nutrition example.
Shopify's GraphQL Admin API rate-limits by calculated query cost instead of request count: clients get 50 points per second up to a 1,000-point bucket, and each query is priced by static analysis before execution.
Builds a small birthday-tracker web app called Mirth from scratch in plain Ruby, then rebuilds it with Rails components to show what each layer abstracts away.