PUT/shop

Update Shop

Updates the details of an existing shop using its ID.
PUT/shop

Optional Fields

  • name
  • los
  • guests
  • horizon
  • horizonExpression
  • market
  • websiteCode
  • shopType

Implementation Notes

Updates the details of an existing shop using its ID.

Parameter Details

NameInTypeRequiredDescription
bodybodyobjectRequirednone
» shopIdbodynumberRequirednone
» namebodystringOptionalnone
» losbodynumberOptionalnone
» guestsbodynumberOptionalnone
» horizonbodynumberOptionalnone
» horizonExpressionbodystringOptionalnone
» marketbodystringOptionalnone
» websiteCodebodynumberOptionalnone
» shopTypebodynumberOptionalnone

Responses

StatusMeaningDescriptionSchema
200OKSuccessInline
400Bad RequestBad RequestNone
401UnauthorizedAuthentication Failed or Account validity ExpiredNone
429Too Many RequestsToo Many RequestsNone
500Internal Server ErrorInternal Server ErrorNone

Example Request

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

Body parameter

{
  "shopId": 0,
  "name": "string",
  "los": 0,
  "guests": 0,
  "horizon": 0,
  "horizonExpression": "",
  "market": "string",
  "websiteCode": 0,
  "shopType": 0
}

Example responses

200 Response
{
  "message": "Shop Updated Successfully",
  "shopId": 0
}

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.