OVPAY-2103 - Removed unused endpoints.
This commit is contained in:
parent
b1bbe6b0cb
commit
6e3aa3a04b
@ -6,431 +6,6 @@ info:
|
||||
servers:
|
||||
- url: https://services.acc.api.htm.nl/abt/touchpoint/2.0
|
||||
paths:
|
||||
/orders/validation:
|
||||
post:
|
||||
tags:
|
||||
- Order Validation v2
|
||||
summary: Validate order.
|
||||
description: Validate order.
|
||||
parameters:
|
||||
- in: header
|
||||
name: X-HTM-JWT-AUTH-HEADER
|
||||
required: false
|
||||
style: simple
|
||||
explode: false
|
||||
schema:
|
||||
type: string
|
||||
- in: header
|
||||
name: Accept-version
|
||||
required: false
|
||||
style: simple
|
||||
explode: false
|
||||
schema:
|
||||
type: string
|
||||
example: "2.0"
|
||||
description: The version of the API.
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
examples:
|
||||
v2:
|
||||
summary: Order validation v2
|
||||
description: Order validation v2
|
||||
value:
|
||||
{
|
||||
"purchaseDate": "2024-03-22",
|
||||
"customerProfileId": 1337,
|
||||
"languageId": 1,
|
||||
"billingAddressId": 1,
|
||||
"shippingAddressId": 1,
|
||||
"contents":
|
||||
[
|
||||
{
|
||||
"productId": 1,
|
||||
"quantity": 5,
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": null,
|
||||
"tokens":
|
||||
[
|
||||
{
|
||||
"tokenTypeId": 1,
|
||||
"ovPayTokenId": 1,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verificationCode": "A7H6",
|
||||
"personalAccountData":
|
||||
{
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
"productId": 2,
|
||||
"quantity": 3,
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": null,
|
||||
},
|
||||
],
|
||||
"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",
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
examples:
|
||||
v2:
|
||||
summary: Order validation v2
|
||||
description: Order validation v2
|
||||
value:
|
||||
{
|
||||
"validContents": true,
|
||||
"amountExclTax": 0,
|
||||
"taxPercentage": 0,
|
||||
"amountInclTax": 0,
|
||||
"contents":
|
||||
[
|
||||
{
|
||||
"ovPayTokenId": 0,
|
||||
"serviceReferenceId": "string",
|
||||
"ovpasNumber": "string",
|
||||
"productId": 0,
|
||||
"quantity": 0,
|
||||
"amountExclTax": 0,
|
||||
"taxPercentage": 0,
|
||||
"amountInclTax": 0,
|
||||
"startDate": "string",
|
||||
"endDate": "string",
|
||||
"isRenewable": true,
|
||||
"nextDebitDate": "string",
|
||||
"termAmountExclTax": 0,
|
||||
"termAmountInclTax": 0,
|
||||
"additionalRemarks":
|
||||
[{ "code": "string", "parameter": "string" }],
|
||||
"validationErrors":
|
||||
[{ "detail": "string", "pointer": "string" }],
|
||||
},
|
||||
],
|
||||
}
|
||||
/orders/{orderId}/fulfillment:
|
||||
post:
|
||||
tags:
|
||||
- Order Fulfillment v2
|
||||
summary: Fulfill an order.
|
||||
description: Fulfill an order.
|
||||
parameters:
|
||||
- in: header
|
||||
name: X-HTM-JWT-AUTH-HEADER
|
||||
required: false
|
||||
style: simple
|
||||
explode: false
|
||||
schema:
|
||||
type: string
|
||||
- in: path
|
||||
name: orderId
|
||||
required: true
|
||||
style: simple
|
||||
explode: false
|
||||
schema:
|
||||
type: string
|
||||
format: uuid
|
||||
example: a0ef57fa-395c-4a03-96e9-234c26dccea9
|
||||
- in: header
|
||||
name: Accept-version
|
||||
required: false
|
||||
style: simple
|
||||
explode: false
|
||||
schema:
|
||||
type: string
|
||||
example: "2.0"
|
||||
description: The version of the API.
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
examples:
|
||||
v2.2:
|
||||
summary: Order fulfillment v2.2
|
||||
description: Order fulfillment v2.2
|
||||
value:
|
||||
{
|
||||
"externalOrderId": "a0ef57fa-395c-4a03-96e9-234c26dccea9",
|
||||
"languageId": 1,
|
||||
"billingAddressId": 1,
|
||||
"shippingAddressId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"orderStatusId": 4,
|
||||
"orderLines":
|
||||
[
|
||||
{
|
||||
"externalOrderLineId": "2ba39cae-c401-446b-ae5c-2d6d85b3df1f",
|
||||
"productId": 1,
|
||||
"quantity": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": null,
|
||||
"orderLineStatusId": 4,
|
||||
"tokens":
|
||||
[
|
||||
{
|
||||
"tokenTypeId": 1,
|
||||
"ovPayTokenId": 1,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verificationCode": "A7H6",
|
||||
"personalAccountData":
|
||||
{
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"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",
|
||||
},
|
||||
],
|
||||
"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",
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
responses:
|
||||
"201":
|
||||
description: Created
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
examples:
|
||||
v2.2:
|
||||
summary: Order fulfillment v2
|
||||
description: Order fulfillment v2
|
||||
value:
|
||||
{
|
||||
"orderId": "c73ff153-72e0-403f-a276-e86f544406f9",
|
||||
"externalOrderId": "a0ef57fa-395c-4a03-96e9-234c26dccea9",
|
||||
"orderNumber": "123456",
|
||||
"customerProfileId": 1337,
|
||||
"totalAmount": 121,
|
||||
"languageId": 1,
|
||||
"billingAddressId": 1,
|
||||
"shippingAddressId": 1,
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"orderStatusId": 4,
|
||||
"orderLines":
|
||||
[
|
||||
{
|
||||
"orderLineId": "cccada2c-d5ea-48ab-b4be-f590e16b5468",
|
||||
"externalOrderLineId": "2ba39cae-c401-446b-ae5c-2d6d85b3df1f",
|
||||
"productId": 1,
|
||||
"productName": "HTM Maandkorting 20%",
|
||||
"productCode": "HTM-MND-20",
|
||||
"productDescription": "HTM Maandkorting 20%",
|
||||
"taxAmount": 21,
|
||||
"taxCode": "V21",
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"quantity": 1,
|
||||
"terms":
|
||||
[
|
||||
"generalTermsAndConditions.pdf",
|
||||
"productTermsAndConditions.pdf",
|
||||
],
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": null,
|
||||
"orderLineStatusId": 4,
|
||||
"tokens":
|
||||
[
|
||||
{
|
||||
"tokenTypeId": 1,
|
||||
"ovPayTokenId": 1,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verificationCode": "A7H6",
|
||||
"personalAccountData":
|
||||
{
|
||||
"name": "Jan de Vries",
|
||||
"dateOfBirth": "1970-01-01",
|
||||
"photoReference": "DSC_0502.JPG",
|
||||
"fileType": "image/jpg",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
"payments":
|
||||
[
|
||||
{
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"amountDebit": 121,
|
||||
"paymentMethod":
|
||||
{
|
||||
"paymentMethodId": 1,
|
||||
"name": "ideal",
|
||||
"provider": "Buckaroo",
|
||||
},
|
||||
"touchPoint":
|
||||
{
|
||||
"salesTouchpointId": 3,
|
||||
"name": "Website (Perplex)",
|
||||
"isActive": true,
|
||||
"retailerId": 1001,
|
||||
},
|
||||
"isRefund": false,
|
||||
"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",
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
"400":
|
||||
description: Bad request
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
example:
|
||||
{
|
||||
"type": "https://htm.nl/api/v1/probs/validationerror",
|
||||
"title": "Your request is not valid.",
|
||||
"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",
|
||||
"errors":
|
||||
[
|
||||
{
|
||||
"detail": "Startdate of this product should be at most 60 days in the future.",
|
||||
"pointer": "#/0/startDate",
|
||||
"ovPayTokenId": 123,
|
||||
"productId": 2,
|
||||
},
|
||||
{
|
||||
"detail": "Combination of product and token type is not valid.",
|
||||
"pointer": "#/1/ovPayTokenId",
|
||||
"ovPayTokenId": 123,
|
||||
"productId": 3,
|
||||
},
|
||||
],
|
||||
}
|
||||
/orders:
|
||||
parameters:
|
||||
- in: header
|
||||
@ -689,7 +264,10 @@ paths:
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": null,
|
||||
"orderLineStatus":
|
||||
{ "orderLineStatusId": 1, "name": "pending" },
|
||||
{
|
||||
"orderLineStatusId": 1,
|
||||
"name": "pending",
|
||||
},
|
||||
"customerTokens":
|
||||
[
|
||||
{
|
||||
@ -736,7 +314,7 @@ paths:
|
||||
],
|
||||
"payments": [],
|
||||
"orderCustomer": null,
|
||||
}
|
||||
},
|
||||
],
|
||||
"_links":
|
||||
{
|
||||
@ -751,7 +329,7 @@ paths:
|
||||
}
|
||||
post:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Create a new order
|
||||
description: |
|
||||
Create a new order. This order can only contain the order itself,
|
||||
@ -765,8 +343,8 @@ paths:
|
||||
$ref: "#/components/schemas/unavailable"
|
||||
examples:
|
||||
v2.2:
|
||||
summary: Order creation v2.2
|
||||
description: Order creation v2.2
|
||||
summary: Order Creation Flow v2.2
|
||||
description: Order Creation Flow v2.2
|
||||
value:
|
||||
{
|
||||
"externalOrderId": null,
|
||||
@ -1178,7 +756,7 @@ paths:
|
||||
}
|
||||
patch:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Update an existing order.
|
||||
description: Update an existing order.
|
||||
requestBody:
|
||||
@ -1190,10 +768,7 @@ paths:
|
||||
v2.2:
|
||||
summary: Order update v2.2
|
||||
description: Order update v2.2
|
||||
value:
|
||||
{
|
||||
"languageId": 1,
|
||||
}
|
||||
value: { "languageId": 1 }
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
@ -1339,7 +914,7 @@ paths:
|
||||
}
|
||||
delete:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Delete an existing order.
|
||||
description: Delete an existing order.
|
||||
responses:
|
||||
@ -1385,7 +960,7 @@ paths:
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
post:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Add a new order line to an existing order.
|
||||
description: Add a new order line to an existing order.
|
||||
requestBody:
|
||||
@ -1626,7 +1201,7 @@ paths:
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
patch:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Update an existing order line.
|
||||
description: Update an existing order line.
|
||||
requestBody:
|
||||
@ -1873,7 +1448,7 @@ paths:
|
||||
}
|
||||
delete:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Delete an existing order line.
|
||||
description: Delete an existing order line.
|
||||
responses:
|
||||
@ -1964,7 +1539,7 @@ paths:
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
post:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Add a customer token to an orderLine
|
||||
description: Add a customer token to an orderLine
|
||||
requestBody:
|
||||
@ -1976,10 +1551,7 @@ paths:
|
||||
v2.2.1:
|
||||
summary: Add an existing customer token to an orderline v2.2
|
||||
description: Add an existing customer token to an orderline v2.2
|
||||
value:
|
||||
{
|
||||
"tokenTypeId": 1,
|
||||
"ovPayTokenId": 12}
|
||||
value: { "tokenTypeId": 1, "ovPayTokenId": 12 }
|
||||
v2.2.2:
|
||||
summary: Add a new customer token (emv) to an orderline v2.2
|
||||
description: Add a new customer token (emv) to an orderline v2.2
|
||||
@ -1987,7 +1559,8 @@ paths:
|
||||
{
|
||||
"tokenTypeId": 1,
|
||||
"serviceReferenceId": "NLOV485456456445",
|
||||
"amount": 100}
|
||||
"amount": 100,
|
||||
}
|
||||
v2.2.3:
|
||||
summary: Add a new customer token (ov pas) to an orderline v2.2
|
||||
description: Add a new customer token (ov pas) to an orderline v2.2
|
||||
@ -1995,7 +1568,8 @@ paths:
|
||||
{
|
||||
"tokenTypeId": 2,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verificationCode": "A7H6",}
|
||||
"verificationCode": "A7H6",
|
||||
}
|
||||
responses:
|
||||
"201":
|
||||
description: Created
|
||||
@ -2081,22 +1655,23 @@ paths:
|
||||
"amount": null,
|
||||
"ovpasNumber": null,
|
||||
"verificationCode": null,
|
||||
"personalAccountData": null
|
||||
"personalAccountData": null,
|
||||
},
|
||||
],
|
||||
"orderAccountingStatuses": [],
|
||||
"validationResult": "preliminary",
|
||||
"additionalRemarks": [
|
||||
"additionalRemarks":
|
||||
[
|
||||
{
|
||||
"code": "PERSONALACCOUNTDATA_BIRTHDATE_REQUIRED",
|
||||
"parameter": "personalaccountdata.birthdate",
|
||||
}
|
||||
},
|
||||
],
|
||||
"validationErrors": [],
|
||||
},
|
||||
],
|
||||
"payments": [],
|
||||
"orderCustomers": null
|
||||
"orderCustomers": null,
|
||||
}
|
||||
/customertokens/{customerTokenId}:
|
||||
parameters:
|
||||
@ -2117,7 +1692,7 @@ paths:
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
patch:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Update a customer token
|
||||
description: Update a customer token
|
||||
requestBody:
|
||||
@ -2134,7 +1709,8 @@ paths:
|
||||
"tokenTypeId": 1,
|
||||
"ovPayTokenId": null,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34}
|
||||
"amount": 34,
|
||||
}
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
@ -2209,14 +1785,16 @@ paths:
|
||||
"validUntil": null,
|
||||
"orderLineStatus":
|
||||
{ "orderLineStatusId": 1, "name": "pending" },
|
||||
"customerTokens": [
|
||||
"customerTokens":
|
||||
[
|
||||
{
|
||||
"customerTokenId": "a0ef57fa-395c-4a03-96e9-234c26dccea9",
|
||||
"tokenTypeId": 1,
|
||||
"ovPayTokenId": null,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34,
|
||||
"personalAccountData": null}
|
||||
"personalAccountData": null,
|
||||
},
|
||||
],
|
||||
"orderAccountingStatuses": [],
|
||||
"validationResult": "valid",
|
||||
@ -2225,11 +1803,11 @@ paths:
|
||||
},
|
||||
],
|
||||
"payments": [],
|
||||
"orderCustomers": null
|
||||
"orderCustomers": null,
|
||||
}
|
||||
delete:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Delete a customer token from an orderline
|
||||
description: Delete a customer token from an orderline
|
||||
responses:
|
||||
@ -2309,7 +1887,8 @@ paths:
|
||||
"customerTokens": [],
|
||||
"orderAccountingStatuses": [],
|
||||
"validationResult": "preliminary",
|
||||
"additionalRemarks": [
|
||||
"additionalRemarks":
|
||||
[
|
||||
{
|
||||
"code": "CUSTOMERTOKEN_REQUIRED",
|
||||
"parameter": "customerTokenId",
|
||||
@ -2319,7 +1898,7 @@ paths:
|
||||
},
|
||||
],
|
||||
"payments": [],
|
||||
"orderCustomers": null
|
||||
"orderCustomers": null,
|
||||
}
|
||||
/customertokens/{customerTokenId}/personalaccountdata:
|
||||
parameters:
|
||||
@ -2340,7 +1919,7 @@ paths:
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
post:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Add personal account data to a customer token
|
||||
description: Add personal account data to a customer token
|
||||
requestBody:
|
||||
@ -2445,14 +2024,15 @@ paths:
|
||||
"amount": null,
|
||||
"ovpasNumber": null,
|
||||
"verificationCode": null,
|
||||
"personalAccountData":{
|
||||
"personalAccountData":
|
||||
{
|
||||
"personalAccountDataId": "d9021fdd-6e83-45c0-9aef-71680f0b4e74",
|
||||
"name": "Jan de Vries",
|
||||
"birthdate": "1970-01-01",
|
||||
"photo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAWJLR0Q+SWQA4wAAAAd0SU1FB+YCBAwmK58TFQgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDItMDRUMTI6Mzg6NDMrMDA6MDBAjYOrAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAyLTA0VDEyOjM4OjQzKzAwOjAwMdA7FwAAAFd6VFh0UmF3IHByb2ZpbGUgdHlwZSBpcHRjAAB4nOPyDAhxVigoyk/LzEnlUgADIwsuYwsTIxNLkxQDEyBEgDTDZAMjs1Qgy9jUyMTMxBzEB8uASKBKLgDqFxF08kI1lQAAAYdpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0n77u/JyBpZD0nVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkJz8+DQo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIj48cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPjxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSJ1dWlkOmZhZjViZGQ1LWJhM2QtMTFkYS1hZDMxLWQzM2Q3NTE4MmYxYiIgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPjx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+PC9yZGY6RGVzY3JpcHRpb24+PC9yZGY6UkRGPjwveDp4bXBtZXRhPg0KPD94cGFja2V0IGVuZD0ndyc/PiyUmAsAAAANSURBVBhXY3grk/YfAAXYAm/HQierAAAAAElFTkSuQmCC",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
}
|
||||
},
|
||||
},
|
||||
],
|
||||
"orderAccountingStatuses": [],
|
||||
@ -2462,7 +2042,7 @@ paths:
|
||||
},
|
||||
],
|
||||
"payments": [],
|
||||
"orderCustomers": null
|
||||
"orderCustomers": null,
|
||||
}
|
||||
/personalaccountdata/{personalAccountDataId}:
|
||||
parameters:
|
||||
@ -2483,7 +2063,7 @@ paths:
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
patch:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Update personal account data. P2
|
||||
description: Update personal account data
|
||||
requestBody:
|
||||
@ -2495,10 +2075,7 @@ paths:
|
||||
v2.2:
|
||||
summary: Update personal account data v2.2
|
||||
description: Update personal account data v2.2
|
||||
value:
|
||||
{
|
||||
"birthdate": "2010-01-01",
|
||||
}
|
||||
value: { "birthdate": "2010-01-01" }
|
||||
responses:
|
||||
"201":
|
||||
description: Created
|
||||
@ -2584,20 +2161,22 @@ paths:
|
||||
"amount": null,
|
||||
"ovpasNumber": null,
|
||||
"verificationCode": null,
|
||||
"personalAccountData":{
|
||||
"personalAccountData":
|
||||
{
|
||||
"personalAccountDataId": "d9021fdd-6e83-45c0-9aef-71680f0b4e74",
|
||||
"name": "Jan de Vries",
|
||||
"birthdate": "2010-01-01",
|
||||
"photo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAWJLR0Q+SWQA4wAAAAd0SU1FB+YCBAwmK58TFQgAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDItMDRUMTI6Mzg6NDMrMDA6MDBAjYOrAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTAyLTA0VDEyOjM4OjQzKzAwOjAwMdA7FwAAAFd6VFh0UmF3IHByb2ZpbGUgdHlwZSBpcHRjAAB4nOPyDAhxVigoyk/LzEnlUgADIwsuYwsTIxNLkxQDEyBEgDTDZAMjs1Qgy9jUyMTMxBzEB8uASKBKLgDqFxF08kI1lQAAAYdpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0n77u/JyBpZD0nVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkJz8+DQo8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIj48cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPjxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSJ1dWlkOmZhZjViZGQ1LWJhM2QtMTFkYS1hZDMxLWQzM2Q3NTE4MmYxYiIgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPjx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+PC9yZGY6RGVzY3JpcHRpb24+PC9yZGY6UkRGPjwveDp4bXBtZXRhPg0KPD94cGFja2V0IGVuZD0ndyc/PiyUmAsAAAANSURBVBhXY3grk/YfAAXYAm/HQierAAAAAElFTkSuQmCC",
|
||||
"challengeTypeId": 1,
|
||||
"oneTimePassword": "H5Iiz3JTaQeIV8p",
|
||||
}
|
||||
},
|
||||
},
|
||||
],
|
||||
"orderAccountingStatuses": [],
|
||||
"validationResult": "invalid",
|
||||
"additionalRemarks": [],
|
||||
"validationErrors": [
|
||||
"validationErrors":
|
||||
[
|
||||
{
|
||||
"detail": "Product is for gboAgeProfile 19-65, given gboAgeProfile is 12-19",
|
||||
"pointer": "#/customerTokens/878ad7c1-cd8f-4bcf-a983-1bd8c6e6975e/personalAccountData/birthdate",
|
||||
@ -2606,11 +2185,11 @@ paths:
|
||||
},
|
||||
],
|
||||
"payments": [],
|
||||
"orderCustomers": null
|
||||
"orderCustomers": null,
|
||||
}
|
||||
delete:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Delete personal account data. P2
|
||||
description: Delete personal account data
|
||||
responses:
|
||||
@ -2698,7 +2277,7 @@ paths:
|
||||
"amount": null,
|
||||
"ovpasNumber": null,
|
||||
"verificationCode": null,
|
||||
"personalAccountData": null
|
||||
"personalAccountData": null,
|
||||
},
|
||||
],
|
||||
"orderAccountingStatuses": [],
|
||||
@ -2708,7 +2287,7 @@ paths:
|
||||
},
|
||||
],
|
||||
"payments": [],
|
||||
"orderCustomers": null
|
||||
"orderCustomers": null,
|
||||
}
|
||||
/orders/{orderId}/payments:
|
||||
parameters:
|
||||
@ -2729,7 +2308,7 @@ paths:
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
post:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Add a payment to an existing order.
|
||||
description: Add a payment to an existing order.
|
||||
requestBody:
|
||||
@ -2981,7 +2560,7 @@ paths:
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
patch:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Update a payment on an existing order.
|
||||
description: Update a payment on an existing order.
|
||||
requestBody:
|
||||
@ -3439,7 +3018,7 @@ paths:
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
post:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Add a customer to an existing order.
|
||||
description: Add a customer to an existing order.
|
||||
requestBody:
|
||||
@ -3621,7 +3200,7 @@ paths:
|
||||
example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Update a customer on an existing order.
|
||||
description: Update a customer on an existing order.
|
||||
requestBody:
|
||||
@ -3791,7 +3370,7 @@ paths:
|
||||
example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Create a customer address for an existing order.
|
||||
description: Create a customer address for an existing order.
|
||||
requestBody:
|
||||
@ -3969,7 +3548,7 @@ paths:
|
||||
example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Update a customer address for an existing order.
|
||||
description: Update a customer address for an existing order.
|
||||
requestBody:
|
||||
@ -4130,7 +3709,7 @@ paths:
|
||||
}
|
||||
delete:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
- Order Creation Flow v2
|
||||
summary: Delete an existing order address.
|
||||
description: Delete an existing order address.
|
||||
parameters:
|
||||
@ -4246,7 +3825,7 @@ paths:
|
||||
description: The JWT of the logged in customer (in case of a web shop).
|
||||
post:
|
||||
tags:
|
||||
- Order Fulfill v2
|
||||
- Order Fulfillment v2
|
||||
summary: Fulfill an order without creating or updating the order as a resource.
|
||||
description: Fulfill an order without creating or updating the order as a resource.
|
||||
responses:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user