event

Create Discount Code

Changed on
post/event/create/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/create/discount-code/
  • Auth
    OAuth 2
    Password
    Token URL: /auth/login/access/token

Request body

event_idinteger nullable
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
all_visible_ticketsboolean nullable
all_hidden_ticketsboolean nullable
is_select_menuallyboolean nullable
ticket_namesstring[] nullable
add_on_uuidsstring[] nullable
auto_attach_with_ticketboolean 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