Toggle 1
PATCH
/active/toggle
curl \
--request PATCH 'https://sandbox.serchservice.com/api/v1/active/toggle' \
--header "X-Serch-Signed: $API_KEY" \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "X-Serch-Drive-Api-Key: $API_KEY" \
--header "X-Serch-Drive-Secret-Key: $API_KEY" \
--header "X-Serch-Guest-Api-Key: $API_KEY" \
--header "X-Serch-Guest-Secret-Key: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"address":"string","latitude":42.0,"longitude":42.0,"place_id":"string"}'
Request examples
{
"address": "string",
"latitude": 42.0,
"longitude": 42.0,
"place_id": "string"
}
Response examples (200)
{
"status": "100 CONTINUE",
"code": 42,
"message": "string",
"data": "ONLINE"
}