API documentation
User
Tenant
Feature
Entitlement
User & permissions
Settings
- Settings
- Media
- Webhook
- Notification
Payment
- Payment Method
- Transaction
- SEPA XML
- Open Banking
- Bank Account Transaction
Customer
- Customer
- Customer Address
- Customer Email
- Customer Settings
- Customer Otp
Billing
- Invoice
- Invoice Position Item
- Billing Run
Dunning
- Dunning Document
- Dunning Rule
Subscription
- Subscription
- Subscription Item
- Subscription Measurement
- Billing Group
Offers
- Offer
- Offer Recipient
- Offer Template
Catalogue
- Unit
- Measurement
- Product
- Product Family
- Price Plan
- Coupon
Checkout
- Checkout Link
- Cart
- GETRetrieves completed carts of the current tenant.
- GETRetrieves a cart by its ID.
- GETRetrieves a cart by its ID.
- PUTChanges the quantity of a cart item.
- PUTConfirms a cart.
- PUTConfirms the OTP of a cart.
- GETRetrieves the invoice addresses of a cart.
- GETRetrieves the payment methods of a cart.
- PUTPrepares a cart for stripe.
- GET
Accounting
Cart
Changes the quantity of a cart item.
Changes the quantity of a cart item.
PUT
/
public
/
checkout
/
cart
/
{id}
/
change-quantity
curl -X PUT \
/public/checkout/cart/{id}/change-quantity \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"cartItemId": ""
}'
{
"price": {
"amountDue": 123,
"currencyCode": {},
"netAmount": 123,
"taxes": [
{
"netAmount": 123,
"taxAmount": 123,
"rate": 123
}
],
"discountDetails": [
"<string>"
]
},
"id": "c1b0d0c0-0b0b-4b0b-8b0b-0b0b0b0b0b0b",
"status": "<any>",
"customer": "c1b0d0c0-0b0b-4b0b-8b0b-0b0b0b0b0b0b",
"email": "<string>",
"invoiceAddress": {
"id": "<string>",
"vatId": "DE123456789",
"type": "TYPE_DEFAULT",
"default": "true",
"status": "active",
"city": "Berlin",
"zip": "12345",
"street": "Musterstraße",
"houseNumber": "1a",
"countryCode": "DE",
"companyName": "ACME Inc.",
"salutation": "Herr",
"addition": "c/o John Doe",
"costCentre": "123456789",
"firstName": "John",
"lastName": "Doe"
},
"customerPrefill": {},
"paymentMethod": "c1b0d0c0-0b0b-4b0b-8b0b-0b0b0b0b0b0b",
"items": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"quantity": {},
"quantityDetails": {
"aggregationType": "count",
"unit": "<string>",
"description": "<string>",
"quantityEditable": true
},
"price": {
"currencyCode": {},
"taxRate": 123,
"totalNetAmount": 10,
"type": "recurring",
"calculationType": "flat_fee",
"payInAdvance": true,
"price": {
"amount": 123
},
"recurring": {
"interval": "day",
"intervalCount": 123,
"trialPeriodDays": 123,
"recurringAmount": 123
},
"freeUnits": {}
},
"type": "product",
"periods": [
{
"contractPeriod": "<string>",
"cancellationPeriod": "<string>"
}
]
}
],
"completionDetails": [
"<string>"
],
"settings": {
"allowCoupons": true,
"forceCompany": true,
"backButton": {
"url": "https://example.com",
"label": "Back to the shop"
}
}
}
Authorizations
Value for the Authorization header parameter.
Path Parameters
Cart identifier
Body
The updated Cart resource
Response
200
application/json
Cart resource updated
Was this page helpful?
curl -X PUT \
/public/checkout/cart/{id}/change-quantity \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"cartItemId": ""
}'
{
"price": {
"amountDue": 123,
"currencyCode": {},
"netAmount": 123,
"taxes": [
{
"netAmount": 123,
"taxAmount": 123,
"rate": 123
}
],
"discountDetails": [
"<string>"
]
},
"id": "c1b0d0c0-0b0b-4b0b-8b0b-0b0b0b0b0b0b",
"status": "<any>",
"customer": "c1b0d0c0-0b0b-4b0b-8b0b-0b0b0b0b0b0b",
"email": "<string>",
"invoiceAddress": {
"id": "<string>",
"vatId": "DE123456789",
"type": "TYPE_DEFAULT",
"default": "true",
"status": "active",
"city": "Berlin",
"zip": "12345",
"street": "Musterstraße",
"houseNumber": "1a",
"countryCode": "DE",
"companyName": "ACME Inc.",
"salutation": "Herr",
"addition": "c/o John Doe",
"costCentre": "123456789",
"firstName": "John",
"lastName": "Doe"
},
"customerPrefill": {},
"paymentMethod": "c1b0d0c0-0b0b-4b0b-8b0b-0b0b0b0b0b0b",
"items": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"quantity": {},
"quantityDetails": {
"aggregationType": "count",
"unit": "<string>",
"description": "<string>",
"quantityEditable": true
},
"price": {
"currencyCode": {},
"taxRate": 123,
"totalNetAmount": 10,
"type": "recurring",
"calculationType": "flat_fee",
"payInAdvance": true,
"price": {
"amount": 123
},
"recurring": {
"interval": "day",
"intervalCount": 123,
"trialPeriodDays": 123,
"recurringAmount": 123
},
"freeUnits": {}
},
"type": "product",
"periods": [
{
"contractPeriod": "<string>",
"cancellationPeriod": "<string>"
}
]
}
],
"completionDetails": [
"<string>"
],
"settings": {
"allowCoupons": true,
"forceCompany": true,
"backButton": {
"url": "https://example.com",
"label": "Back to the shop"
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.