Compare commits
No commits in common. "fa376caa5c391884434313c575723e2447a12564" and "0f933c73ef0e4e3e13751b195ea51ef09d09ed94" have entirely different histories.
fa376caa5c
...
0f933c73ef
@ -216,7 +216,6 @@ paths:
|
|||||||
"created": "2024-06-02 15:01:00.000",
|
"created": "2024-06-02 15:01:00.000",
|
||||||
"updated": "2024-06-02 15:01:00.000",
|
"updated": "2024-06-02 15:01:00.000",
|
||||||
"state": "invoice_created",
|
"state": "invoice_created",
|
||||||
"isCredit": false,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"contractInvoiceId": "1c345237-4d84-47f0-93c2-7b94338e3355",
|
"contractInvoiceId": "1c345237-4d84-47f0-93c2-7b94338e3355",
|
||||||
@ -225,7 +224,6 @@ paths:
|
|||||||
"created": "2024-07-02 15:01:00.000",
|
"created": "2024-07-02 15:01:00.000",
|
||||||
"updated": "2024-07-02 15:01:00.000",
|
"updated": "2024-07-02 15:01:00.000",
|
||||||
"state": "invoice_created",
|
"state": "invoice_created",
|
||||||
"isCredit": false,
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"contractVersions":
|
"contractVersions":
|
||||||
@ -275,7 +273,6 @@ paths:
|
|||||||
"created": "2024-06-02 15:01:00.000",
|
"created": "2024-06-02 15:01:00.000",
|
||||||
"updated": "2024-06-02 15:01:00.000",
|
"updated": "2024-06-02 15:01:00.000",
|
||||||
"state": "invoice_created",
|
"state": "invoice_created",
|
||||||
"isCredit": false,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"contractInvoiceId": "1c345237-4d84-47f0-93c2-7b94338e3355",
|
"contractInvoiceId": "1c345237-4d84-47f0-93c2-7b94338e3355",
|
||||||
@ -284,7 +281,6 @@ paths:
|
|||||||
"created": "2024-07-02 15:01:00.000",
|
"created": "2024-07-02 15:01:00.000",
|
||||||
"updated": "2024-07-02 15:01:00.000",
|
"updated": "2024-07-02 15:01:00.000",
|
||||||
"state": "invoice_created",
|
"state": "invoice_created",
|
||||||
"isCredit": false,
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"contractVersions":
|
"contractVersions":
|
||||||
@ -405,7 +401,6 @@ paths:
|
|||||||
"updated": "2024-07-02 15:01:00.000",
|
"updated": "2024-07-02 15:01:00.000",
|
||||||
"state": "invoice_created",
|
"state": "invoice_created",
|
||||||
"data": "{json}",
|
"data": "{json}",
|
||||||
"isCredit": false,
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
@ -573,7 +568,6 @@ paths:
|
|||||||
"updated": "2024-07-02 15:01:00.000",
|
"updated": "2024-07-02 15:01:00.000",
|
||||||
"state": "invoice_sent",
|
"state": "invoice_sent",
|
||||||
"data": "{json}",
|
"data": "{json}",
|
||||||
"isCredit": false,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"contractInvoiceId": "dadff658-4ff5-4eb8-b516-492f1f6c6245",
|
"contractInvoiceId": "dadff658-4ff5-4eb8-b516-492f1f6c6245",
|
||||||
@ -583,7 +577,6 @@ paths:
|
|||||||
"updated": "2024-08-02 15:01:00.000",
|
"updated": "2024-08-02 15:01:00.000",
|
||||||
"state": "invoice_created",
|
"state": "invoice_created",
|
||||||
"data": "{json}",
|
"data": "{json}",
|
||||||
"isCredit": false,
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
@ -607,7 +600,6 @@ paths:
|
|||||||
"updated": "2024-07-02 15:01:00.000",
|
"updated": "2024-07-02 15:01:00.000",
|
||||||
"state": "invoice_created",
|
"state": "invoice_created",
|
||||||
"data": "{json}",
|
"data": "{json}",
|
||||||
"isCredit": false,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
responses:
|
responses:
|
||||||
@ -692,13 +684,6 @@ paths:
|
|||||||
example: created
|
example: created
|
||||||
required: false
|
required: false
|
||||||
description: Invoice state.
|
description: Invoice state.
|
||||||
- in: query
|
|
||||||
name: isCredit
|
|
||||||
schema:
|
|
||||||
type: boolean
|
|
||||||
example: false
|
|
||||||
required: false
|
|
||||||
description: Whether the invoice is a credit invoice.
|
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
@ -719,7 +704,6 @@ paths:
|
|||||||
"updated": "2024-06-02 15:01:00.000",
|
"updated": "2024-06-02 15:01:00.000",
|
||||||
"state": "invoice_created",
|
"state": "invoice_created",
|
||||||
"data": "{json}",
|
"data": "{json}",
|
||||||
"isCredit": false,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"contractId": "a7452e22-3894-40cc-87d6-869370a92277",
|
"contractId": "a7452e22-3894-40cc-87d6-869370a92277",
|
||||||
@ -730,7 +714,6 @@ paths:
|
|||||||
"updated": "2024-08-02 15:01:00.000",
|
"updated": "2024-08-02 15:01:00.000",
|
||||||
"state": "invoice_created",
|
"state": "invoice_created",
|
||||||
"data": "{json}",
|
"data": "{json}",
|
||||||
"isCredit": false,
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
@ -1066,9 +1049,6 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
format: json
|
format: json
|
||||||
example: { json }
|
example: { json }
|
||||||
isCredit:
|
|
||||||
type: boolean
|
|
||||||
example: false
|
|
||||||
ContractStatus:
|
ContractStatus:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -17,7 +17,8 @@ paths:
|
|||||||
name: externalOrderId
|
name: externalOrderId
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
example: EXT001
|
format: uuid
|
||||||
|
example: 26ce08bc-0443-465f-9cd2-a7143f33eed0
|
||||||
required: false
|
required: false
|
||||||
description: The order id in the external system.
|
description: The order id in the external system.
|
||||||
- in: query
|
- in: query
|
||||||
@ -109,7 +110,7 @@ paths:
|
|||||||
type: integer
|
type: integer
|
||||||
explode: false
|
explode: false
|
||||||
required: false
|
required: false
|
||||||
description: Filter on most recent order status. 1 = concept, 2 = awaitingPayment, 3 = pendingPayment, 4 = paid, 5 = delivered, 6 = cancelled.
|
description: Filter on possible order statuses. 1 = concept, 2 = awaitingPayment, 3 = pendingPayment, 4 = paid, 5 = delivered, 6 = cancelled.
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: OK
|
description: OK
|
||||||
@ -140,7 +141,6 @@ paths:
|
|||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"lastUpdatedOn": "2024-03-22T09:00:00",
|
"lastUpdatedOn": "2024-03-22T09:00:00",
|
||||||
"order_OrderStatus":
|
"order_OrderStatus":
|
||||||
[
|
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus":
|
"orderStatus":
|
||||||
@ -148,17 +148,6 @@ paths:
|
|||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order succesvol betaald",
|
"description": "Order succesvol betaald",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"order_orderStatusId": "2b9b7943-3a74-4f2e-ad65-012b62c80821",
|
|
||||||
"orderStatus":
|
|
||||||
{
|
|
||||||
"orderStatusId": 3,
|
|
||||||
"name": "pendingPayment",
|
|
||||||
},
|
|
||||||
"createdOn": "2024-03-22T08:55:00",
|
|
||||||
"description": "Betaling in behandeling",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -326,18 +315,11 @@ paths:
|
|||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"order_OrderStatus":
|
"order_OrderStatus":
|
||||||
[
|
|
||||||
{
|
{
|
||||||
"orderStatusId": 4,
|
"orderStatusId": 4,
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order succesvol betaald",
|
"description": "Order succesvol betaald",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"orderStatusId": 3,
|
|
||||||
"createdOn": "2024-03-22T08:55:00",
|
|
||||||
"description": "Betaling in behandeling",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -493,21 +475,12 @@ paths:
|
|||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"lastUpdatedOn": "2024-03-22T09:00:00",
|
"lastUpdatedOn": "2024-03-22T09:00:00",
|
||||||
"order_OrderStatus":
|
"order_OrderStatus":
|
||||||
[
|
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 4, "name": "paid" },
|
"orderStatus": { "orderStatusId": 4, "name": "paid" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order succesvol betaald",
|
"description": "Order succesvol betaald",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"order_orderStatusId": "2b9b7943-3a74-4f2e-ad65-012b62c80821",
|
|
||||||
"orderStatus":
|
|
||||||
{ "orderStatusId": 3, "name": "pendingPayment" },
|
|
||||||
"createdOn": "2024-03-22T08:55:00",
|
|
||||||
"description": "Betaling in behandeling",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -794,8 +767,8 @@ paths:
|
|||||||
required: true
|
required: true
|
||||||
description: The id of the order to process.
|
description: The id of the order to process.
|
||||||
post:
|
post:
|
||||||
summary: P2. Add a payment to an order.
|
summary: P2. Add one or more payments to an order.
|
||||||
description: Add a payment to an order.
|
description: Add one or more payments to an order.
|
||||||
tags:
|
tags:
|
||||||
- Payment
|
- Payment
|
||||||
requestBody:
|
requestBody:
|
||||||
@ -804,6 +777,7 @@ paths:
|
|||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/unavailable"
|
$ref: "#/components/schemas/unavailable"
|
||||||
example:
|
example:
|
||||||
|
[
|
||||||
{
|
{
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"amountDebit": 121,
|
"amountDebit": 121,
|
||||||
@ -831,7 +805,8 @@ paths:
|
|||||||
"ascription": "J. de Vries",
|
"ascription": "J. de Vries",
|
||||||
"place": "Den Haag",
|
"place": "Den Haag",
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
|
]
|
||||||
responses:
|
responses:
|
||||||
"201":
|
"201":
|
||||||
description: Created
|
description: Created
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user