GET /suppliers/:id/recommended-items
Read a connected Supplier's recommendations for your customer number, as used in the Shop. These are selected products, not the full catalogue; use GET /suppliers/:id/items for that. Use your numeric Supplier id, not the YBM Connect account ID. The connection needs a customer number. Unlike the other Supplier read routes, this endpoint requires Items:READ_DETAILS permission.
Request header
X-Timezone-Offset: The client's time-zone offset in minutes, used for date-dependent prices. Defaults to0when omitted. (optional)
Response
items contains the recommended products in the same Item-oriented format used by the Shop, and total is their count. If there is no recommendation list, the response is { "total": 0, "items": [] }. See Item details and YBM Connect Items for related fields.
Status codes
200on success, including an empty result when there are no recommendations.400if the Supplier is not a connected YBM Connect Supplier.404if the Supplier or customer number cannot be found.
Example response
{
"total": 0,
"items": []
}