PATCH /manager/ambassadors/{id}

Path parameters

  • id integer Required

    The ambassador id

application/json

Body

  • supervisor_identity string(nullable)
  • image string(nullable)
  • gender string
  • firstname string
  • lastname string
  • username string(nullable)
  • description string
  • motivation_letter string(nullable)
  • comment string(nullable)
  • email string
  • email_tmp string(nullable)
  • dob string(nullable)
  • lang string
  • notification_newsletter boolean
  • email_notification_enabled boolean
  • notification_email_chat boolean
  • email_notification_delay string
  • notification_email_favorite_comment boolean
  • notification_email_post_comment boolean
  • notification_email_reward boolean
  • notification_email_tag boolean
  • notification_email_post_community boolean
  • active boolean
  • activation_date string(nullable)
  • validate_date string(nullable)
  • availability string(nullable)
  • unavailable boolean
  • is_absent boolean
  • absent_msg string(nullable)
  • fb_account string(nullable)
  • twitter_account string(nullable)
  • instagram_account string(nullable)
  • linkedIn_account string(nullable)
  • youtube_account string(nullable)
  • tiktok_account string(nullable)
  • social_community_display boolean
  • customer_id string
  • unsubscribe string

    date of unsubscription

Responses

  • 200 application/json

    Returns the ambassador

  • 403

    Forbidden - You don't have permission to access this route

  • 404

    Not found - The ambassador does not exist

PATCH /manager/ambassadors/{id}
curl \
 --request PATCH 'https://domain.tld/api/v2/manager/ambassadors/{id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"supervisor_identity":"string","image":"string","gender":"string","firstname":"string","lastname":"string","username":"string","description":"string","motivation_letter":"string","comment":"string","email":"string","email_tmp":"string","dob":"string","lang":"string","notification_newsletter":true,"email_notification_enabled":true,"notification_email_chat":true,"email_notification_delay":"string","notification_email_favorite_comment":true,"notification_email_post_comment":true,"notification_email_reward":true,"notification_email_tag":true,"notification_email_post_community":true,"active":true,"activation_date":"string","validate_date":"string","availability":"string","unavailable":true,"is_absent":true,"absent_msg":"string","fb_account":"string","twitter_account":"string","instagram_account":"string","linkedIn_account":"string","youtube_account":"string","tiktok_account":"string","social_community_display":true,"customer_id":"string","unsubscribe":"2023-10-01T00:00:00Z"}'
Request examples
{
  "supervisor_identity": "string",
  "image": "string",
  "gender": "string",
  "firstname": "string",
  "lastname": "string",
  "username": "string",
  "description": "string",
  "motivation_letter": "string",
  "comment": "string",
  "email": "string",
  "email_tmp": "string",
  "dob": "string",
  "lang": "string",
  "notification_newsletter": true,
  "email_notification_enabled": true,
  "notification_email_chat": true,
  "email_notification_delay": "string",
  "notification_email_favorite_comment": true,
  "notification_email_post_comment": true,
  "notification_email_reward": true,
  "notification_email_tag": true,
  "notification_email_post_community": true,
  "active": true,
  "activation_date": "string",
  "validate_date": "string",
  "availability": "string",
  "unavailable": true,
  "is_absent": true,
  "absent_msg": "string",
  "fb_account": "string",
  "twitter_account": "string",
  "instagram_account": "string",
  "linkedIn_account": "string",
  "youtube_account": "string",
  "tiktok_account": "string",
  "social_community_display": true,
  "customer_id": "string",
  "unsubscribe": "2023-10-01T00:00:00Z"
}