Partially updating a quote - change customer of the quote

PATCH {{api-url}}/quote/{{tenant}}/quotes/{{quoteId}}

Partially updates a quote with a given Id. Single update may contain multiple partial updates in the form of an array. It contains the allowed operations list: - add (adding an item to the items list) - remove (removing an item from the items list) - replace (replacing an item with given id with new definition which may contain custom price proposal or defined price)

After events are saved, some of the information is retrieved in the async way from other services: full price definition is based on the provided price ID, and the full product name is based on the provided product ID.


Required scopes

  • quote.quote_manage - allows employees to modify all quotes
  • quote.quote_manage_own - allows customers to modify only their own quotes by modifying the status to either ACCEPTED or DECLINED.

Request Body

{"0"=>{"op"=>"replace", "path"=>"/customerId", "value"=>"C12345678"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring