[#572] API book with promo code

Migrated from Redmine #572 | Author: Angelo A
Status: Closed | Priority: High, I’m very impatient | Created: 2020-09-14


Hello,

Can you please show me a correct request using a promo code. I want to see the data structure.

I tried with:

Params: [
  "12",
  "7",
  "2020-09-17",
  "09:00",
  {"name":"AAAA","email":"aaa@example.com","phone":"04234234234"},
  {"handle_invoice":true,"promocode":"devdevdev","XXX3d3d33d3d3d3d3d3":"1991-06-24"}
];
Params: [
  "12",
  "7",
  "2020-09-17",
  "09:00",
  {"name":"AAAA","email":"aaa@example.com","phone":"04234234234"},
  [
      { name: 'handle_invoice', value: true },
      { name: 'promocode', value: 'devdevdev' }
      { name: 'XXX3d3d33d3d3d3d3d3', value: '1991-06-24' }
  ]
];

Redmine Admin wrote:

Hi, unfortunately there is no API to use with promocodes and promocodes are not supported with current APIs