Order Creation v2.
This commit is contained in:
parent
1467a45663
commit
37e48be76d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user