addtocart

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

Shopper adds an Athos 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.

Path Params
string
required

Customer siteId found in the Athos Console or Athos Management Console

Body Params

Add to cart payload

context
object
required

Contextual data about the event

data
object
required

Event details

Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

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