Skip to content

Set cart business

PUT/store/v1/carts/{cart_id}/business

    Ask 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_idstringrequired

      The cart's ID, like cart_01k8qs5s….

    Headers

    • X-Cart-Tokenstringrequired

      The cart's token

    • shop-api-versionYYYY-MM

      The version to answer in. Without it, your app’s pinned version, else the newest.

    Body

    • legal_namestringrequired
    • vat_numberstringrequired
    • building_numberstring · or null
    • postal_codestring · or null
    • additional_numberstring · or null
    • streetstring · or null
    • districtstring · or null
    • citystring · or null

    Returns

    200 The updated cart.

    Errors

    • 404not_foundNo such cart.
    • 409The store doesn't take business buyers, a payment is in progress, or the cart is completed.
    • 422validation_failedA missing name or VAT number, or details a standard invoice can't use.