Creating a reason for changing the quote status

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

Preview

Creating reasons for the 'CHANGE' or 'DECLINE' types of quote statuses. The reason for the quote status change serves to provide more descriptive information why the status has been changed. This option is available both for merchants and customers, depending on who updates the status of the quote.


Required scopes

  • quote.quote_manage

Request Body

{"code"=>"PRICE_TOO_HIGH", "type"=>"CHANGE", "message"=>{"en"=>"The price is too high", "de"=>"Der Preis ist zu hoch"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Languagestring(Required) The Content-Language request HTTP header defines language(s) of the payload.
Content-Typestring
Acceptstring