Preview YBM Connect Products

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 to 0. (optional)
  • limit: Number of products to return; defaults to 25. (optional)
  • category: Filter by Product group id from the preview of Product groups. (optional)
  • status: ACTIVE or INACTIVE. (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

  • 200 on success.
  • 202 while the catalogue index is being prepared; the response has empty items, total: 0, imported: {}, and cache_status. Retry later.
  • 400 for invalid query parameters.
  • 404 if the Supplier does not accept connection requests.

Example response

{
  "items": [
    {
      "id": "prd_example",
      "name": "Example product",
      "status": "ACTIVE",
      "category": "cat_example"
    }
  ],
  "total": 1,
  "imported": {}
}