event

Update Promocode Code V2

Changed on
post/event/update/discount-code/{event_id}/{discount_code}/

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/event/update/discount-code/{event_id}/{discount_code}/
  • Auth
    OAuth 2
    Password
    Token URL: /auth/login/access/token

Path parameters

event_idinteger required
discount_codestring required

Request body

discount_codestring nullable
is_auto_applyboolean nullable
usage_typestring nullable
usage_limitinteger nullable
is_now_startboolean nullable
is_scheduled_startboolean nullable
start_datestring nullable
start_timestring nullable
is_ticket_sale_end_dateboolean nullable
is_scheduled_endboolean nullable
end_datestring nullable
end_timestring nullable
descriptionstring nullable
ticket_namesstring[] nullable
addons_namestring[] nullable
add_on_uuidsstring[] nullable
auto_attach_with_ticketboolean nullable
remaining_usage_limitinteger nullable
is_discount_enabledboolean nullable

Response

Successful Response

unknown required

Changes

    • info

      removed the pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ from the request property /

    • info

      removed the pattern ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$ from the request property /

    • info

      added the new optional request property