addtocart

/beacon/v2/{siteId}/category/addtocart

Shopper lands on a category results page where Searchspring results are rendered, and adds a result to the cart via a Quick Add to Cart button. 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

Results 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