addtocart

/beacon/v2/{siteId}/recommendations/addtocart

Shopper adds a Searchspring personalized recommendation result to the cart via a Quick Add to Cart button in the rendered product card. If frontend Quick Add to Cart is not implemented, omit usage of this endpoint.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Customer siteId found in the Searchspring Management Console

Body Params

Recommendations payload

context
object
required

Contextual data about the event

data
object
required

Event details

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json