Skip to main content

Reinstate a deleted Product Type

POST 

/product/:guid/reinstate

Reinstate a deleted Product Type.

Request

Path Parameters

    guid uuidrequired

    The guid of the Product Type.

Responses

Product Type reinstated.

Schema

    guid uuidrequired

    The guid of the Product Type.

    event_id uuidrequired

    The guid of the Event associated with the Product Type.

    name stringrequired

    Possible values: <= 255 characters

    The name of the Product Type.

    description string

    Possible values: <= 65536 characters

    The description of the Product Type.

    vat_percentage floatrequired

    Possible values: <= 100

    The VAT percentage which applies to this Product Type. This is a float with at most 2 decimals, because VAT percentages in some countries have fractions of a percent.

    price integer

    The price of this Product Type in cents.

    pricing_method string

    Possible values: [own, container]

    The type of pricing method. Whether the container value or its own value is used for varying kickback calculations.

    class string

    Possible values: [EventProtect, RefundProtect, RandomNumberGenerator, PlayPass, Co2Compensate, Giro555]

    The class which get called on order Events.

    origin_type string

    Possible values: [date, ticket, product]

    The type of Product Type. This is either date, ticket, or product. This is auto-generated.

    status string

    Possible values: [auto, sold_out]

    The sale status of the Product Type.

    extra_data array

    Extra class data.

Loading...