---
title: "POST /cart"
method: POST
path: "/cart"
---

# POST /cart

`POST /cart`

## Request

- Base URL: `https://developers.whmcs.com/api/v2`
- URL: `https://developers.whmcs.com/api/v2/cart`
- Auth: none declared

Create a new cart.

## Response `200`

Newly-created cart data.

- object
  - `data` Cart, required
    - `id` string, required

## Other responses

- `default`: General Error

---

[API](https://skmtc.dev/whmcs/apis/whmcs-api.md) - [All operations](https://skmtc.dev/whmcs/apis/whmcs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/whmcs/apis/whmcs-api/revisions/bd3848ddbc3f?raw)
