Skip to content

Edit an existing food share point.​

PATCH
/api/food-share-points/{foodSharePointId}

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

foodSharePointId*
Type
integer
Required
Minimum
1

Request Body​

application/json
JSON
{
  
"regionId": 1,
  
"name": "Test-Fairteiler",
  
"description": "Test-Beschreibung",
  
"picture": "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​