---
title: "POST /api/addtocart"
method: POST
path: "/api/addtocart"
tags: ["Events"]
---

# POST /api/addtocart

`POST /api/addtocart`

## Query parameters

- `instanceKey` string, required

## Request body

- AddToCartEventModel
  - `ProfileKey` string — The profile key identifying the visitor associated with this event. Must not include personally identifiable information (PII) to comply with GDPR guidelines.
  - `SessionKey` unknown
  - `ProductKey` string — The article number of the product the visitor added to their cart.
  - `Quantity` unknown
  - `TotalAmount` unknown

## Response `204`

No Content

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

[API](https://skmtc.net/tweakwise/apis/frontend-api.md) · [All operations](https://skmtc.net/tweakwise/apis/frontend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tweakwise/frontend-api/revisions/9bd1e2b3633f/schema)
