summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2022-11-15 06:16:43 -0500
committerpriscilla <priscilla.huang@efrei.net>2022-11-15 06:16:43 -0500
commit8c516e4a394bb604b05de3c1985e0d9bdef94a4a (patch)
treee6b1c0e0676c0fffd2127b74d35f8551ef95b025 /core
parentecd4d61f00e56494bfe384e4f2dae75b0e3307b0 (diff)
downloaddocs-8c516e4a394bb604b05de3c1985e0d9bdef94a4a.tar.gz
docs-8c516e4a394bb604b05de3c1985e0d9bdef94a4a.tar.bz2
docs-8c516e4a394bb604b05de3c1985e0d9bdef94a4a.zip
Update
Diffstat (limited to 'core')
-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.