Error
A valid request URL is required to generate request examples{
"values": [
{
"value": "<string>",
"product_count": 123
}
],
"limitHit": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}API Reference
The distinct values one metafield key takes
Lists the distinct values one product metafield key takes across the merchant’s synced catalog, most common first, with the number of products per value (capped, see limitHit). Call it after /product-metafield-keys to offer concrete values for a metafield rule or badge. Read-only; same full-catalog scan, 503-on-timeout and 60 s cache as the key listing.
GET
/
product-metafield-values
Error
A valid request URL is required to generate request examples{
"values": [
{
"value": "<string>",
"product_count": 123
}
],
"limitHit": true
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Shopify App Bridge session token of the embedded Depict: Search & Merchandising app. The shop in the token determines the merchant; merchant_id parameters must belong to that shop.
Query Parameters
Lite merchant id, e.g. shopify-<shop id>.
The metafield as namespace.key (e.g. custom.weight), as listed by /product-metafield-keys.
Pattern:
^[A-Za-z0-9_-]{1,255}\.[A-Za-z0-9_-]{1,64}$Was this page helpful?

