Skip to content
CatalogChannels

Preview or complete one channel requirement for many listings

Previews or completes the same channel requirement on many listings.

POST/v1/channels/{channelId}/requirements/complete
Requires an access token with the channel:update permission.

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.

Authorization*string

OAuth 2.0 bearer token.

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/requirements/complete" \  -H "x-Store-Id: <store-id>" \  -H "Authorization: Bearer <token>" \  -H "Content-Type: application/json" \  -d '{    "externalId": "7204558912004323067",    "target": "attribute",    "mode": "value",    "value": "Tienda online",    "valueId": "7204558912004324721",    "destination": "product",    "listingIds": [      "7204558912004321492"    ],    "sellerId": "7204558912004323447"  }'
{  "listings": 1,  "products": 1,  "readyAfter": 1,  "applied": false,  "notAllowed": 0}