PUT
/impactshopUpdate Event Impact Shop
Update event impact shop
Implementation Notes
This API call allows the user to modify the details of an existing Impact Shop linked to a impactShopId.
PUT
/impactshopParameter Details
| Name | In | Type | Required | Description |
|---|---|---|---|---|
impactShopId | query | integer | Required | Unique identifier for the Impact Shop. |
body | body | object | Required | none |
» shopName | body | string | Optional | none |
» estimatedAttendee | body | string | Optional | none |
» 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 | none |
» horizon | body | integer | Optional | none |
» eventIds | body | [integer] | Optional | none |
» category | body | string | Optional | none |
» subCategory | body | string | Optional | none |
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/impactshop?impactShopId=1 \
-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": 418
}
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.