Website Settings

PATCH

Update Website Settings

Update the website settings.

Required Permission: Edit Website Setting
PATCH /website-settings

Request Body

JSON

    

Request Parameters

Parameter Type Required Validation Description
name String Required string, required, max: 255 The website name
email String Required string, required, max: 255 The website email
phone String Required string, required, max: 255 The website phone
address String Required string, required, max: 255 The website address
opening_time String Required string, required, max: 255 The website opening time
closing_time String Required string, required, max: 255 The website closing time
google_map String Required string, required, max: 255 The google map iframe link
copyright String Required string, required, max: 255 The website copyright text
footer_text String Required string, required, max: 255 The website footer text
facebook_link String Optional string, nullable, max: 255 The Facebook profile/page link
twitter_link String Optional string, nullable, max: 255 The Twitter profile URL
instagram_link String Optional string, nullable, max: 255 The Instagram profile URL
youtube_link String Optional string, nullable, max: 255 The YouTube channel URL
tiktok_link String Optional string, nullable, max: 255 The TikTok profile URL
whatsapp_link String Optional string, nullable, max: 255 The WhatsApp link
logo File Optional image, nullable, mimes: jpeg,png,jpg,webp, max: 2048 The website logo image
favicon File Optional image, nullable, mimes: jpeg,png,jpg,webp, max: 2048 The website favicon image
preloader File Optional image, nullable, mimes: jpeg,png,jpg,webp, max: 2048 The website preloader image
footer_image File Optional image, nullable, mimes: jpeg,png,jpg,webp, max: 2048 The website footer logo image
menu File Optional file, nullable, mimes: pdf, max: 2048 The website menu pdf file

Response

200 OK
Status Code
HTTP status code (200)
Message
Website Settings successfully updated
Data
Updated website settings key-value pairs