{"openapi":"3.0.0","info":{"title":"1688 Global Wholesale and Suppliers","version":"1.0.0","description":"1688 Global wholesale product search, rankings, offer details and supplier profiles in English with USD pricing, one row per entity."},"servers":[{"url":"https://ah-alibaba-1688-com.opendata.best/s/alibaba-1688-com"}],"paths":{"/v1/search":{"post":{"operationId":"search","summary":"Search wholesale products or browse rankings","description":"Wholesale offer rows from keyword search or category rankings. Leave mode on auto or select ranking with categoryId.","tags":["search"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"mode":{"type":"string","enum":["auto","search","ranking"],"description":"Mode. Auto selects detail for product URLs or offer IDs, supplier for member IDs, and search for a keyword. Select ranking explicitly to collect a ranking tab without a keyword.","default":"auto"},"keyword":{"type":"string","description":"Search keyword. Enter one product phrase, preferably in English for the Global catalog. Leaving all target fields empty starts the three-row phone case example, with normal charges.","example":"phone case"},"startUrls":{"type":"array","items":{"type":"string"},"description":"Detail URLs. Enter 1688 product URLs containing /offer/<number>.html or an offerId query parameter. Shop and category URLs are not product targets."},"sortBy":{"type":"string","enum":["default","sales","price_asc","price_desc"],"description":"Sort order. Sort order for Global keyword search results.","default":"default"},"minPrice":{"type":"number","minimum":0,"description":"Minimum price (USD). Optional lower USD price bound for Global keyword search."},"maxPrice":{"type":"number","minimum":0,"description":"Maximum price (USD). Optional upper USD price bound for Global keyword search."},"minOrderQuantity":{"type":"integer","minimum":1,"maximum":1000000,"description":"Minimum order quantity (MOQ). Optional minimum order quantity filter for Global keyword search."},"supplierFilter":{"type":"string","enum":["all","super_factory","certified_merchant"],"description":"Supplier badge filter. Filter Global keyword search results by verified 1688 supplier tier.","default":"all"},"certifications":{"type":"array","items":{"type":"string"},"description":"Product certifications. Optional certification filters for Global keyword search, such as CE, RoHS, FCC, UL, UKCA, KC, or PSE."},"rankingName":{"type":"string","enum":["Most_Popular","New_Arrivals","TRENDING","Trending","Ranked_by_L30_Days_Total_Orders"],"description":"Ranking. Choose the ranking tab to read when mode is ranking. Trending is the older name of TRENDING; Most orders in the last 30 days was merged into Most_Popular. Rows keep the name you chose in rankingName and the tab read in rankingCode.","default":"Most_Popular"},"categoryId":{"type":"string","description":"Ranking category ID. Enter the numeric category ID used by the ranking page, such as 54.","default":"54"},"categoryLevel":{"type":"integer","minimum":1,"maximum":3,"description":"Category level. Category depth for the ranking filter, from 1 to 3.","default":1},"countryCode":{"type":"string","description":"Ranking country. Two-letter country filter for rankings, such as CN or US. This does not change the search market.","default":"CN"},"maxPages":{"type":"integer","minimum":1,"maximum":5,"description":"Maximum pages. Number of Global search pages to check, from 1 to 5. Collection can stop sooner when the requested row limit is reached.","default":1},"includeDetails":{"type":"boolean","description":"Include product details. Add available product specifications, SKU prices, images, shipping and ratings to search or ranking rows. Enabled by default; CNY details do not overwrite USD search prices.","default":true},"maxDetailItems":{"type":"integer","minimum":0,"maximum":20,"description":"Maximum detail attempts. Maximum search or ranking rows to enrich with details, up to 20 and no more than maxResults. Use at least 1 when includeDetails is enabled; direct detail mode attempts all selected products.","default":1},"includeLeads":{"type":"boolean","description":"Include supplier contacts and company profiles. Add available supplier contacts and company fields to product rows; defaults to includeDetails. Supplier mode always attempts supplier information."},"maxLeadItems":{"type":"integer","minimum":0,"maximum":100,"description":"Maximum supplier enrichment rows. Maximum search or ranking rows to enrich with supplier information, up to 100 and no more than maxResults. Defaults to maxDetailItems; supplier mode attempts all selected suppliers."},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"keyword":"phone case","maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/products":{"post":{"operationId":"products","summary":"Wholesale offer details by offer ID or URL","description":"Detailed offer rows (with optional SKU, contact, DSR, similar and review rows) for given 1688 offerIds or URLs. Fixed for this endpoint: mode=\"detail\".","tags":["products"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"offerIds":{"type":"array","items":{"type":"string"},"description":"Offer IDs. Enter numeric 1688 product IDs, such as the digits in detail.1688.com/offer/123456789.html. Direct details retain their source language and CNY prices."},"startUrls":{"type":"array","items":{"type":"string"},"description":"Detail URLs. Enter 1688 product URLs containing /offer/<number>.html or an offerId query parameter. Shop and category URLs are not product targets."},"includeDescription":{"type":"boolean","description":"Include detail description and images. Include available product description text and images when collecting product details.","default":true},"includeContactInfo":{"type":"boolean","description":"Include extra contact information. Attempt additional published landline and fax details. Requires includeLeads; unavailable contacts remain empty.","default":false},"includeSku":{"type":"boolean","description":"Include extended SKU selector. Fetch the standalone SKU selector surface for enriched product rows when available.","default":false},"includeReviews":{"type":"boolean","description":"Include buyer reviews as rows. Add buyer reviews of each enriched product as rows of their own (recordType review).","default":false},"includeDsr":{"type":"boolean","description":"Include seller DSR breakdown. Fetch detailed store rating tags and fulfillment scores for enriched product rows.","default":false},"includeSimilar":{"type":"boolean","description":"Include similar offers. Fetch comparable offer data on enriched product rows when available.","default":false},"includeRecommend":{"type":"boolean","description":"Include recommended offers. Fetch store recommendation metadata on enriched product rows when available.","default":false},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"offerIds":["744658711502"],"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/suppliers":{"post":{"operationId":"suppliers","summary":"Supplier company profiles by member ID or URL","description":"Supplier rows for given 1688 memberIds or company profile URLs. Fixed for this endpoint: mode=\"supplier\".","tags":["suppliers"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"memberIds":{"type":"array","items":{"type":"string"},"description":"Supplier member IDs. Enter supplier member IDs, including b2b- IDs or older alphanumeric IDs. Do not enter shop URLs."},"startUrls":{"type":"array","items":{"type":"string"},"description":"Detail URLs. Enter 1688 product URLs containing /offer/<number>.html or an offerId query parameter. Shop and category URLs are not product targets."},"includeContactInfo":{"type":"boolean","description":"Include extra contact information. Attempt additional published landline and fax details. Requires includeLeads; unavailable contacts remain empty.","default":false},"includeDsr":{"type":"boolean","description":"Include seller DSR breakdown. Fetch detailed store rating tags and fulfillment scores for enriched product rows.","default":false},"maxResults":{"type":"integer","minimum":1,"maximum":20,"description":"Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).","default":10,"example":3},"requestId":{"type":"string","pattern":"^[A-Za-z0-9._:-]{1,80}$","description":"Optional. Your id for this request: repeating it while the job runs returns the same job."}}},"example":{"memberIds":["b2b-221723143599341d6d"],"maxResults":3}}}},"responses":{"200":{"description":"Done within the request: the rows.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RowsPage"}}}},"404":{"description":"No results matched the query (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"Invalid or missing parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"At capacity, too many running jobs, or rolling 24-hour row limit reached; retry after Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"The source could not be collected this time (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"504":{"description":"Synchronous timeout reached before completion; task cancelled (nothing was billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/v1/health":{"get":{"operationId":"health","summary":"API health check","description":"Lightweight readiness check for this API. Never starts a collection and always bills 0 rows.","tags":["health"],"responses":{"200":{"description":"API is operational (0 rows).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}},"503":{"description":"API is temporarily unavailable (not billed).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthStatus"}}}}}}}},"components":{"schemas":{"Row":{"type":"object","properties":{"recordType":{"type":"string","title":"Row type; review rows appear only with includeReviews","enum":["product","supplier","review"]},"minimumOrderQuantity":{"nullable":true,"type":"integer"},"repurchaseRatePercent":{"nullable":true,"type":"number"},"shipsWithin":{"nullable":true,"type":"string"},"badges":{"type":"array","items":{"type":"string"}},"shopUrl":{"nullable":true,"type":"string"},"rankingName":{"type":"string"},"rankingCode":{"type":"string"},"rank":{"type":"integer"},"categoryId":{"type":"string"},"categoryLevel":{"type":"integer"},"countryCode":{"type":"string"},"monthlySales":{"nullable":true,"type":"number"},"monthlyGrowthPercent":{"nullable":true,"type":"number"},"monthlyCollects":{"nullable":true,"type":"number"},"rating":{"nullable":true,"type":"number","title":"Search-card rating, or a review row's star rating from 1 to 5"},"releasedText":{"nullable":true,"type":"string"},"rankingMetrics":{"type":"object"},"detailTitle":{"type":"string"},"detailPriceCurrency":{"type":"string","enum":["CNY"]},"detailPriceModel":{"type":"object"},"detailPriceMin":{"nullable":true,"type":"number","title":"Lowest detail price in CNY over every SKU and price tier (not limited to the 50 skuSpecs entries)"},"detailPriceText":{"nullable":true,"type":"string","title":"Detail price range text as shown on the offer (CNY)"},"detailPriceType":{"nullable":true,"type":"string","title":"Detail price model, for example skuPrice or rangePrice"},"detailCaptureSource":{"nullable":true,"type":"string","title":"Source of the detail capture"},"detailCapturedAt":{"nullable":true,"type":"string","title":"Time the detail response was captured (ISO 8601)"},"coupons":{"nullable":true,"type":"array","title":"Offer coupons (up to 50); null when the source did not include coupon data","items":{"type":"object"}},"promotions":{"nullable":true,"type":"array","title":"Offer promotions (up to 50); null when the source did not include promotion data","items":{"type":"object"}},"isSupportMix":{"nullable":true,"type":"boolean","title":"Whether different SKUs can be combined to reach the minimum order (trade condition); null when not reported"},"isOfficialInspectionApproved":{"nullable":true,"type":"boolean","title":"Whether the supplier passed the official factory inspection; null when not reported"},"isFreeSample":{"nullable":true,"type":"boolean","title":"Whether a free sample is offered; null when not reported"},"hasFreightTemplate":{"nullable":true,"type":"boolean","title":"Whether the offer has a shipping fee template; null when not reported"},"reviewCount":{"nullable":true,"type":"integer","title":"Number of buyer reviews"},"ratingValue":{"nullable":true,"type":"number","title":"Average buyer rating (0 to 5)"},"dsrItems":{"nullable":true,"type":"array","title":"Shop service ratings by dimension","items":{"type":"object"}},"dsrSummary":{"nullable":true,"type":"object","title":"Shop service rating summary (only when includeDsr is on)"},"contactStatus":{"nullable":true,"type":"string","title":"Status of the supplier contact module, for example captured, blocked or empty_module"},"contactErrorCodes":{"nullable":true,"type":"array","title":"Upstream error codes of the supplier contact module","items":{"type":"string"}},"addressCheck":{"nullable":true,"type":"object","title":"Address check result (status, precision and suggested corrections)"},"priceLadder":{},"skuSpecs":{"type":"array","items":{"type":"object"}},"stock":{"nullable":true,"type":"integer"},"isOutOfStock":{"nullable":true,"type":"boolean"},"priceTiers":{"nullable":true,"type":"array","items":{}},"orderCount":{"nullable":true,"type":"integer"},"salesCountApprox":{"nullable":true,"type":"integer"},"minimumOrderUnit":{"nullable":true,"type":"string"},"moqText":{"nullable":true,"type":"string"},"supplierYears":{"nullable":true,"type":"integer"},"certifications":{"type":"array","items":{"type":"string"}},"sellerType":{"nullable":true,"type":"string"},"isSuperFactory":{"nullable":true,"type":"boolean"},"isFactoryDealer":{"nullable":true,"type":"boolean"},"leafCategoryName":{"nullable":true,"type":"string"},"leafCategoryId":{"nullable":true,"type":"string"},"goodRates":{"nullable":true,"type":"string"},"shipsFrom":{"nullable":true,"type":"string"},"shippingPromise":{"nullable":true,"type":"string"},"deliveryHours":{"nullable":true,"type":"integer"},"unitWeight":{"nullable":true,"type":"number"},"offerlistSource":{"nullable":true,"type":"string"},"offerlistDegraded":{"nullable":true,"type":"boolean"},"skuProps":{"type":"array","items":{}},"attributes":{},"pieceWeightScaleInfo":{"type":"array","items":{}},"detailGalleryImages":{"type":"array","items":{"type":"string"}},"detailVideo":{"type":"object"},"shipping":{"type":"object","title":"Available shipping and freight information"},"rateInfo":{"type":"object","title":"Available ratings and review information"},"supplier":{"type":"object","title":"Available supplier information"},"descriptionUrl":{"nullable":true,"type":"string","title":"Product description URL, not the product page"},"descriptionText":{"type":"string"},"descriptionImages":{"type":"array","items":{"type":"string"}},"relatedOfferIds":{"type":"array","items":{"type":"string"}},"descriptionStatus":{"type":"string"},"fullDetailStatus":{"nullable":true,"type":"string","title":"failed when the optional full detail request or its parsing failed; the row keeps its main details"},"skuStatus":{"nullable":true,"type":"string","title":"failed when the optional SKU request or its parsing failed; the row keeps its main details"},"reviewsStatus":{"nullable":true,"type":"string","title":"Why the offer has no or not all of its review rows: failed (request failed), blocked (the site blocked it), budget_exhausted or cancelled (the run stopped first), missing_login_id (no seller login to ask with), no_row_budget (maxResults left no room). Empty when every review that fit was read. The product row is kept either way"},"dsrStatus":{"nullable":true,"type":"string","title":"failed when the optional shop service rating request or its parsing failed; the row keeps its main details"},"similarStatus":{"nullable":true,"type":"string","title":"failed when the optional similar offers request or its parsing failed; the row keeps its main details"},"recommendStatus":{"nullable":true,"type":"string","title":"failed when the optional recommended offers request or its parsing failed; the row keeps its main details"},"detailSource":{"type":"string"},"leadStatus":{"type":"string"},"companyStatus":{"type":"string"},"companyProfile":{"type":"object"},"leadSources":{"type":"array","items":{"type":"string"}},"contactInfoStatus":{"type":"string"},"fax":{"nullable":true,"type":"string"},"keyword":{"type":"string","title":"Keyword"},"page":{"type":"integer","title":"Page"},"position":{"type":"integer","title":"Position"},"offerId":{"type":"string","title":"Offer ID"},"title":{"type":"string","title":"Source title"},"sellerName":{"nullable":true,"type":"string","title":"Supplier name"},"sourceLanguage":{"type":"string","title":"Source language","enum":["en","zh-CN"]},"outputLanguage":{"type":"string","title":"Output language","enum":["en","zh-CN"]},"priceMin":{"nullable":true,"type":"number","title":"Price in priceCurrency"},"priceText":{"type":"string","title":"Displayed price text, when supplied"},"priceCurrency":{"type":"string","title":"Price currency","enum":["USD","CNY"]},"priceInCny":{"nullable":true,"type":"number","title":"CNY source price"},"cnyToUsdRate":{"nullable":true,"type":"number","title":"USD per CNY reference rate"},"mainImage":{"nullable":true,"type":"string","title":"Main image"},"galleryImages":{"type":"array","title":"Gallery images","items":{"type":"string"}},"imageCount":{"type":"integer","title":"Search-card image count"},"supplierLoginId":{"nullable":true,"type":"string","title":"Supplier login ID"},"supplierMemberId":{"nullable":true,"type":"string","title":"Supplier member ID"},"supplierTagAssetUrl":{"nullable":true,"type":"string","title":"Supplier tag asset URL"},"sellingPoints":{"type":"array","title":"Search-card selling points","items":{"type":"string"}},"salesText":{"nullable":true,"type":"string","title":"Sales wording as displayed"},"starLevel":{"nullable":true,"type":"string","title":"Star level"},"supplierYearsText":{"nullable":true,"type":"string","title":"Supplier years"},"offerType":{"nullable":true,"type":"string","title":"Offer type"},"isAd":{"type":"boolean","title":"Advertisement"},"skuId":{"nullable":true,"type":"string","title":"Highlighted SKU ID"},"detailUrl":{"nullable":true,"type":"string","title":"Detail landing URL"},"detailStatus":{"type":"string","title":"Detail status"},"detailError":{"nullable":true,"type":"string","title":"Detail error reason"},"detailFinalUrl":{"nullable":true,"type":"string","title":"Final detail page URL"},"detailMissingGroups":{"type":"array","title":"Detail groups not captured","items":{"type":"string"}},"detailPageTitle":{"nullable":true,"type":"string","title":"Observed detail page title"},"detailObservedTextSnippet":{"nullable":true,"type":"string","title":"Observed detail page excerpt"},"captureSource":{"type":"string","title":"Capture source"},"capturedAt":{"type":"string","title":"Captured at"},"phones":{"type":"array","title":"Published supplier phones, when available","items":{"type":"object","properties":{"value":{"type":"string"},"type":{"type":"string"},"e164":{"nullable":true,"type":"string"}}}},"emails":{"type":"array","title":"Supplier emails; currently empty","items":{"type":"object","properties":{"value":{"type":"string"},"type":{"type":"string"}}}},"address":{"type":"object","title":"Published supplier address","properties":{"street":{"nullable":true,"type":"string","title":"Street and building number"},"unit":{"nullable":true,"type":"string","title":"Room or floor"},"locality":{"nullable":true,"type":"string","title":"City"},"region":{"nullable":true,"type":"string","title":"Province"},"postalCode":{"nullable":true,"type":"string","title":"Postal code"},"country":{"nullable":true,"type":"string","title":"Country"},"full":{"nullable":true,"type":"string","title":"Full address"}}},"geo":{"type":"object","title":"Published supplier coordinates","properties":{"lat":{"nullable":true,"type":"number","title":"Latitude"},"lng":{"nullable":true,"type":"number","title":"Longitude"}}},"person":{"nullable":true,"type":"object","title":"Contact person supplied by merchant","properties":{"name":{"nullable":true,"type":"string","title":"Name"},"role":{"nullable":true,"type":"string","title":"Role"}}},"org":{"type":"object","title":"Supplier organization","properties":{"name":{"nullable":true,"type":"string","title":"Company full name"},"id":{"nullable":true,"type":"string","title":"Company/member ID"},"memberId":{"nullable":true,"type":"string","title":"Supplier member identifier"},"sellerLoginId":{"nullable":true,"type":"string","title":"Seller login ID"}}},"web":{"type":"object","title":"Vendor web presence","properties":{"website":{"nullable":true,"type":"string","title":"Shop URL"},"socials":{"type":"array","title":"Social/IM channels (Wangwang IM)","items":{"type":"object","properties":{"type":{"type":"string"},"url":{"type":"string"}}}}}},"leadSource":{"type":"string","title":"Source of supplier information","enum":["search","detail","entity","contact","reveal-xhr"]},"leadReveal":{"type":"string","title":"Availability of supplier information","enum":["visible","click","xhr","gated","image","absent"]},"leadAbsences":{"type":"object","title":"Reasons supplier fields are unavailable","additionalProperties":{"type":"string"}},"supplierOffers":{"type":"array","description":"Product IDs listed by the supplier, capped at 50 references per supplier. Open a product at https://detail.1688.com/offer/{id}.html.","items":{"type":"string"}},"offerlistStatus":{"type":"string"},"offerUnit":{"nullable":true,"type":"string"},"postCategoryId":{"nullable":true,"type":"string"},"topCategoryId":{"nullable":true,"type":"string"},"skuCount":{"nullable":true,"type":"integer"},"reviewId":{"type":"string","title":"Review ID (review rows)"},"content":{"nullable":true,"type":"string","title":"Review text (review rows)"},"reviewDate":{"nullable":true,"type":"string","title":"Review date as shown by 1688, China time (review rows)"},"buyerNick":{"nullable":true,"type":"string","title":"Masked buyer nickname (review rows)"},"buyerRegion":{"nullable":true,"type":"string","title":"Buyer region (review rows)"},"skuSpec":{"nullable":true,"type":"string","title":"Variant the buyer bought (review rows)"},"quantity":{"nullable":true,"type":"number","title":"Quantity the buyer bought (review rows)"},"quantityUnit":{"nullable":true,"type":"string","title":"Unit of quantity (review rows)"},"images":{"type":"array","title":"Review photos, up to 20 (review rows)","items":{"type":"string"}},"followUp":{"nullable":true,"type":"object","title":"Follow-up review with content and date, when present (review rows)"}},"additionalProperties":true,"description":"One collected entity. Field availability depends on rowType and the source. Fields always present (a|b = at least one of them): every row: offerId|supplierMemberId; rowType=product: offerId, supplierMemberId|supplierLoginId, title, detailUrl, priceMin; rowType=review: reviewId, offerId, rating|content."},"Error":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"ErrorDetail":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string","example":"invalid_input"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"JobStatus":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string","enum":["queued","running","succeeded","partial","failed","cancelled"]},"done":{"type":"boolean"},"rowsAvailable":{"type":"integer"},"rowsDelivered":{"type":"integer","description":"Rows already delivered (and billed) to you for this job."},"rowsLimit":{"type":"integer","description":"Most rows this job can deliver."},"estimatedFinishSec":{"type":"integer","description":"While running: estimated seconds until done."},"statusUrl":{"type":"string"},"resultsUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"retentionHours":{"type":"integer"},"error":{"$ref":"#/components/schemas/ErrorDetail"}}},"RowsPage":{"allOf":[{"$ref":"#/components/schemas/JobStatus"},{"type":"object","properties":{"offset":{"type":"integer"},"nextOffset":{"type":"integer"},"hasMore":{"type":"boolean"},"rowCount":{"type":"integer"},"rowsBilled":{"type":"integer","description":"Rows delivered by this response."},"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}},"meta":{"type":"object","additionalProperties":true}}}]},"HealthStatus":{"type":"object","required":["ok","site","status","endpoints","rowsBilled"],"properties":{"ok":{"type":"boolean"},"site":{"type":"string"},"status":{"type":"string","enum":["operational","unavailable"]},"endpoints":{"type":"array","items":{"type":"string"}},"rowsBilled":{"type":"integer"}}}}}}