From 37e48be76ddbf10288309474d154f47c5ca0879f Mon Sep 17 00:00:00 2001 From: "b.boterman@htm.nl" Date: Fri, 20 Sep 2024 14:50:43 +0200 Subject: [PATCH] Order Creation v2. --- src/openapi/orders/service_engine_orders.yaml | 114 +++++++++++++++++- 1 file changed, 112 insertions(+), 2 deletions(-) diff --git a/src/openapi/orders/service_engine_orders.yaml b/src/openapi/orders/service_engine_orders.yaml index 456bbb4..20de4fe 100644 --- a/src/openapi/orders/service_engine_orders.yaml +++ b/src/openapi/orders/service_engine_orders.yaml @@ -352,6 +352,14 @@ paths: tags: - Order Creation v2 (RFU) summary: Create a new order. + description: Create a new order. + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/unavailable" + example: + null responses: "201": description: Created @@ -360,6 +368,23 @@ paths: tags: - Order Creation v2 (RFU) summary: Update an existing orderline. + description: Update an existing orderline. + parameters: + - name: uuid + in: path + required: true + style: simple + explode: false + schema: + type: string + example: a0ef57fa-395c-4a03-96e9-234c26dccea9 + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/unavailable" + example: + null responses: "200": description: Success @@ -368,6 +393,23 @@ paths: tags: - Order Creation v2 (RFU) summary: Update an existing order. + description: Update an existing order. + parameters: + - name: uuid + in: path + required: true + style: simple + explode: false + schema: + type: string + example: a0ef57fa-395c-4a03-96e9-234c26dccea9 + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/unavailable" + example: + null responses: "200": description: Success @@ -376,6 +418,23 @@ paths: tags: - Order Creation v2 (RFU) summary: Add a payment to an existing order. + description: Add a payment to an existing order. + parameters: + - name: uuid + in: path + required: true + style: simple + explode: false + schema: + type: string + example: a0ef57fa-395c-4a03-96e9-234c26dccea9 + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/unavailable" + example: + null responses: "201": description: Created @@ -384,6 +443,23 @@ paths: tags: - Order Creation v2 (RFU) summary: Update a payment on an existing order. + description: Update a payment on an existing order. + parameters: + - name: uuid + in: path + required: true + style: simple + explode: false + schema: + type: string + example: a0ef57fa-395c-4a03-96e9-234c26dccea9 + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/unavailable" + example: + null responses: "200": description: Success @@ -392,14 +468,48 @@ paths: tags: - Order Creation v2 (RFU) summary: Add a customer to an existing order. + description: Add a customer to an existing order. + parameters: + - name: uuid + in: path + required: true + style: simple + explode: false + schema: + type: string + example: a0ef57fa-395c-4a03-96e9-234c26dccea9 + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/unavailable" + example: + null responses: - "200": - description: Success + "201": + description: Created /customers/{uuid}: patch: tags: - Order Creation v2 (RFU) summary: Update a customer on an existing order. + description: Update a customer on an existing order. + parameters: + - name: uuid + in: path + required: true + style: simple + explode: false + schema: + type: string + example: a0ef57fa-395c-4a03-96e9-234c26dccea9 + requestBody: + content: + application/json: + schema: + $ref: "#/components/schemas/unavailable" + example: + null responses: "200": description: Success