Cart

a new cart.

post/tickets/materials/{id}/discount

Request

  • Base URL
    https://api.c1st.com/api
  • URL
    https://api.c1st.com/api/tickets/materials/{id}/discount
  • Auth
    HTTP bearer

Path parameters

idinteger required

Id to the relevant resource

Request body

titlestring
discountnumber
discounttagidinteger nullable

Which discount tag that should be applied to the discount

modestring

Mode for the discount e.g. percentage, subtract, total, perItem

valnumber

Value set for the discount

quantitynumber

Quantity of the discount line, either 1 or -1. Defaults to 1 when omitted.

Response

Ok

Changes

No recorded changes to this operation across all 1 revision of this API.