Moved orderNumber to fulfillment response.

This commit is contained in:
Bas Boterman 2024-10-04 10:58:15 +02:00
parent bf359c63d4
commit ca06ee21ea

View File

@ -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