---
title: "a new cart."
method: POST
path: "/pospayments/{paymentId}/articles/discount"
tags: ["Cart"]
---

# a new cart.

`POST /pospayments/{paymentId}/articles/discount`

## Request

- Base URL: `https://api.c1st.com/api`
- URL: `https://api.c1st.com/api/pospayments/{paymentId}/articles/discount`
- Auth: HTTP bearer

## Request body

- DiscountArticleItem
  - `title` string
  - `discount` number
  - `discounttagid` integer, nullable: Which discount tag that should be applied to the discount
  - `mode` string: Mode for the discount e.g. percentage, subtract, total, perItem
  - `val` number: Value set for the discount
  - `quantity` number: Quantity of the discount line, either 1 or -1. Defaults to 1 when omitted.

## Response `204`

Ok

## Other responses

- `4XX`: Not found

---

[API](https://skmtc.dev/c1st/apis/customers-1st-api.md) - [All operations](https://skmtc.dev/c1st/apis/customers-1st-api/llms.txt) - [OpenAPI document](https://skmtc.dev/c1st/apis/customers-1st-api/revisions/4250bb326f2a?raw)
