API Quick Start

This guide aims to provide you with a comprehensive overview of how to effectively utilize the AfterShip Personalization API and walk you through some common scenarios to help enhance your eCommerce platform's shopping experience.


AfterShip Personalization API provides functionalities aimed at optimizing product discovery and guiding purchasing decisions.

  • Recommendation engine: Delivers personalized product recommendations based on individual customer preferences and browsing history.
  • Search optimization: Simplifies the search process to help customers find desired products quickly.
  • Tagging system: Organizes products by applying tags based on attributes such as product type, brand, or price range.
graph TD Ecom(("Customer System")) CommerceAPI["AfterShip Commerce API"] PersonalizationAPI["AfterShip Personalization API"] Ecom--"1. Stores, Products, Orders"-->CommerceAPI-->PersonalizationAPI--"2. Recommendations, Search, Tagging"-->Ecom

As different API endpoints require different resources, the table below shows an overview of the required resource of each API endpoints:

EndpointStoresProductsOrders
POST /discoveries/recommend
POST /discoveries/suggest
POST /discoveries/search
POST /discoveries/tagging

All endpoints are only accessible via HTTPS and are located at:

preparing...

Here’s a sample request to receive recommended random products:

Sample Request

preparing...

Sample Response

preparing...