/branding/ - UpdateBranding

PUT {{host}}/branding/

A request that allows you to update the branding details.

Authorisation

To use this request you must be authorised.

Authorisation is achieved by creating a Cookie header with the value token=abc123. To get a valid token, you send a request to POST /auth using the Auth API in restful-booker-platform.

Simply run the request once with the default credentials to have Qodex add a token to the Cookies manager.

Request Body

{"name"=>"Shady Meadows B&B", "logoUrl"=>"https://www.mwtestconsultancy.co.uk/img/rbp-logo.png", "description"=>"Welcome to Shady Meadows, a delightful Bed & Breakfast nestled in the hills on Newingtonfordburyshire. A place so beautiful you will never want to leave. All our rooms have comfortable beds and we provide breakfast from the locally sourced supermarket. It is a delightful place.", "contact"=>{"name"=>"Shady Meadows B&B", "address"=>"The Old Farmhouse, Shady Street, Newfordburyshire, NE1 410S", "phone"=>"012345678901", "email"=>"fake@fakeemail.com"}, "map"=>{"latitude"=>52.6351204, "longitude"=>1.2733774}}

HEADERS

KeyDatatypeRequiredDescription
acceptstring
Referernull
Content-Typestring