---
title: "Adds billing infos to the current cart"
method: PUT
path: "/api/v1/cart/billing"
tags: ["Cart"]
---

# Adds billing infos to the current cart

`PUT /api/v1/cart/billing`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body `application/x-www-form-urlencoded`

- object
  - `vat` string: vat
  - `firstname` string, required: firstname
  - `lastname` string, required: lastname
  - `middlename` string: middlename
  - `title` string: title
  - `salutation` string: salutation
  - `street` string: street
  - `streetNr` string: streetNr
  - `addressLine1` string: addressLine1
  - `addressLine2` string: addressLine2
  - `company` string: company
  - `postCode` string: postCode
  - `city` string: city
  - `state` string: state
  - `regionCode` string: regionCode
  - `country` string: country
  - `countryCode` string: countryCode
  - `phoneAreaCode` string: phoneAreaCode
  - `phoneCountryCode` string: phoneCountryCode
  - `phoneNumber` string: phoneNumber
  - `email` string, required: email

## Response `200`

OK

- ControllerCartAPIResult
  - `CartTeaser` CartTeaser
    - `DeliveryCodes` string[]
    - `ItemCount` integer
    - `ProductCount` integer
  - `CartValidationResult` ValidationResult
    - `CommonErrorMessageKey` string
    - `HasCommonError` boolean
    - `ItemResults` ValidationItemValidationError[]
      - `ErrorMessageKey` string
      - `ItemID` string
  - `Data` unknown
  - `DataValidationInfo` object
  - `Error` CartResultError
    - `Code` string
    - `Message` string
  - `Success` boolean

## Other responses

- `500`: Internal Server Error

## Changes

> 47 revisions in range; 1 not diffed.

- **2021-02-09** `0417488c9ffd`: 1 info
  - endpoint added
- **2020-06-02** `c9a35308c137`: 1 breaking
  - api removed without deprecation

[Operation history](https://skmtc.dev/i-love-flamingo/apis/flamingo-commerce-api-spec/changes/api/v1/cart/billing/put.md)

---

[API](https://skmtc.dev/i-love-flamingo/apis/flamingo-commerce-api-spec.md) - [All operations](https://skmtc.dev/i-love-flamingo/apis/flamingo-commerce-api-spec/llms.txt) - [OpenAPI document](https://skmtc.dev/i-love-flamingo/apis/flamingo-commerce-api-spec/revisions/c19ef86b2a0c?raw)
