Skip to content

ReplaceErrors replaces the errors for a variant

You call thisScope not enforced

POST
/v2/storefront/listing/variant/{sku}/errors
curl --request POST \
--url https://api.zentail.com/v2/storefront/listing/variant/example/errors \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "submissionType": "example", "errors": [ { "attributeIds": [ "example" ], "severity": "SEVERITY_UNSPECIFIED", "type": "TYPE_UNSPECIFIED", "message": "example" } ] }'
sku
required
string
Media typeapplication/json
ReplaceErrorsRequest provides all the channel-generated errors for a SKU
object
submissionType
string
errors
Array<object>
object
attributeIds
One or more attributes that this error applies to
Array<string>
severity
string
default: SEVERITY_UNSPECIFIED
Allowed values: SEVERITY_UNSPECIFIED SEVERITY_NOTICE SEVERITY_WARNING SEVERITY_ERROR
type
  • TYPE_TOO_MANY_VALUES: The attribute carries more values than the channel accepts for it. The channel rejects the whole submission over its cap, so Zentail omits this one attribute and reports it here.
string
default: TYPE_UNSPECIFIED
Allowed values: TYPE_UNSPECIFIED TYPE_MISSING_VALUE TYPE_INVALID_VALUE TYPE_RESTRICTED_VALUE TYPE_OTHER TYPE_TOO_MANY_VALUES
message
Message is required if Type is TYPE_OTHER or TYPE_TOO_MANY_VALUES
string

A successful response.

Media typeapplication/json
ReplaceErrorsResponse is empty
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