joanie icon indicating copy to clipboard operation
joanie copied to clipboard

:sparkles: (backend) admin api endpoint for batch order

Open jonathanreveille opened this issue 9 months ago • 0 comments

Purpose

We need actions for the batch order through the admin API endpoints. We will add the send invitation signature link, validation of a successful payment, the generation of orders and the action to send an email with the voucher codes to the owner of the batch order.

Actually, the admin api batch order viewset allow to create a batch order, either with a specific organizaition, or we get the organization with the least orders. With these new endpoints, admin user will be able to : create invitation link to sign contract, validate payment if it's done outside the payment backend, generate orders, send voucher codes by email.

Proposal

  • [x] add admin api endpoint to validate payment
  • [x] add admin api endpoint to generate orders
  • [x] add admin api endpoint to send voucher codes
  • [x] add admin api endpoint to send invitation link signature

jonathanreveille avatar May 12 '25 17:05 jonathanreveille