update get order details en removed mandate Input
This commit is contained in:
parent
30e789ac2c
commit
4352b8fee8
@ -351,17 +351,24 @@ paths:
|
||||
"iso639Code": "nl-NL",
|
||||
"ietfCode": "nl",
|
||||
},
|
||||
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"createdOn": "2024-03-22T08:58:00",
|
||||
"lastUpdatedOn": "2024-03-22T09:00:00",
|
||||
"order_OrderStatuses":
|
||||
"order_OrderStatuses":[
|
||||
{
|
||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||
"orderStatus":
|
||||
{ "orderStatusId": 2, "name": "awaitingPayment"},
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"description": "Order succesvol betaald",
|
||||
"description": "Order is awaiting payment",
|
||||
},
|
||||
{
|
||||
"order_orderStatusId": "363e1959-41d1-4a65-b6e8-23b09d78392a",
|
||||
"orderStatus":
|
||||
{ "orderStatusId": 1, "name": "concept"},
|
||||
"createdOn": "2024-03-22T08:58:00",
|
||||
"description": "Order concept",
|
||||
}
|
||||
],
|
||||
"orderLines": [
|
||||
{
|
||||
"orderLineId": "cccada2c-d5ea-48ab-b4be-f590e16b5468",
|
||||
@ -1125,6 +1132,142 @@ paths:
|
||||
},
|
||||
},
|
||||
}
|
||||
v2-register:
|
||||
summary: Get order v2 when called by a register touchpoint on HS
|
||||
description: Get order v2 when called by a register touchpoint on HS
|
||||
value:
|
||||
{
|
||||
"validContents": null,
|
||||
"orderId": "afce35b2-1dff-4ace-98d0-4b9ac405c87d",
|
||||
"externalOrderId": "bac3958b-804a-43e3-b5f7-0b0fffaae5b7",
|
||||
"orderNumber": "123456",
|
||||
"customerProfileId": 42,
|
||||
"totalAmount": 121,
|
||||
"touchPoint":
|
||||
{
|
||||
"salesTouchpointId": 4,
|
||||
"name": "SMP HS (Service Medewerker Portaal Holland Spoor)",
|
||||
"isActive": true,
|
||||
"retailerId": 1000,
|
||||
},
|
||||
"language":
|
||||
{
|
||||
"languageId": 1,
|
||||
"name": "Nederlands",
|
||||
"iso639Code": "nl-NL",
|
||||
"ietfCode": "nl",
|
||||
},
|
||||
"createdOn": "2024-03-22T08:58:00",
|
||||
"lastUpdatedOn": "2024-03-22T09:00:00",
|
||||
"order_OrderStatuses":[
|
||||
{
|
||||
"order_orderStatusId": "f1d0e1a7-a3cf-4876-b8f2-073add10667f",
|
||||
"orderStatus":
|
||||
{ "orderStatusId": 2, "name": "awaitingPayment"},
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"description": "Order is awaiting payment",
|
||||
},
|
||||
{
|
||||
"order_orderStatusId": "363e1959-41d1-4a65-b6e8-23b09d78392a",
|
||||
"orderStatus":
|
||||
{ "orderStatusId": 1, "name": "concept"},
|
||||
"createdOn": "2024-03-22T08:58:00",
|
||||
"description": "Order concept",
|
||||
}
|
||||
],
|
||||
"orderLines":
|
||||
[
|
||||
{
|
||||
"orderLineId": "7a7a9d1a-3fc8-4058-a28b-082860aaa311",
|
||||
"externalOrderLineId": "f5fddff0-7fbd-4285-bccb-e584f431ea69",
|
||||
"productId": 1,
|
||||
"productName": "HTM Maandkorting 20%",
|
||||
"fikoArticleNumber": "6609",
|
||||
"productDescription": "HTM Maandkorting 20%",
|
||||
"taxCode": "V21",
|
||||
"taxPercentage": 21.0000,
|
||||
"taxAmount": 21,
|
||||
"amountExclTax": 100,
|
||||
"amountInclTax": 121,
|
||||
"quantity": 1,
|
||||
"orderLineTerms":
|
||||
[
|
||||
{
|
||||
"orderLineTermsId": "fe354db7-12ad-4fc1-bc63-a704c4e0d91e",
|
||||
"termsUrl": "generalTermsAndConditions.pdf",
|
||||
},
|
||||
],
|
||||
"validFrom": "2024-03-22T09:00:00",
|
||||
"validUntil": "2025-03-22T09:00:00",
|
||||
"orderLineStatus":
|
||||
{ "orderLineStatusId": 4, "name": "delivered" },
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"lastUpdatedOn": "2024-03-22T09:00:00",
|
||||
"customerTokens":
|
||||
[
|
||||
{
|
||||
"customerTokenId": "878ad7c1-cd8f-4bcf-a983-1bd8c6e6975e",
|
||||
"tokenType":
|
||||
{ "tokenTypeId": 1, "name": "EMV" },
|
||||
|
||||
"ovPayTokenId": 1,
|
||||
"serviceReferenceId": "NLOV1234567ABCDEFG",
|
||||
"amount": 34,
|
||||
"ovpasNumber": "OV34567",
|
||||
"verificationCode": "A7H6"
|
||||
},
|
||||
],
|
||||
"orderAccountingStatuses":
|
||||
[
|
||||
{
|
||||
"orderAccountingStatusId": "7c5118d0-8535-4464-9239-83a7ba8fd2db",
|
||||
"accountingStatus":
|
||||
{ "accountingStatusId": 1, "name": "open" },
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"description": "Financiele transactie voor de FIKO.",
|
||||
},
|
||||
],
|
||||
"validationResult": null,
|
||||
"additionalRemarks": [],
|
||||
"validationErrors": [],
|
||||
},
|
||||
],
|
||||
"payments":
|
||||
[
|
||||
{
|
||||
"paymentId": "3ba4a3c7-0803-4214-800b-365851b8903d",
|
||||
"createdOn": "2024-03-22T09:00:00",
|
||||
"amountDebit": 121,
|
||||
"paymentMethod":
|
||||
{
|
||||
"paymentMethodId": 1,
|
||||
"name": "ideal",
|
||||
"provider": "Buckaroo",
|
||||
},
|
||||
"touchPoint":
|
||||
{
|
||||
"salesTouchpointId": 4,
|
||||
"name": "Website (Perplex)",
|
||||
"isActive": true,
|
||||
"retailerId": 1001,
|
||||
},
|
||||
"isRefund": false,
|
||||
"htmPaymentReference": "HTM-1234",
|
||||
"pspPaymentReference": "Buckaroo-1234",
|
||||
"paymentStatuses": null
|
||||
},
|
||||
],
|
||||
"_links":
|
||||
{
|
||||
"self":
|
||||
{
|
||||
"href": "https://api.example.com/items/1",
|
||||
"method": "GET",
|
||||
"templated": true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
patch:
|
||||
tags:
|
||||
- Order Creation v2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user