summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/api-merchant.rst10
1 files changed, 2 insertions, 8 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 91c50e91..71f6e963 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -3059,13 +3059,12 @@ Adding templates
**Request:**
The request must be a `TemplateAddDetail`.
-
+
**Response:**
:http:statuscode:`204 No content`:
The creation of the template is successfull.
-
:http:statuscode:`404 Not found`
The merchant instance is unknown or it is not in our data.
@@ -3112,10 +3111,8 @@ Editing templates
:http:statuscode:`204 No content`:
The templates has successfully modififed.
-
:http:statuscode:`404 Not found`:
The templates(ID) is unknown to the backend.
-
:http:statuscode:`409 Conflict`:
The provided information is inconsistent with the current state of the template. Changes made is the same with
another store.
@@ -3143,7 +3140,7 @@ Editing templates
// Another template that complete the main one.
template_details: TemplateSeparateDetail[];
- }
+ }
@@ -3159,7 +3156,6 @@ Inspecting template
:http:statuscode:`200 OK`:
The backend has successfully returned all the templates. Returns a `TemplateSummaryResponse`.
-
:http:statuscode:`404 Not found`:
The backend has does not know about the instance.
@@ -3199,7 +3195,6 @@ The `TemplatesEntry` object describes a template. It has the following structure
:http:statuscode:`200 OK`:
The backend has successfully returned the detailed information about a specific template.
Returns a `TemplateDetail`.
-
:http:statuscode:`404 Not found`:
The template(ID) is unknown to the backend.
@@ -3240,7 +3235,6 @@ Removing template
:http:statuscode:`204 No content`:
The backend has successfully deleted the template.
-
:http:statuscode:`404 Not found`:
The backend does not know the instance or the template.