PUT/shop/{shopId}

Update Shop

This method enables you to edit a shop by providing the shopID as an input.
PUT/shop/{shopId}

Optional Fields

  • body

Parameter Details

NameInTypeRequiredDescription
shopIdpathintegerRequiredEnter shopId
bodybodycreateShopReqOptionalnone

Responses

StatusMeaningDescriptionSchema
200OKUpdatedreviewsShopPutResp
400Bad RequestBad RequestNone
401UnauthorizedAuthorization FailedNone
404Not FoundNot foundNone
500Internal Server ErrorInternal Server ErrorNone

Example Request

# You can also use wget
curl -X PUT /shop/{shopId} \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: API_KEY'

Body parameter

{
  "shopName": "Abc",
  "hotelCodes": [
    1,
    123
  ],
  "sourceCodes": [
    1,
    283
  ],
  "shopType": 1
}

Example responses

200 Response
{
  "message": "Shops details updated successfully"
}

Need Support?

Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.