apiMatchListings
استعلاميتطلب مفتاحًاShop API: finds the Wamia product behind each shop SKU by GTIN, then brand + MPN. Read-only; feeds the import wizard before apiSubmitListing.
الوسائط
| الاسم | النوع | الوصف |
|---|---|---|
| items | [ApiListingMatchItemInput!]! | مطلوب |
يُرجع
مثال
query ApiMatchListings($items: [ApiListingMatchItemInput!]!) {
apiMatchListings(items: $items) {
match {
confidence
own
productId
variantId
}
sku
}
}curl -sS https://api.wamia.tn/connect/graphql \
-H 'content-type: application/json' \
-H 'x-api-key: wamia_…' \
-H 'user-agent: my-integration/1.0.0 (+https://shop.example.tn)' \
-H 'wamia-idempotency-key: 6f0e1a2b-…' \
--data '{"query":"query ApiMatchListings($items: [ApiListingMatchItemInput!]!) { apiMatchListings(items: $items) { match { confidence own productId variantId } sku } }"}'