---
title: "Edit Generate Link"
method: PUT
path: "/manage_event/generate-link/edit/{event_id}/{generate_link_id}/"
tags: ["manage_event"]
---

# Edit Generate Link

`PUT /manage_event/generate-link/edit/{event_id}/{generate_link_id}/`

## Request

- Base URL: `https://api.myticketpartner.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myticketpartner.com/manage_event/generate-link/edit/{event_id}/{generate_link_id}/`
- Auth: OAuth 2
  - Password
  - Token URL: `/auth/login/access/token`

Edit an existing ticket share link

## Path parameters

- `event_id` integer, required
- `generate_link_id` integer, required

## Request body

- EditTicketShareLinkSchema
  - `ticket_name` string, nullable
  - `ticket_type` string, nullable
  - `ticket_quantity` integer, nullable
  - `ticket_price` string, nullable
  - `currency_type` string, nullable
  - `link_type` string, nullable
  - `expiry_datetime` string, nullable
  - `link_expiration` string, nullable
  - `available_ticket_quantity` integer, nullable
  - `ticket_ids` object[], nullable
  - `full_name` string, nullable
  - `mobile_number` string, nullable
  - `country_code` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `404`: Not found
- `422`: Validation Error

## Changes

- **2026-10-27** `df006979d306`: 3 info
  - added the new optional request property `country_code`
  - added the new optional request property `full_name`
  - added the new optional request property `mobile_number`
- **2026-09-03** `43ba83e1f2fe`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/myticketpartner/apis/white-labelling-booking-api/changes/manage_event/generate-link/edit/:event_id/:generate_link_id/put.md)

---

[API](https://skmtc.dev/myticketpartner/apis/white-labelling-booking-api.md) - [All operations](https://skmtc.dev/myticketpartner/apis/white-labelling-booking-api/llms.txt) - [OpenAPI document](https://skmtc.dev/myticketpartner/apis/white-labelling-booking-api/revisions/338d5dfbdf4c?raw)
