application/json

Body Required

Responses

  • 200 */*

    OK

    Hide response attributes Show response attributes object
    • status string
    • code integer(int32)
    • message string
    • data object
      Hide data attributes Show data attributes object
PATCH /profile/update
curl \
 --request PATCH 'https://sandbox.serchservice.com/api/v1/profile/update' \
 --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 '{"gender":"MALE","phone":{"phone_number":"string","country_code":"string","iso_code":"string","country":"string"},"upload":{"path":"string","media":"string","bytes":"string"},"first_name":"string","last_name":"string"}'
Request examples
{
  "gender": "MALE",
  "phone": {
    "phone_number": "string",
    "country_code": "string",
    "iso_code": "string",
    "country": "string"
  },
  "upload": {
    "path": "string",
    "media": "string",
    "bytes": "string"
  },
  "first_name": "string",
  "last_name": "string"
}
Response examples (200)
{
  "status": "100 CONTINUE",
  "code": 42,
  "message": "string",
  "data": {
    "id": "string",
    "category": "string",
    "image": "string",
    "gender": "string",
    "status": "string",
    "avatar": "string",
    "certificate": "string",
    "rating": 42.0,
    "more": {
      "last_signed_in": "string",
      "number_of_rating": 42,
      "number_of_shops": 42,
      "total_service_trips": 42,
      "total_shared": 42
    },
    "specializations": [
      {
        "id": 42,
        "special": "string",
        "category": "string",
        "image": "string",
        "avatar": "string"
      }
    ],
    "first_name": "string",
    "last_name": "string",
    "email_address": "string",
    "phone_info": {
      "phone_number": "string",
      "country_code": "string",
      "iso_code": "string",
      "country": "string"
    },
    "verification_status": "REQUESTED",
    "business_information": {
      "name": "string",
      "description": "string",
      "address": "string",
      "logo": "string"
    }
  }
}