---
title: "Add fee to cart"
method: POST
path: "/fees"
tags: ["fees"]
---

# Add fee to cart

`POST /fees`

Adds a fee to the cart.

## Request body

- object
  - `name` string, required — Name of the fee.
  - `amount` string, required — Amount for the fee.
  - `taxable` boolean — Determines if the fee is taxable.
  - `tax_class` string — The tax class the fee applies to.

## Response `200`

Fee added successfully.

- string

## Other responses

- `403` — Fee already exists.
- `404` — The name or amount of the fee is missing, or cart is empty.

---

[API](https://skmtc.net/cocartapi/apis/cocart-jwt-authentication.md) · [All operations](https://skmtc.net/cocartapi/apis/cocart-jwt-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cocartapi/cocart-jwt-authentication/revisions/2031b047ca5f/schema)
