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
|
||||
schema:
|
||||
type: string
|
||||
example: OV-1337
|
||||
example: ORD123456
|
||||
required: false
|
||||
description: The human readable number of the order.
|
||||
- in: query
|
||||
@ -306,7 +306,6 @@ paths:
|
||||
example:
|
||||
{
|
||||
"externalOrderId": "bac3958b-804a-43e3-b5f7-0b0fffaae5b7",
|
||||
"orderNumber": "123456",
|
||||
"customerProfileId": 1337,
|
||||
"totalAmount": 121,
|
||||
"touchPointId": 1,
|
||||
@ -427,7 +426,11 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example: { "orderId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d" }
|
||||
example:
|
||||
{
|
||||
"orderId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d",
|
||||
"orderNumber": "ORD123456",
|
||||
}
|
||||
/orders/{orderId}:
|
||||
parameters:
|
||||
- in: path
|
||||
|
||||
Loading…
Reference in New Issue
Block a user