Moved orderNumber to fulfillment response.
This commit is contained in:
parent
bf359c63d4
commit
ca06ee21ea
@ -240,7 +240,6 @@ paths:
|
|||||||
example:
|
example:
|
||||||
{
|
{
|
||||||
"orderId": "a0ef57fa-395c-4a03-96e9-234c26dccea9",
|
"orderId": "a0ef57fa-395c-4a03-96e9-234c26dccea9",
|
||||||
"orderNumber": "123456",
|
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 121,
|
"totalAmount": 121,
|
||||||
"touchPointId": 1,
|
"touchPointId": 1,
|
||||||
@ -347,7 +346,11 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example: { "orderId": "a0ef57fa-395c-4a03-96e9-234c26dccea9" }
|
example:
|
||||||
|
{
|
||||||
|
"orderId": "a0ef57fa-395c-4a03-96e9-234c26dccea9",
|
||||||
|
"orderNumber": "123456",
|
||||||
|
}
|
||||||
/orders/:
|
/orders/:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
@ -359,8 +362,7 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example:
|
example: null
|
||||||
null
|
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Created
|
description: Created
|
||||||
@ -384,8 +386,7 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example:
|
example: null
|
||||||
null
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
@ -409,8 +410,7 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example:
|
example: null
|
||||||
null
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
@ -434,8 +434,7 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example:
|
example: null
|
||||||
null
|
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Created
|
description: Created
|
||||||
@ -459,8 +458,7 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example:
|
example: null
|
||||||
null
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
@ -484,8 +482,7 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example:
|
example: null
|
||||||
null
|
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Created
|
description: Created
|
||||||
@ -509,8 +506,7 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example:
|
example: null
|
||||||
null
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
@ -533,19 +529,19 @@ components:
|
|||||||
title:
|
title:
|
||||||
type: string
|
type: string
|
||||||
example: "You do not have enough credit."
|
example: "You do not have enough credit."
|
||||||
detail:
|
detail:
|
||||||
type: string
|
type: string
|
||||||
example: "Your current balance is 30, but that costs 50."
|
example: "Your current balance is 30, but that costs 50."
|
||||||
instance:
|
instance:
|
||||||
type: string
|
type: string
|
||||||
example: "/account/12345/msgs/abc"
|
example: "/account/12345/msgs/abc"
|
||||||
balance:
|
balance:
|
||||||
type: string
|
type: string
|
||||||
example: "30"
|
example: "30"
|
||||||
accounts:
|
accounts:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
example:
|
example:
|
||||||
- "/account/12345"
|
- "/account/12345"
|
||||||
- "/account/67890"
|
- "/account/67890"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user