Items frequently bought with this one
Up to six related items for a variant on the storefront the request Host is bound to. THE RANKING IS DERIVED FROM PAID ORDERS ONLY, never from views or carts: two items are related when at least two DISTINCT captured orders of this store contained both. Below that threshold a single buyer's basket would define the shop's recommendations. The list is padded with other active listings in the same category so a new shop with no order history still renders something, and sold-out items sort last. It never contains the item itself, never another store's item, and never another tenant's. Availability is the SAME expression the catalogue uses, so an item shown as in stock here is in stock there. NOT feature-gated: related items are part of the catalogue, and the five storefront switches do not include one for them.
Authorization
bearerAuth In: header
Path Parameters
uuidResponse Body
application/json
application/json
application/json
curl -X GET "https://sandbox.505pay.link/v1/marketplace/catalog/497f6eca-6276-4993-bfeb-53cbbbba6f08/related"{
"items": [
{
"variant_id": "01916b2a-f3c0-7000-0000-0000000000aa",
"product_id": "01916b2a-f3c0-7000-0000-0000000000a0",
"sku": "BERAS-5KG",
"product_name": "Beras Premium",
"name": "5kg",
"price_cents": 7500000,
"currency": "IDR",
"available_qty": 12
}
]
}{
"error": "not_found",
"message": "resource not found",
"request_id": "01916b2a-f3c0-7000-0000-0000000000ff"
}{
"error": "not_found",
"message": "resource not found",
"request_id": "01916b2a-f3c0-7000-0000-0000000000ff"
}Was this page helpful?