Skip to content
CatalogChannels

Make a source the primary source of its product

The product keeps the category, brand and attributes of its primary source. Other sources stop changing them, and the new primary source is read again.

Path Parameters

id*string

Unique identifier of the resource.

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/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.ecomiq.pe/api/v1/channels/listings/7204558912004329619/primary-source" \  -H "x-Store-Id: <store-id>" \  -H "Authorization: Bearer <token>"
Empty