Skip to content
CatalogVariants

Find the variants of a pasted SKU list

Matches each SKU with the same key the catalog uses, within the current seller scope. Returns the variants found, the SKUs that do not exist and the SKUs that more than one seller uses.

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/catalog/variants/sku-matches" \  -H "x-Store-Id: <store-id>" \  -H "Authorization: Bearer <token>" \  -H "Content-Type: application/json" \  -d '{    "skus": [      "Polo de algodón Azul / M"    ]  }'
{  "matches": [    {      "sku": "POL-001-AZ-M",      "productId": "7204558912004322039",      "variantId": "7204558912004323197",      "sellerId": "7204558912004323447"    }  ],  "missing": [    "Polo de algodón Azul / M"  ],  "repeated": [    {      "sku": "POL-001-AZ-M",      "sellerIds": [        "7204558912004323447"      ]    }  ]}