PUT
/infoshopUpdate Event Info Shop
Update event info shop
Implementation Notes
This API allows users to modify the details of an existing Event Shop linked to an eventInfoShopId.
PUT
/infoshopParameter Details
| Name | In | Type | Required | Description |
|---|---|---|---|---|
eventInfoShopId | query | integer | Required | Unique identifier of the EventShop. |
body | body | object | Required | none |
» shopName | body | string | Optional | Name of the EventShop. |
» estimatedAttendee | body | string | Optional | Estimated number of attendees. |
» city | body | string | Optional | City where the event takes place. |
» country | body | string | Optional | Country where the event takes place. |
» startDate | body | string(date) | Optional | Start date of the event. |
» horizon | body | integer | Optional | Number of days from the start date to retrieve data. |
» eventIds | body | [integer] | Optional | List of event IDs associated with the EventShop. |
» category | body | string | Optional | Category codes (single value or range). |
» subCategory | body | string | Optional | Subcategory codes (single value or range). |
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | OK | |
| 400 | Bad Request | Bad Request | None |
| 401 | Unauthorized | Unauthorized | None |
| 403 | Forbidden | Forbidden | None |
| 404 | Not Found | Not Found | 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 https://api.events.example.com/api/v1/infoshop?eventInfoShopId=0 \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Body parameter
{
"shopName": "",
"estimatedAttendee": "",
"city": "",
"country": "",
"startDate": "2019-08-24",
"horizon": 0,
"eventIds": [],
"category": "0",
"subCategory": "0"
}
Example responses
200 Response
{
"message": "Shop details updated successfully.",
"shopId": 765
}
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.