# Bestellung mit allen Artikeln aus einem bestimmten Warenkorb erstellen Erstellt eine Bestellung mit allen Artikeln aus dem entsprechenden Warenkorb. Der erstellten Bestellung wird der Bestellstatus new zugewiesen. Endpoint: POST /v2/project/{project_id}/distribution_hub/payment/cart/{cart_id} Version: 1.0.0 Security: AuthForClient ## Path parameters: - `project_id` (integer, required) Projekt-ID. Example: 44056 - `cart_id` (string, required) Warenkorb-ID. Example: "custom_id" ## Request fields (application/json): - `currency` (string, required) Bevorzugte Zahlungswährung. Währungscode, bestehend aus drei Buchstaben gemäß [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). - `geotype` (number, required) Vertriebspartner-ID aufseiten von Xsolla. Example: 13038 - `quantity` (integer) Artikelmenge. Example: 1 ## Response 200 fields (application/json): - `billing_info` (object) Abrechnungsdaten. - `billing_info.direct_tax` (array) - `billing_info.direct_tax.amount` (number) Example: 150 - `billing_info.direct_tax.name` (string) Example: "TAX" - `billing_info.direct_tax.rate` (number) Example: 10 - `billing_info.indirect_tax` (array) - `billing_info.price` (object) - `billing_info.price.currency` (string) Kaufwährung. Code, bestehend aus drei Buchstaben, gemäß [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). Example: "USD" - `order_id` (integer) Bestell-ID. ## Response 422 fields (application/json): - `errorCode` (integer) Example: 1401 - `errorMessage` (string) Example: "[0401-1401]: Invalid cart" - `statusCode` (integer) Example: 422