Skip to content

Edit an existing food share point.

PATCH
/api/foodSharePoints/{foodSharePointId}

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

foodSharePointId*
Typestring
Required
Pattern"[1-9][0-9]*"

Request Body

application/json
JSON
{
"regionId": 1,
"name": "Test-Fairteiler",
"description": "Test-Beschreibung",
"picture": "/api/uploads/12345678",
"address": "Beispielstraße 1",
"postalCode": "12345",
"city": "Musterstadt",
"location": {
"lat": 52.5,
"lon": 13.4
},
"managerIds": [
1
]
}

Responses

Success

Playground

Authorization
Variables
Key
Value
Body

Samples

cURL
JavaScript
PHP
Python