diff --git a/.changeset/remove-shopuser-metafield-docs.md b/.changeset/remove-shopuser-metafield-docs.md new file mode 100644 index 0000000000..c44126df8d --- /dev/null +++ b/.changeset/remove-shopuser-metafield-docs.md @@ -0,0 +1,5 @@ +--- +'@shopify/ui-extensions': patch +--- + +Remove `shopUser` from the documented `AppMetafieldEntryTarget` resource types for checkout UI extensions. Shop User metafields were never released publicly and are not a supported metafield target for partner extensions; keeping the value in the public API reference caused partners to attempt using an unsupported capability. diff --git a/packages/ui-extensions/src/surfaces/checkout/api/standard/standard.ts b/packages/ui-extensions/src/surfaces/checkout/api/standard/standard.ts index bf4875aefd..157f307a50 100644 --- a/packages/ui-extensions/src/surfaces/checkout/api/standard/standard.ts +++ b/packages/ui-extensions/src/surfaces/checkout/api/standard/standard.ts @@ -247,7 +247,6 @@ export interface AppMetafieldEntryTarget { * - `'customer'`: The customer who placed the order. * - `'product'`: A product in the merchant's catalog. * - `'shop'`: The merchant's shop. - * - `'shopUser'`: A staff member or collaborator account on the shop. * - `'variant'`: A specific variant of a product. * - `'company'`: A [B2B](https://shopify.dev/docs/apps/build/b2b) company associated with the order. * - `'companyLocation'`: A location belonging to a [B2B](https://shopify.dev/docs/apps/build/b2b) company. @@ -259,7 +258,6 @@ export interface AppMetafieldEntryTarget { | 'customer' | 'product' | 'shop' - | 'shopUser' | 'variant' | 'company' | 'companyLocation'