Set cart business
PUT
/ store/ v1/ carts/ {cart_id}/ businessAsk for a tax invoice in a company's name (business_buyers in GET /checkout/asks). The order's invoices are then standard tax invoices.
Path parameters
cart_idstringrequiredThe cart's ID, like
cart_01k8qs5s….
Headers
X-Cart-TokenstringrequiredThe cart's token
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
legal_namestringrequiredvat_numberstringrequiredbuilding_numberstring · or nullpostal_codestring · or nulladditional_numberstring · or nullstreetstring · or nulldistrictstring · or nullcitystring · or null
Returns
200 The updated cart.
Errors
- 404
not_foundNo such cart. - 409The store doesn't take business buyers, a payment is in progress, or the cart is completed.
- 422
validation_failedA missing name or VAT number, or details a standard invoice can't use.