Moved orderNumber to fulfillment response.
This commit is contained in:
parent
bf359c63d4
commit
ca06ee21ea
@ -240,7 +240,6 @@ paths:
|
||||
example:
|
||||
{
|
||||
"orderId": "a0ef57fa-395c-4a03-96e9-234c26dccea9",
|
||||
"orderNumber": "123456",
|
||||
"customerProfileId": 1337,
|
||||
"totalAmount": 121,
|
||||
"touchPointId": 1,
|
||||
@ -347,7 +346,11 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example: { "orderId": "a0ef57fa-395c-4a03-96e9-234c26dccea9" }
|
||||
example:
|
||||
{
|
||||
"orderId": "a0ef57fa-395c-4a03-96e9-234c26dccea9",
|
||||
"orderNumber": "123456",
|
||||
}
|
||||
/orders/:
|
||||
post:
|
||||
tags:
|
||||
@ -359,8 +362,7 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
null
|
||||
example: null
|
||||
responses:
|
||||
"201":
|
||||
description: Created
|
||||
@ -384,8 +386,7 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
null
|
||||
example: null
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
@ -409,8 +410,7 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
null
|
||||
example: null
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
@ -434,8 +434,7 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
null
|
||||
example: null
|
||||
responses:
|
||||
"201":
|
||||
description: Created
|
||||
@ -459,8 +458,7 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
null
|
||||
example: null
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
@ -484,8 +482,7 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
null
|
||||
example: null
|
||||
responses:
|
||||
"201":
|
||||
description: Created
|
||||
@ -509,8 +506,7 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
null
|
||||
example: null
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
|
||||
Loading…
Reference in New Issue
Block a user