summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2022-11-15 08:23:24 -0500
committerpriscilla <priscilla.huang@efrei.net>2022-11-15 08:23:24 -0500
commitfc65da690439643e799d46f2cfe295be4b5fef4a (patch)
treeff4dbf6dd84aa9c5549517aa3f70b987b4cb9955 /core
parentdd2d6f96d1296ec1eeca3ebf58f9cd4932f7e13c (diff)
downloaddocs-fc65da690439643e799d46f2cfe295be4b5fef4a.tar.gz
docs-fc65da690439643e799d46f2cfe295be4b5fef4a.tar.bz2
docs-fc65da690439643e799d46f2cfe295be4b5fef4a.zip
Update
Diffstat (limited to 'core')
-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;
-
}