summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/api-merchant.rst15
1 files changed, 8 insertions, 7 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 58c20fb8..05ea9a55 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -3109,6 +3109,7 @@ Adding templates
}
+
Editing templates
-----------------
@@ -3243,17 +3244,18 @@ Removing template
-Adding public template
-----------------------
+
+Dynamic template
+---------------
.. http:post:: [/instances/$INSTANCES]/templates/$TEMPLATE_ID
- This is used to adding public template. This public template can be modified by everyone.
+ This dynamic template can be modified by everyone and will be used to create order.
**Request:**
- The request must be a `PublicTemplateDetails`.
+ The request must be a `DynamicTemplateDetails`.
**Response:**
@@ -3264,16 +3266,15 @@ Adding public template
The merchant instance is unknown or it is not in our data.
- .. ts:def:: PublicTemplateDetails
+ .. ts:def:: DynamicTemplateDetails
- interface PublicTemplateDetails {
+ interface DynamicTemplateDetails {
// Subject of the template
subject: string;
// The amount entered by the customer
amount: Amount;
-
}