The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/reply/PlaceConsumerOrderRequest HTTP/1.1
Host: s1-api-tst.fource.nl
Content-Type: text/jsv
Content-Length: length
{
externalSystemId: String,
orderId: String,
shippingMethod: String,
shipping:
{
method: String,
type: String,
fee: 0,
date: String
},
payment:
{
type: String,
reference: String,
status: String,
shippingPrice: 0,
fee: 0,
totalPrice: 0,
remark: String,
transactionProvider: String,
transactionReference: String,
transactionType: String
},
customer:
{
emailAddress: String,
telephone: String,
membership:
{
cardId: String,
paidCredits: 0
},
invoiceAddress:
{
firstName: String,
lastName: String,
companyName: String,
street: String,
houseNumber: String,
houseNumberAddition: String,
zipCode: String,
city: String,
region: String,
country: String
},
shippingAddress:
{
firstName: String,
lastName: String,
companyName: String,
street: String,
houseNumber: String,
houseNumberAddition: String,
zipCode: String,
city: String,
region: String,
country: String
},
nationalIdNr: String
}
}