Skip to main content

Update a product

POST 

https://api.tickettailor.com/v1/products/:product_id

Updates an existing product

Request

Path Parameters

    product_id stringrequired

    The unique identifier for the product

Body

    booking_feeintegernullable

    Optional booking fee in cents which is charged per product to the customer and the funds are paid to you. We would recommend charging no more than 10% of the product price.

    currencystringnullable

    Currency that the product can be purchased in. Defaults to the box office currency.

    descriptionstringnullable

    Description of the product

    event_series_ids object

    List of event series IDs that have the product

    property name* string
    event_series_idstring
    event_series_id_associationstring

    '1' = add to product, '0' = remove from product, '' = do nothing

    imagestringnullable

    Raw image file data

    instructionsstringnullable

    Instructions on how to purchase the product

    issue_ticket_voucherstringnullable

    Indicate whether the QR code is to be issued for the product

    linked_to_all_event_seriesstringnullable

    Indicate whether the product is linked to all event series

    modify_quantitystringnullable

    Number of products to add or remove. The number should be preceded by a + or - sign

    namestringnullable

    Name of the product

    priceintegernullable

    Cost of the product in cents

    quantityintegernullable

    Number of products available for purchase

    quantity_per_eventintegernullable

    Number of products available for purchase per event

    quantity_unlimitedstring

    If set to 'true', the quantity will be set to unlimited. Otherwise, it will be set to the quantity given

    Possible values: [true, false]

    statusstringnullable

    Product status: on_sale, hidden or sold_out

Responses

Successfully updated the product

Schema
    objectstring
    idstring
    booking_feeintegernullable

    Optional booking fee in cents which is charged per product to the customer and the funds are paid to you. We would recommend charging no more than 10% of the product price.

    created_at nullable

    Date and time when the product was created

    datestring

    ISO-8601 date for the created at date

    formattedstring

    A formatted date string for the create at date

    isostring

    ISO-8601 date and time for the created at date

    timestring

    Time of the end of the created at date

    timezonestring

    Timezone offset for the created at date

    unixinteger

    Unix timestamp for for the created at date

    currencystringnullable

    Information about the currency the product is configured to use

    Possible values: [gbp, usd, eur, sgd, aud, brl, cad, czk, dkk, hkd, huf, ils, jpy, myr, mxn, nok, nzd, php, pln, rub, sek, chf, twd, thb, try]

    descriptionstringnullable

    Description of the product

    event_series_idsstring[]nullable

    List of associated event series IDs

    imagestringnullable

    Image associated with the product

    instructionsstringnullable

    Instructions on how to use the product

    issued_countinteger

    Number of sold products

    issue_ticket_voucherstringnullable

    A boolean value indicating whether a QR code is to be issued for the product

    Possible values: [true, false]

    linked_to_all_event_seriesstringnullable

    A 'true' or 'false' value to determine if the product is linked to all the event series

    Possible values: [true, false]

    namestring

    Name of the product

    priceinteger

    Price in cents. Could be null.

    quantityintegernullable

    Number available for purchase for all event occurrences

    quantity_per_event_occurrenceintegernullable

    Number available for purchase per event occurrence

    sell_in_storestring

    A boolean value indicating whether product is being sold in store

    Possible values: [true, false]

    statusstringnullable

    Status of the product

    Possible values: [on_sale, hidden, sold_out]

    updated_at nullable
    datestring

    ISO-8601 date for the updated timestamp of the product

    formattedstring

    A formatted date string for the updated timestamp of the product

    isostring

    ISO-8601 date and time for the updated timestamp of the product

    timestring

    Time of the updated timestamp of the product

    timezonestring

    Timezone offset for the updated timestamp of the product

    unixinteger

    Unix timestamp for when the product was updated

Authorization: http

name: BasicAuthtype: httpdescription: Use base64 encoded api key created in Ticket Tailor dashboard.
scheme: basic
curl -L -X POST 'https://api.tickettailor.com/v1/products/:product_id' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json' \
-H 'Authorization: Basic PHVzZXJuYW1lPjo8cGFzc3dvcmQ+'
Request Collapse all
Base URL
https://api.tickettailor.com
Auth
Parameters
— pathrequired
Body