Skip to content
CatalogChannels

Validate listing

Returns the listing's blocking issues and warnings without publishing or changing it.

POST/v1/channels/{id}/listings/{listingId}/validate
Requires an access token with the channel:read permission.

Path Parameters

id*string

Unique identifier of the resource.

listingId*string

Header Parameters

x-Store-Id?string

Store the request acts on. Not needed when the token is bound to a store.

Authorization*string

OAuth 2.0 bearer token.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.ecomiq.pe/api/v1/channels/7204558912004329619/listings/7204558912004321492/validate" \  -H "x-Store-Id: <store-id>" \  -H "Authorization: Bearer <token>"
{  "valid": false,  "issues": [    {      "code": "POL-001",      "attribute": "Mi tienda",      "message": "Entregar después de las 18:00.",      "severity": "Mi tienda"    }  ]}