Ejoyshop
  1. settings
Ejoyshop
  • Customer
    • Shops
      • Fetch Shops
      • Fetch Specific Shop
      • Book Appointment
    • Auth
      • Signup-email-password
      • Signup-google auth
      • Get user Role and Info
      • New Request
      • Update Profile
      • Reset Password Send OTP
      • Reset Password OTP Verification
      • Reset Password Update new password
    • Meetings
      • Fetch meeting slots
      • book meet
      • Fetch Invited Meets
      • Fetch Meetings for specific users
      • Join Meet
      • Fetch Meetings
    • Categories|sub-categories|languages|occasions|genders
      • Fetch categories
      • Fetch Sub-categories
      • Fetch Languages
      • Fetch Occassions
    • Offers
      • Fetch offers
    • Credits
      • Fetch credits plans
      • Create Pg order
      • Fetch user credit transactions
    • Order
      • Fetch order by id
      • Fetch order by id Copy
      • Fetch Orders
      • Updated Order status
      • Update order delivery address
      • Track Order
    • Address
      • Add address
      • Delete address
      • Mark Address as default
      • Fetch addresses
      • Fetch specific address
    • Favourite Shops
      • Add favourite shop
      • Fetch Favourite shops
      • Delete Favourite Shop
    • Support
      • Add support
      • Update support
      • Fetch supports
      • Fetch Specific Support
    • Fetch Customers list
      GET
  • Admin
    • Shipment
      • shipment track
    • Auth
      • Fetch admin details
      • Update account status
    • vendors
      • Fetch all vendor without pagination
  • Product
    • Create Product
      POST
    • Update the product
      PUT
    • Patch Product
      PATCH
    • Fetch Product by id
      GET
    • fetch products
      GET
    • Delete Product
      DELETE
    • fetch premium products
      GET
    • fetch products by vendor id
      GET
  • SubscriptionPlans
    • Create Subscription Plan
    • Update Subscription Plan
    • Patch Subscription
    • get subscription by id
    • get subscriptions
    • Delete subscription id
    • Subscription Plan Purchase
  • general
    • Generate presigned url
    • Payment webhook test
  • Stitching Service
    • Create Stitching Service
    • Update Stitching Service
    • Patch stitching service invoice
    • Fetch the invoices
    • Fetch the invoices by id
  • settings
    • Update hero banners
      PUT
    • Fetch hero banners
      GET
    • create hero banners
      POST
    • Fetch specific hero banner
      GET
    • Delete hero banner
      DELETE
  • reviews
    • Add order review
    • Update order review
    • Fetch all order feedbacks
    • Fetch order review by id
    • Delete order review
    • Add order review reply
    • Update order review reply
    • Delete order review reply
    • Fetch order review by order id
    • Add Customer review
    • Update Customer review
    • Fetch all customers feedbacks
    • Fetch customer review by customer id
    • Delete customer review
    • Add customer review reply
    • Update customer review reply
    • Delete customer review reply
    • Fetch customer review metrics
    • Add meet review
    • Update order review
    • Fetch all meet feedbacks
    • Fetch meet review by id
    • Add meet review reply
    • Update meet review reply
    • Fetch meet review by meet id
    • Fetch meet review metrics
    • Delete meet review
    • Delete meet review reply
    • Fetch order review metrics
    • Top 10 platform review
    • get top 10 review of meet & order
  • Referral
  • WalletTxn
    • get all customer wallet transaction
    • get-all-referral
    • get single user referral
    • get single Transaction
  • verification
    • send mobile verification otp
    • verify mobile verification otp
    • resend mobile verification otp
    • send email verification otp
    • verify otp for mail
  • GEO Location
    • fetch all country
    • fetch all state
    • fetch all cities
    • fetch all postal code
  • Order
  • chat-service
    • Fetch user
    • Fetch chat rooms for user
    • Fetch unseen counts for user
    • Fetch messages by chat id
    • Fetch read-receipt for msg
    • Fetch chat id info
  • Offers
    • get all feature offers
    • update premium offers
    • Update offer
    • delete offer
  1. settings

Update hero banners

PUT
/settings/hero-banners/{_id}

Update Hero Banners#

The Update Hero Banners API updates existing hero banners (web and mobile) for a given banner ID. It requires valid data and a valid banner ID.
Endpoint
Path Parameter
NameTypeRequiredDescription
idstringYesThe ID of the banner to update (MongoDB ObjectId).
Request Body
NameTypeRequiredDescription
webBannersarrayYesList of web hero banner image URLs (strings).
mobileBannersarrayYesList of mobile hero banner image URLs (strings).
vendorIdstringYesThe vendor's unique MongoDB ObjectId.
Response
Status CodeDescription
200Hero banner updated successfully.
400Validation error or bad request.
403Forbidden - user does not have permission to perform this action.
404Not Found - banner with provided ID not found.
500Internal Server Error.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Body Params application/json

Example
{
    "webBanners":"https://uIqCNVNd.boqhsfrR6lLUwUerb8LhbTEh41ur4qVVzBUzRk4z3bsA",
    "mobileBanners": "https://uIqCNVNd.boqhsfrR6lLUwUerb8LhbTEh41ur4qVVzBUzRk4z3bsA",
    "vendorId": "647587fc52f887dacdeb76b3"
}

Responses

🟢200Success
application/json
Body

Example
{
    "statusCode": 200,
    "status": true,
    "message": "Hero banner updated successfully",
    "response": {
        "banner": {
            "_id": "6821d82a7ff94ab7ea0dbf2c",
            "heroBanners": "https://uIqCNVNd.boqhsfrR6lLUwUerb8LhbTEh41ur4qVVzBUzRk4z3bsA",
            "createdAt": "2025-05-12T11:14:50.667Z",
            "updatedAt": "2025-07-21T04:42:23.001Z",
            "__v": 0,
            "mobileHeroBanners": "https://uIqCNVNd.boqhsfrR6lLUwUerb8LhbTEh41ur4qVVzBUzRk4z3bsA",
            "vendorId": "b5d48bba43c3b1cfbac50230"
        }
    }
}
🔴500Server Error
🟠404Not found response
🟠403Forbidden Response
🟠401Unauthorized Response
🟠400Bad Request Response
Modified at 2025-07-30 10:35:29
Previous
Fetch the invoices by id
Next
Fetch hero banners
Built with