| S. NO. | Description | Endpoint | Method | Body |
|---|---|---|---|---|
| 1 | For saving the HTML template to the database | {HOST}/order | POST | Field Name Mandatory Type Value name YES STRING ORDER_PDF / DISPATCH_PDF config YES LIST |
| 2 | For previewing the HTML template on the frontend | {HOST}/order | POST | Field Name Mandatory Type Value data YES DICT / OBJECT Mock data to show on FE html_wrapper YES BOOLEAN false |