GET /connect/suppliers/:account/products
Preview a Supplier's product catalogue before connecting. Use the YBM Connect account ID from the directory. This preview does not include account-specific pricing or show which products you have imported. After your connection is accepted, use GET /suppliers/:id/items for your account's catalogue.
Query parameters
offset: First product to return; defaults to0. (optional)limit: Number of products to return; defaults to25. (optional)category: Filter by Product groupidfrom the preview of Product groups. (optional)status:ACTIVEorINACTIVE. (optional)search_term: Search product names. (optional)
Response
items contains YBM Connect products; total is the number of matches. Each product has an id, name, status, and Product group category. Other available fields can include packaging, prices, and delivery details; see YBM Connect Items. The imported map is always empty in this public preview. Prices shown here must not be treated as your account's agreed prices.
Status codes
200on success.202while the catalogue index is being prepared; the response has emptyitems,total: 0,imported: {}, andcache_status. Retry later.400for invalid query parameters.404if the Supplier does not accept connection requests.
Example response
{
"items": [
{
"id": "prd_example",
"name": "Example product",
"status": "ACTIVE",
"category": "cat_example"
}
],
"total": 1,
"imported": {}
}