OVPAY-1564 - Changes in POST /orders.
This commit is contained in:
parent
387bf909ad
commit
383ea04bcc
@ -697,20 +697,21 @@ paths:
|
|||||||
"title": "Your request is not valid.",
|
"title": "Your request is not valid.",
|
||||||
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.",
|
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.",
|
||||||
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
||||||
"errors": [
|
"errors":
|
||||||
|
[
|
||||||
{
|
{
|
||||||
"detail": "Startdate of this product should be at most 60 days in the future.",
|
"detail": "Startdate of this product should be at most 60 days in the future.",
|
||||||
"pointer": "#/0/startDate",
|
"pointer": "#/0/startDate",
|
||||||
"ovPayTokenId": 123,
|
"ovPayTokenId": 123,
|
||||||
"productId": 2
|
"productId": 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"detail": "Combination of product and token type is not valid.",
|
"detail": "Combination of product and token type is not valid.",
|
||||||
"pointer": "#/1/ovPayTokenId",
|
"pointer": "#/1/ovPayTokenId",
|
||||||
"ovPayTokenId": 123,
|
"ovPayTokenId": 123,
|
||||||
"productId": 3
|
"productId": 3,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
/customers/{customerProfileId}/orders:
|
/customers/{customerProfileId}/orders:
|
||||||
parameters:
|
parameters:
|
||||||
@ -990,7 +991,6 @@ paths:
|
|||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"billingAddressId": 1,
|
"billingAddressId": 1,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
"orderStatusId": 1,
|
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -1000,78 +1000,8 @@ paths:
|
|||||||
"validFrom": "2024-03-22T09:00:00",
|
"validFrom": "2024-03-22T09:00:00",
|
||||||
"validUntil": null,
|
"validUntil": null,
|
||||||
"orderLineStatusId": 1,
|
"orderLineStatusId": 1,
|
||||||
"customerTokens":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"tokenTypeId": 1,
|
|
||||||
"ovPayTokenId": 1,
|
|
||||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
|
||||||
"amount": 34,
|
|
||||||
"ovpasNumber": "OV34567",
|
|
||||||
"verificationCode": "A7H6",
|
|
||||||
"personalAccountData":
|
|
||||||
{
|
|
||||||
"name": "Jan de Vries",
|
|
||||||
"dateOfBirth": "01-01-1970",
|
|
||||||
"photoReference": "DSC_0502.JPG",
|
|
||||||
"fileType": "image/jpg",
|
|
||||||
"challengeTypeId": 1,
|
|
||||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"payments":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
|
||||||
"amountDebit": 121,
|
|
||||||
"paymentMethodId": 1,
|
|
||||||
"isRefund": false,
|
|
||||||
"htmPaymentReference": "HTM-1234",
|
|
||||||
"pspPaymentReference": "Buckaroo-1234",
|
|
||||||
"paymentStatuses":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
|
||||||
"statusCode": "190",
|
|
||||||
"statusDescription": "Success",
|
|
||||||
"statusSubCode": "S001",
|
|
||||||
"statusSubDescription": "PaymentSuccessFul",
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"mandateInput":
|
|
||||||
{
|
|
||||||
"directDebitMandateTypeId": 1,
|
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
|
||||||
"bic": "RABONL2U",
|
|
||||||
"iban": "NL44RABO0123456789",
|
|
||||||
"ascription": "J. de Vries",
|
|
||||||
"place": "Den Haag",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
"orderCustomer":
|
|
||||||
{
|
|
||||||
"birthname": "Jan",
|
|
||||||
"surname": "Vries",
|
|
||||||
"prefix": "de",
|
|
||||||
"emailAddress": "jandevries@outlook.com",
|
|
||||||
"dateOfBirth": "1970-01-01",
|
|
||||||
"orderCustomerAddresses":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"addressTypeId": 1,
|
|
||||||
"street": "Kon. Julianaplein",
|
|
||||||
"houseNumber": 10,
|
|
||||||
"houseNumberSuffix": "a",
|
|
||||||
"postalCode": "2595 AA",
|
|
||||||
"city": "Den Haag",
|
|
||||||
"country": "NL",
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
v1.2:
|
v1.2:
|
||||||
summary: Order creation v1.2
|
summary: Order creation v1.2
|
||||||
@ -1320,6 +1250,8 @@ paths:
|
|||||||
examples:
|
examples:
|
||||||
v2.0:
|
v2.0:
|
||||||
value:
|
value:
|
||||||
|
{
|
||||||
|
"order":
|
||||||
{
|
{
|
||||||
"orderId": "1e441d7d-50d6-4006-aca7-5e87e2f218df",
|
"orderId": "1e441d7d-50d6-4006-aca7-5e87e2f218df",
|
||||||
"externalOrderId": null,
|
"externalOrderId": null,
|
||||||
@ -1348,10 +1280,11 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 1, "name": "concept" },
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order is aangemaakt",
|
"description": "Order is aangemaakt",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
@ -1377,79 +1310,17 @@ paths:
|
|||||||
"validUntil": null,
|
"validUntil": null,
|
||||||
"orderLineStatus":
|
"orderLineStatus":
|
||||||
{ "orderLineStatusId": 1, "name": "pending" },
|
{ "orderLineStatusId": 1, "name": "pending" },
|
||||||
"tokens":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"tokenTypeId": 1,
|
|
||||||
"ovPayTokenId": 1,
|
|
||||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
|
||||||
"amount": 34,
|
|
||||||
"ovpasNumber": "OV34567",
|
|
||||||
"verificationCode": "A7H6",
|
|
||||||
"personalAccountData":
|
|
||||||
{
|
|
||||||
"name": "Jan de Vries",
|
|
||||||
"dateOfBirth": "01-01-1970",
|
|
||||||
"photoReference": "DSC_0502.JPG",
|
|
||||||
"fileType": "image/jpg",
|
|
||||||
"challengeTypeId": 1,
|
|
||||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"additionalRemarks" : []
|
|
||||||
},
|
},
|
||||||
],
|
"orderValidation":
|
||||||
"payments":
|
|
||||||
[
|
|
||||||
{
|
{
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"validationResult": true,
|
||||||
"amountDebit": 121,
|
"additionalRemarks":
|
||||||
"paymentMethodId": 1,
|
[{ "code": "string", "parameter": "string" }],
|
||||||
"touchPointId": 1,
|
"validationErrors":
|
||||||
"isRefund": false,
|
[{ "detail": "string", "pointer": "string" }],
|
||||||
"htmPaymentReference": "HTM-1234",
|
|
||||||
"pspPaymentReference": "Buckaroo-1234",
|
|
||||||
"paymentStatuses":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
|
||||||
"statusCode": "190",
|
|
||||||
"statusDescription": "Success",
|
|
||||||
"statusSubCode": "S001",
|
|
||||||
"statusSubDescription": "PaymentSuccessFul",
|
|
||||||
},
|
},
|
||||||
],
|
|
||||||
"payPush":
|
|
||||||
{
|
|
||||||
"consumerIssuer": "ABN AMRO",
|
|
||||||
"transactionId": "0000000000000001",
|
|
||||||
"consumerName": "J. de Vries",
|
|
||||||
"consumerIBAN": "NL44RABO0123456789",
|
|
||||||
"consumerBIC": "RABONL2U",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
"customer":
|
|
||||||
{
|
|
||||||
"birthname": "Jan",
|
|
||||||
"surname": "Vries",
|
|
||||||
"prefix": "de",
|
|
||||||
"emailAddress": "jandevries@outlook.com",
|
|
||||||
"dateOfBirth": "1970-01-01",
|
|
||||||
"addresses":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"addressTypeId": 1,
|
|
||||||
"street": "Kon. Julianaplein",
|
|
||||||
"houseNumber": 10,
|
|
||||||
"houseNumberSuffix": "a",
|
|
||||||
"postalCode": "2595 AA",
|
|
||||||
"city": "Den Haag",
|
|
||||||
"country": "NL",
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
v1.2:
|
v1.2:
|
||||||
value:
|
value:
|
||||||
@ -1469,20 +1340,21 @@ paths:
|
|||||||
"title": "Your request is not valid.",
|
"title": "Your request is not valid.",
|
||||||
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.",
|
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.",
|
||||||
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
||||||
"errors": [
|
"errors":
|
||||||
|
[
|
||||||
{
|
{
|
||||||
"detail": "Startdate of this product should be at most 60 days in the future.",
|
"detail": "Startdate of this product should be at most 60 days in the future.",
|
||||||
"pointer": "#/0/startDate",
|
"pointer": "#/0/startDate",
|
||||||
"ovPayTokenId": 123,
|
"ovPayTokenId": 123,
|
||||||
"productId": 2
|
"productId": 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"detail": "Combination of product and token type is not valid.",
|
"detail": "Combination of product and token type is not valid.",
|
||||||
"pointer": "#/1/ovPayTokenId",
|
"pointer": "#/1/ovPayTokenId",
|
||||||
"ovPayTokenId": 123,
|
"ovPayTokenId": 123,
|
||||||
"productId": 3
|
"productId": 3,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
/orders/{orderId}:
|
/orders/{orderId}:
|
||||||
parameters:
|
parameters:
|
||||||
@ -1704,7 +1576,8 @@ paths:
|
|||||||
v2.0:
|
v2.0:
|
||||||
summary: Order update v2.0
|
summary: Order update v2.0
|
||||||
description: Order update v2.0
|
description: Order update v2.0
|
||||||
value: {
|
value:
|
||||||
|
{
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"billingAddressId": 2,
|
"billingAddressId": 2,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
@ -1713,7 +1586,8 @@ paths:
|
|||||||
v1.2:
|
v1.2:
|
||||||
summary: Order update v1.2
|
summary: Order update v1.2
|
||||||
description: Order update v1.2
|
description: Order update v1.2
|
||||||
value: {
|
value:
|
||||||
|
{
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 121,
|
"totalAmount": 121,
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
@ -1737,11 +1611,12 @@ paths:
|
|||||||
"orderNumber": "ORD-123456",
|
"orderNumber": "ORD-123456",
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 121,
|
"totalAmount": 121,
|
||||||
"language": {
|
"language":
|
||||||
|
{
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"name": "Nederlands",
|
"name": "Nederlands",
|
||||||
"iso639Code": "nl-NL",
|
"iso639Code": "nl-NL",
|
||||||
"ietfCode": "nl"
|
"ietfCode": "nl",
|
||||||
},
|
},
|
||||||
"billingAddressId": 1,
|
"billingAddressId": 1,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
@ -1758,10 +1633,11 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 1, "name": "concept" },
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order is aangemaakt",
|
"description": "Order is aangemaakt",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
@ -1811,9 +1687,9 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"code": "MANDATE_REQUIRED",
|
"code": "MANDATE_REQUIRED",
|
||||||
"parameter": "directDebitMandateId"
|
"parameter": "directDebitMandateId",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"payments":
|
"payments":
|
||||||
@ -1863,9 +1739,9 @@ paths:
|
|||||||
"postalCode": "2595 AA",
|
"postalCode": "2595 AA",
|
||||||
"city": "Den Haag",
|
"city": "Den Haag",
|
||||||
"country": "NL",
|
"country": "NL",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
v1.2:
|
v1.2:
|
||||||
value:
|
value:
|
||||||
@ -1885,20 +1761,21 @@ paths:
|
|||||||
"title": "Your request is not valid.",
|
"title": "Your request is not valid.",
|
||||||
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.",
|
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.",
|
||||||
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
||||||
"errors": [
|
"errors":
|
||||||
|
[
|
||||||
{
|
{
|
||||||
"detail": "Startdate of this product should be at most 60 days in the future.",
|
"detail": "Startdate of this product should be at most 60 days in the future.",
|
||||||
"pointer": "#/0/startDate",
|
"pointer": "#/0/startDate",
|
||||||
"ovPayTokenId": 123,
|
"ovPayTokenId": 123,
|
||||||
"productId": 2
|
"productId": 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"detail": "Combination of product and token type is not valid.",
|
"detail": "Combination of product and token type is not valid.",
|
||||||
"pointer": "#/1/ovPayTokenId",
|
"pointer": "#/1/ovPayTokenId",
|
||||||
"ovPayTokenId": 123,
|
"ovPayTokenId": 123,
|
||||||
"productId": 3
|
"productId": 3,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
@ -1920,13 +1797,14 @@ paths:
|
|||||||
"title": "Your request is not valid.",
|
"title": "Your request is not valid.",
|
||||||
"detail": "The order can not be deleted.",
|
"detail": "The order can not be deleted.",
|
||||||
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
||||||
"errors": [
|
"errors":
|
||||||
|
[
|
||||||
{
|
{
|
||||||
"detail": "Order status is paid",
|
"detail": "Order status is paid",
|
||||||
"pointer": "#/order_OrderStatus/1/orderStatus/orderStatusId",
|
"pointer": "#/order_OrderStatus/1/orderStatus/orderStatusId",
|
||||||
"orderStatusId": 4
|
"orderStatusId": 4,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
/orders/{orderId}/orderlines:
|
/orders/{orderId}/orderlines:
|
||||||
parameters:
|
parameters:
|
||||||
@ -1977,9 +1855,9 @@ paths:
|
|||||||
"amount": null,
|
"amount": null,
|
||||||
"ovpasNumber": null,
|
"ovpasNumber": null,
|
||||||
"verificationCode": null,
|
"verificationCode": null,
|
||||||
"personalAccountData": null
|
"personalAccountData": null,
|
||||||
},
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
v1.2:
|
v1.2:
|
||||||
summary: Create orderLine v1.2
|
summary: Create orderLine v1.2
|
||||||
@ -2047,11 +1925,12 @@ paths:
|
|||||||
"orderNumber": "ORD-123456",
|
"orderNumber": "ORD-123456",
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 121,
|
"totalAmount": 121,
|
||||||
"language": {
|
"language":
|
||||||
|
{
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"name": "Nederlands",
|
"name": "Nederlands",
|
||||||
"iso639Code": "nl-NL",
|
"iso639Code": "nl-NL",
|
||||||
"ietfCode": "nl"
|
"ietfCode": "nl",
|
||||||
},
|
},
|
||||||
"billingAddressId": 1,
|
"billingAddressId": 1,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
@ -2068,10 +1947,11 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 1, "name": "concept" },
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order is aangemaakt",
|
"description": "Order is aangemaakt",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
@ -2121,9 +2001,9 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"code": "MANDATE_REQUIRED",
|
"code": "MANDATE_REQUIRED",
|
||||||
"parameter": "directDebitMandateId"
|
"parameter": "directDebitMandateId",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"orderLineId": "2cb04b38-e9a8-465a-a273-261c55a21b71",
|
"orderLineId": "2cb04b38-e9a8-465a-a273-261c55a21b71",
|
||||||
@ -2156,11 +2036,11 @@ paths:
|
|||||||
"amount": null,
|
"amount": null,
|
||||||
"ovpasNumber": null,
|
"ovpasNumber": null,
|
||||||
"verificationCode": null,
|
"verificationCode": null,
|
||||||
"personalAccountData": null
|
"personalAccountData": null,
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"additionalRemarks" : []
|
"additionalRemarks": [],
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"payments":
|
"payments":
|
||||||
[
|
[
|
||||||
@ -2209,12 +2089,13 @@ paths:
|
|||||||
"postalCode": "2595 AA",
|
"postalCode": "2595 AA",
|
||||||
"city": "Den Haag",
|
"city": "Den Haag",
|
||||||
"country": "NL",
|
"country": "NL",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
v1.2:
|
v1.2:
|
||||||
value: { "orderLineId": "e78b78d9-4fb0-4a9c-8dc0-6d100c9f1b3f" }
|
value:
|
||||||
|
{ "orderLineId": "e78b78d9-4fb0-4a9c-8dc0-6d100c9f1b3f" }
|
||||||
"400":
|
"400":
|
||||||
description: Bad request
|
description: Bad request
|
||||||
content:
|
content:
|
||||||
@ -2227,20 +2108,21 @@ paths:
|
|||||||
"title": "Your request is not valid.",
|
"title": "Your request is not valid.",
|
||||||
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.",
|
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.",
|
||||||
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
||||||
"errors": [
|
"errors":
|
||||||
|
[
|
||||||
{
|
{
|
||||||
"detail": "Startdate of this product should be at most 60 days in the future.",
|
"detail": "Startdate of this product should be at most 60 days in the future.",
|
||||||
"pointer": "#/0/startDate",
|
"pointer": "#/0/startDate",
|
||||||
"ovPayTokenId": 123,
|
"ovPayTokenId": 123,
|
||||||
"productId": 2
|
"productId": 2,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"detail": "Combination of product and token type is not valid.",
|
"detail": "Combination of product and token type is not valid.",
|
||||||
"pointer": "#/1/ovPayTokenId",
|
"pointer": "#/1/ovPayTokenId",
|
||||||
"ovPayTokenId": 123,
|
"ovPayTokenId": 123,
|
||||||
"productId": 3
|
"productId": 3,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
/orderlines/{orderLineId}:
|
/orderlines/{orderLineId}:
|
||||||
parameters:
|
parameters:
|
||||||
@ -2277,7 +2159,7 @@ paths:
|
|||||||
{
|
{
|
||||||
"quantity": 1,
|
"quantity": 1,
|
||||||
"validFrom": "2024-03-25T09:00:00",
|
"validFrom": "2024-03-25T09:00:00",
|
||||||
"validUntil": null
|
"validUntil": null,
|
||||||
}
|
}
|
||||||
v1.2:
|
v1.2:
|
||||||
summary: Orderline updatev1.2
|
summary: Orderline updatev1.2
|
||||||
@ -2309,11 +2191,12 @@ paths:
|
|||||||
"orderNumber": "ORD-123456",
|
"orderNumber": "ORD-123456",
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 121,
|
"totalAmount": 121,
|
||||||
"language": {
|
"language":
|
||||||
|
{
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"name": "Nederlands",
|
"name": "Nederlands",
|
||||||
"iso639Code": "nl-NL",
|
"iso639Code": "nl-NL",
|
||||||
"ietfCode": "nl"
|
"ietfCode": "nl",
|
||||||
},
|
},
|
||||||
"billingAddressId": 1,
|
"billingAddressId": 1,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
@ -2330,10 +2213,11 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 1, "name": "concept" },
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order is aangemaakt",
|
"description": "Order is aangemaakt",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
@ -2376,16 +2260,16 @@ paths:
|
|||||||
"fileType": "image/jpg",
|
"fileType": "image/jpg",
|
||||||
"challengeTypeId": 1,
|
"challengeTypeId": 1,
|
||||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"additionalRemarks":
|
"additionalRemarks":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"code": "MANDATE_REQUIRED",
|
"code": "MANDATE_REQUIRED",
|
||||||
"parameter": "directDebitMandateId"
|
"parameter": "directDebitMandateId",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"payments":
|
"payments":
|
||||||
@ -2435,9 +2319,9 @@ paths:
|
|||||||
"postalCode": "2595 AA",
|
"postalCode": "2595 AA",
|
||||||
"city": "Den Haag",
|
"city": "Den Haag",
|
||||||
"country": "NL",
|
"country": "NL",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
v1.2:
|
v1.2:
|
||||||
value:
|
value:
|
||||||
@ -2454,14 +2338,15 @@ paths:
|
|||||||
"title": "Your request is not valid.",
|
"title": "Your request is not valid.",
|
||||||
"detail": "The start date of the product is not allowed. See errors for more details.",
|
"detail": "The start date of the product is not allowed. See errors for more details.",
|
||||||
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
||||||
"errors": [
|
"errors":
|
||||||
|
[
|
||||||
{
|
{
|
||||||
"detail": "Startdate of this product should be at most 60 days in the future.",
|
"detail": "Startdate of this product should be at most 60 days in the future.",
|
||||||
"pointer": "#/0/startDate",
|
"pointer": "#/0/startDate",
|
||||||
"ovPayTokenId": 123,
|
"ovPayTokenId": 123,
|
||||||
"productId": 2
|
"productId": 2,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
@ -2484,11 +2369,12 @@ paths:
|
|||||||
"orderNumber": "ORD-123456",
|
"orderNumber": "ORD-123456",
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 0,
|
"totalAmount": 0,
|
||||||
"language": {
|
"language":
|
||||||
|
{
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"name": "Nederlands",
|
"name": "Nederlands",
|
||||||
"iso639Code": "nl-NL",
|
"iso639Code": "nl-NL",
|
||||||
"ietfCode": "nl"
|
"ietfCode": "nl",
|
||||||
},
|
},
|
||||||
"billingAddressId": 1,
|
"billingAddressId": 1,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
@ -2505,10 +2391,11 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 1, "name": "concept" },
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order is aangemaakt",
|
"description": "Order is aangemaakt",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"orderLines": null,
|
"orderLines": null,
|
||||||
"payments": null,
|
"payments": null,
|
||||||
@ -2529,9 +2416,9 @@ paths:
|
|||||||
"postalCode": "2595 AA",
|
"postalCode": "2595 AA",
|
||||||
"city": "Den Haag",
|
"city": "Den Haag",
|
||||||
"country": "NL",
|
"country": "NL",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
"400":
|
"400":
|
||||||
description: Bad request
|
description: Bad request
|
||||||
@ -2545,14 +2432,15 @@ paths:
|
|||||||
"title": "Your request is not valid.",
|
"title": "Your request is not valid.",
|
||||||
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.",
|
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.",
|
||||||
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
||||||
"errors": [
|
"errors":
|
||||||
|
[
|
||||||
{
|
{
|
||||||
"detail": "Product requires product with productId=2",
|
"detail": "Product requires product with productId=2",
|
||||||
"pointer": "#/1/orderLine",
|
"pointer": "#/1/orderLine",
|
||||||
"orderLineId": "0574440e-7fa0-401f-b907-539c91633a5d",
|
"orderLineId": "0574440e-7fa0-401f-b907-539c91633a5d",
|
||||||
"productId": 3
|
"productId": 3,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
/orders/{orderId}/payments:
|
/orders/{orderId}/payments:
|
||||||
parameters:
|
parameters:
|
||||||
@ -2661,11 +2549,12 @@ paths:
|
|||||||
"orderNumber": "ORD-123456",
|
"orderNumber": "ORD-123456",
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 121,
|
"totalAmount": 121,
|
||||||
"language": {
|
"language":
|
||||||
|
{
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"name": "Nederlands",
|
"name": "Nederlands",
|
||||||
"iso639Code": "nl-NL",
|
"iso639Code": "nl-NL",
|
||||||
"ietfCode": "nl"
|
"ietfCode": "nl",
|
||||||
},
|
},
|
||||||
"billingAddressId": 1,
|
"billingAddressId": 1,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
@ -2682,10 +2571,11 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 1, "name": "concept" },
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order is aangemaakt",
|
"description": "Order is aangemaakt",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
@ -2763,10 +2653,10 @@ paths:
|
|||||||
"amount": null,
|
"amount": null,
|
||||||
"ovpasNumber": null,
|
"ovpasNumber": null,
|
||||||
"verificationCode": null,
|
"verificationCode": null,
|
||||||
"personalAccountData": null
|
"personalAccountData": null,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"payments":
|
"payments":
|
||||||
[
|
[
|
||||||
@ -2815,13 +2705,12 @@ paths:
|
|||||||
"postalCode": "2595 AA",
|
"postalCode": "2595 AA",
|
||||||
"city": "Den Haag",
|
"city": "Den Haag",
|
||||||
"country": "NL",
|
"country": "NL",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
v1.2:
|
v1.2:
|
||||||
value:
|
value: { "paymentId": "94270188-4cf6-447e-bd49-e8186bcec073" }
|
||||||
{ "paymentId": "94270188-4cf6-447e-bd49-e8186bcec073" }
|
|
||||||
/payments/{paymentId}:
|
/payments/{paymentId}:
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
@ -2875,7 +2764,7 @@ paths:
|
|||||||
"iban": "NL44RABO0123456789",
|
"iban": "NL44RABO0123456789",
|
||||||
"ascription": "J. de Vries",
|
"ascription": "J. de Vries",
|
||||||
"place": "Den Haag",
|
"place": "Den Haag",
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
v1.2:
|
v1.2:
|
||||||
summary: Order payment update v1.2
|
summary: Order payment update v1.2
|
||||||
@ -2901,11 +2790,12 @@ paths:
|
|||||||
"orderNumber": "ORD-123456",
|
"orderNumber": "ORD-123456",
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 121,
|
"totalAmount": 121,
|
||||||
"language": {
|
"language":
|
||||||
|
{
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"name": "Nederlands",
|
"name": "Nederlands",
|
||||||
"iso639Code": "nl-NL",
|
"iso639Code": "nl-NL",
|
||||||
"ietfCode": "nl"
|
"ietfCode": "nl",
|
||||||
},
|
},
|
||||||
"billingAddressId": 1,
|
"billingAddressId": 1,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
@ -2916,10 +2806,11 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 1, "name": "concept" },
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order is aangemaakt",
|
"description": "Order is aangemaakt",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
@ -2965,7 +2856,7 @@ paths:
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"payments":
|
"payments":
|
||||||
[
|
[
|
||||||
@ -3021,13 +2912,12 @@ paths:
|
|||||||
"postalCode": "2595 AA",
|
"postalCode": "2595 AA",
|
||||||
"city": "Den Haag",
|
"city": "Den Haag",
|
||||||
"country": "NL",
|
"country": "NL",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
v1.2:
|
v1.2:
|
||||||
value:
|
value: { "paymentId": "94270188-4cf6-447e-bd49-e8186bcec073" }
|
||||||
{ "paymentId": "94270188-4cf6-447e-bd49-e8186bcec073" }
|
|
||||||
/orders/{orderId}/ordercustomers:
|
/orders/{orderId}/ordercustomers:
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
@ -3118,11 +3008,12 @@ paths:
|
|||||||
"orderNumber": "ORD-123456",
|
"orderNumber": "ORD-123456",
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 121,
|
"totalAmount": 121,
|
||||||
"language": {
|
"language":
|
||||||
|
{
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"name": "Nederlands",
|
"name": "Nederlands",
|
||||||
"iso639Code": "nl-NL",
|
"iso639Code": "nl-NL",
|
||||||
"ietfCode": "nl"
|
"ietfCode": "nl",
|
||||||
},
|
},
|
||||||
"billingAddressId": 1,
|
"billingAddressId": 1,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
@ -3139,10 +3030,11 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 1, "name": "concept" },
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order is aangemaakt",
|
"description": "Order is aangemaakt",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
@ -3188,7 +3080,7 @@ paths:
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"payments": null,
|
"payments": null,
|
||||||
"customer":
|
"customer":
|
||||||
@ -3208,13 +3100,15 @@ paths:
|
|||||||
"postalCode": "2595 AA",
|
"postalCode": "2595 AA",
|
||||||
"city": "Den Haag",
|
"city": "Den Haag",
|
||||||
"country": "NL",
|
"country": "NL",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
v1.2:
|
v1.2:
|
||||||
value:
|
value:
|
||||||
{ "orderCustomerId": "94270188-4cf6-447e-bd49-e8186bcec073" }
|
{
|
||||||
|
"orderCustomerId": "94270188-4cf6-447e-bd49-e8186bcec073",
|
||||||
|
}
|
||||||
/ordercustomers/{orderCustomerId}:
|
/ordercustomers/{orderCustomerId}:
|
||||||
patch:
|
patch:
|
||||||
parameters:
|
parameters:
|
||||||
@ -3281,11 +3175,12 @@ paths:
|
|||||||
"orderNumber": "ORD-123456",
|
"orderNumber": "ORD-123456",
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 121,
|
"totalAmount": 121,
|
||||||
"language": {
|
"language":
|
||||||
|
{
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"name": "Nederlands",
|
"name": "Nederlands",
|
||||||
"iso639Code": "nl-NL",
|
"iso639Code": "nl-NL",
|
||||||
"ietfCode": "nl"
|
"ietfCode": "nl",
|
||||||
},
|
},
|
||||||
"billingAddressId": 1,
|
"billingAddressId": 1,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
@ -3302,10 +3197,11 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 1, "name": "concept" },
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order is aangemaakt",
|
"description": "Order is aangemaakt",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
@ -3351,8 +3247,8 @@ paths:
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"additionalRemarks" : []
|
"additionalRemarks": [],
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"payments": null,
|
"payments": null,
|
||||||
"customer":
|
"customer":
|
||||||
@ -3372,13 +3268,15 @@ paths:
|
|||||||
"postalCode": "2595 AA",
|
"postalCode": "2595 AA",
|
||||||
"city": "Den Haag",
|
"city": "Den Haag",
|
||||||
"country": "NL",
|
"country": "NL",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
v1.2:
|
v1.2:
|
||||||
value:
|
value:
|
||||||
{ "orderCustomerId": "94270188-4cf6-447e-bd49-e8186bcec073" }
|
{
|
||||||
|
"orderCustomerId": "94270188-4cf6-447e-bd49-e8186bcec073",
|
||||||
|
}
|
||||||
/ordercustomers/{orderCustomerId}/orderCustomerAddress:
|
/ordercustomers/{orderCustomerId}/orderCustomerAddress:
|
||||||
post:
|
post:
|
||||||
parameters:
|
parameters:
|
||||||
@ -3436,11 +3334,12 @@ paths:
|
|||||||
"orderNumber": "ORD-123456",
|
"orderNumber": "ORD-123456",
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 121,
|
"totalAmount": 121,
|
||||||
"language": {
|
"language":
|
||||||
|
{
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"name": "Nederlands",
|
"name": "Nederlands",
|
||||||
"iso639Code": "nl-NL",
|
"iso639Code": "nl-NL",
|
||||||
"ietfCode": "nl"
|
"ietfCode": "nl",
|
||||||
},
|
},
|
||||||
"billingAddressId": 2,
|
"billingAddressId": 2,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
@ -3457,10 +3356,11 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 1, "name": "concept" },
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order is aangemaakt",
|
"description": "Order is aangemaakt",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
@ -3510,10 +3410,10 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"code": "MANDATE_REQUIRED",
|
"code": "MANDATE_REQUIRED",
|
||||||
"parameter": "directDebitMandateId"
|
"parameter": "directDebitMandateId",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"payments": null,
|
"payments": null,
|
||||||
"customer":
|
"customer":
|
||||||
@ -3533,9 +3433,9 @@ paths:
|
|||||||
"postalCode": "2595 AA",
|
"postalCode": "2595 AA",
|
||||||
"city": "Den Haag",
|
"city": "Den Haag",
|
||||||
"country": "NL",
|
"country": "NL",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
/orderCustomerAddress/{orderCustomerAddressId}:
|
/orderCustomerAddress/{orderCustomerAddressId}:
|
||||||
patch:
|
patch:
|
||||||
@ -3594,11 +3494,12 @@ paths:
|
|||||||
"orderNumber": "ORD-123456",
|
"orderNumber": "ORD-123456",
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 121,
|
"totalAmount": 121,
|
||||||
"language": {
|
"language":
|
||||||
|
{
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"name": "Nederlands",
|
"name": "Nederlands",
|
||||||
"iso639Code": "nl-NL",
|
"iso639Code": "nl-NL",
|
||||||
"ietfCode": "nl"
|
"ietfCode": "nl",
|
||||||
},
|
},
|
||||||
"billingAddressId": 1,
|
"billingAddressId": 1,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
@ -3615,10 +3516,11 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 1, "name": "concept" },
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order is aangemaakt",
|
"description": "Order is aangemaakt",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"orderLines":
|
"orderLines":
|
||||||
[
|
[
|
||||||
@ -3668,10 +3570,10 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"code": "MANDATE_REQUIRED",
|
"code": "MANDATE_REQUIRED",
|
||||||
"parameter": "directDebitMandateId"
|
"parameter": "directDebitMandateId",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"payments": null,
|
"payments": null,
|
||||||
"customer":
|
"customer":
|
||||||
@ -3691,9 +3593,9 @@ paths:
|
|||||||
"postalCode": "2595 AA",
|
"postalCode": "2595 AA",
|
||||||
"city": "Den Haag",
|
"city": "Den Haag",
|
||||||
"country": "NL",
|
"country": "NL",
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
delete:
|
delete:
|
||||||
tags:
|
tags:
|
||||||
@ -3732,11 +3634,12 @@ paths:
|
|||||||
"orderNumber": "ORD-123456",
|
"orderNumber": "ORD-123456",
|
||||||
"customerProfileId": 1337,
|
"customerProfileId": 1337,
|
||||||
"totalAmount": 0,
|
"totalAmount": 0,
|
||||||
"language": {
|
"language":
|
||||||
|
{
|
||||||
"languageId": 1,
|
"languageId": 1,
|
||||||
"name": "Nederlands",
|
"name": "Nederlands",
|
||||||
"iso639Code": "nl-NL",
|
"iso639Code": "nl-NL",
|
||||||
"ietfCode": "nl"
|
"ietfCode": "nl",
|
||||||
},
|
},
|
||||||
"billingAddressId": 1,
|
"billingAddressId": 1,
|
||||||
"shippingAddressId": 1,
|
"shippingAddressId": 1,
|
||||||
@ -3753,10 +3656,11 @@ paths:
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||||
"orderStatus": { "orderStatusId": 1, "name": "concept" },
|
"orderStatus":
|
||||||
|
{ "orderStatusId": 1, "name": "concept" },
|
||||||
"createdOn": "2024-03-22T09:00:00",
|
"createdOn": "2024-03-22T09:00:00",
|
||||||
"description": "Order is aangemaakt",
|
"description": "Order is aangemaakt",
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
"orderLines": null,
|
"orderLines": null,
|
||||||
"payments": null,
|
"payments": null,
|
||||||
@ -3767,8 +3671,8 @@ paths:
|
|||||||
"prefix": "de",
|
"prefix": "de",
|
||||||
"emailAddress": "jandevries@outlook.com",
|
"emailAddress": "jandevries@outlook.com",
|
||||||
"dateOfBirth": "1970-01-01",
|
"dateOfBirth": "1970-01-01",
|
||||||
"addresses": null
|
"addresses": null,
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
"400":
|
"400":
|
||||||
description: Bad request
|
description: Bad request
|
||||||
@ -3782,14 +3686,15 @@ paths:
|
|||||||
"title": "Your request is not valid.",
|
"title": "Your request is not valid.",
|
||||||
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.",
|
"detail": "The combination of tokens and/or products chosen is not valid. See errors for more details.",
|
||||||
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
"instance": "urn:uuid:4017fabc-1b28-11e8-accf-0ed5f89f718b",
|
||||||
"errors": [
|
"errors":
|
||||||
|
[
|
||||||
{
|
{
|
||||||
"detail": "Product requires product with productId=2",
|
"detail": "Product requires product with productId=2",
|
||||||
"pointer": "#/1/orderLine",
|
"pointer": "#/1/orderLine",
|
||||||
"orderLineId": "0574440e-7fa0-401f-b907-539c91633a5d",
|
"orderLineId": "0574440e-7fa0-401f-b907-539c91633a5d",
|
||||||
"productId": 3
|
"productId": 3,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
/orders/{orderId}/fulfill:
|
/orders/{orderId}/fulfill:
|
||||||
parameters:
|
parameters:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user