Creating a quote from cart

POST {{api-url}}/quote/{{tenant}}/quotes

Generates a new quote, which can be created either manually using a complete quote definition that includes items, or by copying the details from cart.


Required scopes

  • quote.quote_manage - required for the employee to create a quote
  • quote.quote_manage_own - required for the customer to be able to create a quote from cart

Request Body

{"cartId"=>"4472v8d2309b06d46d3cf19fe", "shipping"=>{"value"=>10, "methodId"=>"dhl", "zoneId"=>"Zone1", "shippingTaxCode"=>"STANDARD"}, "shippingAddressId"=>"642c7f7d7fd3eb46339e80c4", "billingAddressId"=>"642c7f7d7fd3eb46339e80c4"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring