Extra Questions


Add:

Call: admin.paydro.com/[event-id]/category_fields/add/[category-id].json [POST].

POST data.

data[CategorieField][id]
data[CategorieField][name]
data[CategorieField][type]:[date, time, dateTime, numeric, text, textarea, email, checkbox, select]
data[CategorieField][mandatory]:
    (int, option) 1 field must be filled out, 0 field is optional to fill out by customer
data[CategorieField][order]:
    (int ) relative position of the question in the shop
data[CategorieField][options]:
    (array/dict) of multiple options
    Works for type:select only

Response OK.

ok: true
id:[category-field-id]

Edit:

Call: admin.paydro.com/[event-id]/category_fields/edit/[category-id]/[category-field-id].json [POST].

Response OK.

ok: true
id:[category-field-id]

Delete:

Call: admin.paydro.com/[event-id]/category_fields/delete/[category-id]/[category-field-id].json [POST].

Response OK.

ok: true