Skip to content

SetStorefrontValidValues sets the valid values for an attribute spec whose valid values are unique to each storefront instance (e.g. a channel's approved item types, or a seller's business policies).

You call thisScope not enforced

POST
/v2/storefront/listing/valid_values
curl --request POST \
--url https://api.zentail.com/v2/storefront/listing/valid_values \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "accountId": "example", "storefrontId": "example", "specId": "example", "validValues": [ "example" ] }'

SetStorefrontValidValuesRequest sets the valid values for an attribute spec whose valid values are unique to each storefront instance.

Media typeapplication/json

SetStorefrontValidValuesRequest sets the valid values for an attribute spec whose valid values are unique to each storefront instance.

object
accountId
string format: int64
storefrontId
string format: int64
specId
string
validValues
Array<string>
Examplegenerated
{
"accountId": "example",
"storefrontId": "example",
"specId": "example",
"validValues": [
"example"
]
}

A successful response.

Media typeapplication/json

SetStorefrontValidValuesResponse is an empty response.

object
Examplegenerated
{}

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