> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

# MetafieldsResourceType

GraphQL enum

The type of resource with which the metafield is associated.

Reference: https://docs.bigcommerce.com/developer/api-reference/graphql/admin/types/enums/metafields-resource-type

## Values

- `BRAND` — Metafield is associated with brand.
- `CART` — Metafield is associated with cart.
- `CATEGORY` — Metafield is associated with category.
- `CHANNEL` — Metafield is associated with channel.
- `CUSTOMER` — Metafield is associated with customer.
- `LOCATION` — Metafield is associated with location.
- `ORDER` — Metafield is associated with order.
- `PRODUCT` — Metafield is associated with product.
- `STORE` — Metafield is associated with store.
- `VARIANT` — Metafield is associated with variant.

## Definition

```graphql
enum MetafieldsResourceType {
  BRAND
  CART
  CATEGORY
  CHANNEL
  CUSTOMER
  LOCATION
  ORDER
  PRODUCT
  STORE
  VARIANT
}
```