DHIL-3364 - Moved OrderNumber from request body to response body.
This commit is contained in:
parent
06012e51f0
commit
0e6d9cb7aa
@ -25,7 +25,7 @@ paths:
|
|||||||
name: orderNumber
|
name: orderNumber
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
example: OV-1337
|
example: ORD123456
|
||||||
required: false
|
required: false
|
||||||
description: The human readable number of the order.
|
description: The human readable number of the order.
|
||||||
- in: query
|
- in: query
|
||||||
@ -306,7 +306,6 @@ paths:
|
|||||||
example:
|
example:
|
||||||
{
|
{
|
||||||
"externalOrderId": "bac3958b-804a-43e3-b5f7-0b0fffaae5b7",
|
"externalOrderId": "bac3958b-804a-43e3-b5f7-0b0fffaae5b7",
|
||||||
"orderNumber": "123456",
|
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 121,
|
"totalAmount": 121,
|
||||||
"touchPointId": 1,
|
"touchPointId": 1,
|
||||||
@ -427,7 +426,11 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example: { "orderId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d" }
|
example:
|
||||||
|
{
|
||||||
|
"orderId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d",
|
||||||
|
"orderNumber": "ORD123456",
|
||||||
|
}
|
||||||
/orders/{orderId}:
|
/orders/{orderId}:
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user