PUT
/shopUpdate Shop
Updates the details of an existing shop using its ID.
PUT
/shopOptional Fields
- name
- los
- guests
- horizon
- horizonExpression
- market
- websiteCode
- shopType
Implementation Notes
Updates the details of an existing shop using its ID.
Parameter Details
| Name | In | Type | Required | Description |
|---|---|---|---|---|
body | body | object | Required | none |
» shopId | body | number | Required | none |
» name | body | string | Optional | none |
» los | body | number | Optional | none |
» guests | body | number | Optional | none |
» horizon | body | number | Optional | none |
» horizonExpression | body | string | Optional | none |
» market | body | string | Optional | none |
» websiteCode | body | number | Optional | none |
» shopType | body | number | Optional | none |
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | Inline |
| 400 | Bad Request | Bad Request | None |
| 401 | Unauthorized | Authentication Failed or Account validity Expired | None |
| 429 | Too Many Requests | Too Many Requests | None |
| 500 | Internal Server Error | Internal Server Error | None |
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.