Skip to content

GetStorefrontValidValues reads back the values SetStorefrontValidValues stored, so a storefront-scoped picker can offer them.

You call thisScope not enforced

GET
/v2/storefront/listing/valid_values
curl --request GET \
--url https://api.zentail.com/v2/storefront/listing/valid_values \
--header 'Authorization: Bearer <token>'
accountId
string format: int64
storefrontId
string format: int64
specIds
Array<string>

Limits the read to these attribute specs. Empty returns every spec that has values stored for the storefront.

A successful response.

Media typeapplication/json

GetStorefrontValidValuesResponse holds the stored valid values keyed by attribute spec id. A storefront that has never been synced returns an empty map rather than an error, and a spec with no stored values is absent.

object
specIdToValidValues
object
key
additional properties

ValidValues holds one attribute spec’s valid values.

object
validValues
Array<string>
Examplegenerated
{
"specIdToValidValues": {
"additionalProperty": {
"validValues": [
"example"
]
}
}
}

An unexpected error response.

Media typeapplication/json
object
code
integer format: int32
message
string
details
Array<object>
object
@type
string
key
additional properties
Examplegenerated
{
"code": 1,
"message": "example",
"details": [
{
"@type": "example"
}
]
}

Sourceapi-proto@afdb30cc via [email protected]

Built0c509dd3

This page describes the source document as deployed: the version listing pinned in its release r2026.09.24.02. A change merged upstream shows up here once it has deployed and the pins are next refreshed.

API changelog