CatalogChannels
Preview which products are ready to publish on a sales channel
Evaluates each product as publication would, without writing. Returns whether it is ready, what data it lacks, whether the channel already has a publication with its SKU, or whether it is already published.
Path Parameters
channelId*string
Identifier of the sales channel.
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
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/publications/preview" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "productIds": [ "7204558912004322039" ], "lookupRemote": false }'{ "items": [ { "productId": "7204558912004322039", "status": "ready", "listingId": "7204558912004321492", "missing": [ "Muy buena calidad" ], "issues": [ { "code": "POL-001", "message": "Entregar después de las 18:00.", "detectedBy": "Tienda online", "remedy": "editTitle", "attributeId": "7204558912004325220", "sku": "POL-001-AZ-M", "subject": "Tienda online" } ], "matches": [ "Muy buena calidad" ], "categorySource": "override", "state": "notPublished" } ], "channelStatus": "active"}