{
"eventType": "string",
"eventTime": "string",
"order": {
"code": "string",
"state": "string",
"customer": {
"id": "string",
"firstName": "string",
"lastName": "string",
"address": {
"streetName": "string",
"streetNumber": "string",
"zip": "string",
"city": "string",
"region": "string",
"countryCode": "string",
"pickupFromCollectionPoint": true,
"collectionPointAddress": "string"
},
"phone": "string",
"mobile": "string"
},
"invoice": true,
"invoiceDetails": {
"company": "string",
"profession": "string",
"vatNumber": "string",
"doy": "string",
"address": {
"streetName": "string",
"streetNumber": "string",
"zip": "string",
"city": "string",
"region": "string",
"countryCode": "string",
"pickupFromCollectionPoint": true,
"collectionPointAddress": "string"
},
"vatExclusionRequested": true,
"vatExclusionRepresentative": {
"idType": "string",
"idNumberLastFiveDigits": "string",
"otp": "string",
"mobile": "string"
}
},
"comments": "string",
"courier": "string",
"courierVoucher": "string",
"courierTrackingCodes": [
"string"
],
"lineItems": [
{
"id": "string",
"shopUid": "string",
"shopVariationUid": "string",
"productName": "string",
"quantity": 0,
"size": {
"label": "string",
"value": "string",
"shopValue": "string",
"shopVariationUid": "string",
"ean": "string",
"mpn": "string"
},
"unitPrice": 0,
"totalPrice": 0,
"priceIncludesVat": true,
"commission": 0,
"commissionRate": 0,
"islandVatDiscountApplied": true,
"ean": "string",
"mpn": "string",
"extraInfo": "string",
"rejectionReason": "string",
"returnReason": "string",
"serialNumbers": "string",
"tags": [
"string"
]
}
],
"createdAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z",
"dispatchUntil": "2019-08-24T14:15:22Z",
"express": true,
"giftWrap": true,
"rejectionInfo": {
"reason": "string",
"actor": "string"
},
"acceptOptions": {
"numberOfParcles": [
0
],
"pickupLocation": [
{
"id": "string",
"label": "string"
}
],
"pickupWindow": [
{
"id": 0,
"label": "string"
}
]
},
"rejectOptions": {
"lineItemRejectionReasons": [
{
"id": 0,
"label": "string",
"requiresAvailableQuantity": true
}
]
},
"fulfilledBySkroutz": true,
"fbsDeliveryNote": "string",
"storePickup": true,
"shippingCost": 0,
"commission": 0,
"pickupWindow": {
"from": "2019-08-24T14:15:22Z",
"to": "2019-08-24T14:15:22Z"
},
"pickupAddress": "string",
"numberOfParcels": 0
}
}
curl --location --request POST 'https://platform.shopranos.eu/api/SalesChannels/WebHook//skroutz/' \
--header 'Content-Type: application/json' \
--data-raw '{
"eventType": "string",
"eventTime": "string",
"order": {
"code": "string",
"state": "string",
"customer": {
"id": "string",
"firstName": "string",
"lastName": "string",
"address": {
"streetName": "string",
"streetNumber": "string",
"zip": "string",
"city": "string",
"region": "string",
"countryCode": "string",
"pickupFromCollectionPoint": true,
"collectionPointAddress": "string"
},
"phone": "string",
"mobile": "string"
},
"invoice": true,
"invoiceDetails": {
"company": "string",
"profession": "string",
"vatNumber": "string",
"doy": "string",
"address": {
"streetName": "string",
"streetNumber": "string",
"zip": "string",
"city": "string",
"region": "string",
"countryCode": "string",
"pickupFromCollectionPoint": true,
"collectionPointAddress": "string"
},
"vatExclusionRequested": true,
"vatExclusionRepresentative": {
"idType": "string",
"idNumberLastFiveDigits": "string",
"otp": "string",
"mobile": "string"
}
},
"comments": "string",
"courier": "string",
"courierVoucher": "string",
"courierTrackingCodes": [
"string"
],
"lineItems": [
{
"id": "string",
"shopUid": "string",
"shopVariationUid": "string",
"productName": "string",
"quantity": 0,
"size": {
"label": "string",
"value": "string",
"shopValue": "string",
"shopVariationUid": "string",
"ean": "string",
"mpn": "string"
},
"unitPrice": 0,
"totalPrice": 0,
"priceIncludesVat": true,
"commission": 0,
"commissionRate": 0,
"islandVatDiscountApplied": true,
"ean": "string",
"mpn": "string",
"extraInfo": "string",
"rejectionReason": "string",
"returnReason": "string",
"serialNumbers": "string",
"tags": [
"string"
]
}
],
"createdAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z",
"dispatchUntil": "2019-08-24T14:15:22Z",
"express": true,
"giftWrap": true,
"rejectionInfo": {
"reason": "string",
"actor": "string"
},
"acceptOptions": {
"numberOfParcles": [
0
],
"pickupLocation": [
{
"id": "string",
"label": "string"
}
],
"pickupWindow": [
{
"id": 0,
"label": "string"
}
]
},
"rejectOptions": {
"lineItemRejectionReasons": [
{
"id": 0,
"label": "string",
"requiresAvailableQuantity": true
}
]
},
"fulfilledBySkroutz": true,
"fbsDeliveryNote": "string",
"storePickup": true,
"shippingCost": 0,
"commission": 0,
"pickupWindow": {
"from": "2019-08-24T14:15:22Z",
"to": "2019-08-24T14:15:22Z"
},
"pickupAddress": "string",
"numberOfParcels": 0
}
}'
{}