Get recommendations

GET{{API_BASE_URL}}/shop/v1/cart/:cart/recommendations

This endpoint retrieves recommendations for up-selling and cross-selling items related to the specified cart.

Request

Thes endpoint does not require ar request body.

Response

  • data (object): The main data container for the recommendations.

    • upSellings (array): An array of recommended products for up-selling.

      • article (object): Details of the recommended product.

        • prices (array): An array of prices for the product.

        • recommendationImageUri (string): The URI for the recommendation image.

        • id (string): The ID of the recommended product.

        • name (string): The name of the recommended product.

        • description (string): The description of the recommended product.

        • image (object): Details of the product image.

        • sort (integer): The sorting order of the product.

        • isLegitimationRequired (boolean): Indicates if legitimation is required for the product.

        • type (string): The type of the product.

        • ticketValidity (string): The validity of the ticket for the product.

        • articleNumber (string): The article number of the product.

        • amount (object): Details of the product amount.

        • configuration (object): Configuration details for the product.

        • timeslots (array): An array of timeslots for the product.

    • crossSellings (array): An array of recommended products for cross-selling.

      • article (object): Details of the recommended product (similar structure as in upSellings).
    • description (string): The description of the recommendations.

Authentication#auth

This endpoint does not require authentication.

Responses#responses

200OKGet recommendations