admin.paydro.com/[event-id]/products/index.json.
admin.paydro.com/[event-id]/products/add.json.
admin.paydro.com/[event-id]/products/edit/[product-id].json [GET POST].
admin.paydro.com/[event-id]/products/delete/[product-id].json.
Add/ Edit POST DATA.
data[Product][id]
data[Product][title]
data[Product][description]
data[Product][stock]
(int) How many of these can be sold
data[Product][available_from][day]
data[Product][available_from][month]
data[Product][available_from][year]
(int) In the shop from the beginning of this day
data[Product][available_till][day]
data[Product][available_till][month]
data[Product][available_till][year]
(int) In the shop till the end of this day
data[Product][price] 2500.0000
(decimal 10,4) price ex vat, with a decimal point
data[Product][donation]
(int, option) is not a donation, 1 this ticket is a donation (price field is ignored)
data[Product][vatOption]
(int, option) 1 is default vat, 2 is custom vat
data[Product][vat]
(decimal 3,2) set custom vat when vatOption is set to 2
data[Product][discount]
(int, option)
1 ticket available in the shop, by default
2 ticket available in the shop by default, no discounts in any way
3 hidden product, only made available by discount code
data[Product][extra_fields]
(int, option)
1 show extra question fields for this product
2 do not show the extra questions
data[Product][category_id]
id of existing ticket category
data[Product][category_new]
name of new ticket group
if this name is set, the category_id will be ignored and a new group is created
Response OK.
true