---
title: "basket.item.add"
method: POST
path: "/basket.item.add.json"
tags: ["basket"]
---

# basket.item.add

`POST /basket.item.add.json`

## Request

- Base URL: `https://api.api2cart.com/v1.1`
- URL: `https://api.api2cart.com/v1.1/basket.item.add.json`
- Auth: API key in header `x-api-key` and API key in header `x-store-key`

Add item to basket

## Query parameters

- `customer_id` string, required
- `product_id` string, required
- `variant_id` string
- `quantity` number
- `store_id` string
- `idempotency_key` string

## Response `200`

successful operation

- object
  - `return_code` integer
  - `return_message` string
  - `result` object
    - `added` boolean

---

[API](https://skmtc.dev/api2cart/apis/api2cart-openapi.md) · [All operations](https://skmtc.dev/api2cart/apis/api2cart-openapi/llms.txt) · [OpenAPI document](https://skmtc.dev/api2cart/apis/api2cart-openapi/revisions/c34440741693?raw)
