{
"event_time": "2019-08-24T14:15:22Z",
"event_type": "new_order",
"changes": {
"state": {
"old": "string",
"new": "string"
},
"expires_at": {
"old": "2019-08-24T14:15:22Z",
"new": "2019-08-24T14:15:22Z"
},
"dispatch_until": {
"old": "2019-08-24T14:15:22Z",
"new": "2019-08-24T14:15:22Z"
},
"courier": {
"old": "string",
"new": "string"
},
"courier_voucher": {
"old": "string",
"new": "string"
},
"courier_tracking_codes": {
"old": [
"string"
],
"new": [
"string"
]
},
"fbs_delivery_note": {
"old": "string",
"new": "string"
},
"pickup_window": {
"from": "2019-08-24T14:15:22Z",
"to": "2019-08-24T14:15:22Z"
},
"number_of_parcels": 0,
"pickup_address": "string"
},
"order": {
"code": "string",
"state": "open",
"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,
"invoice_details": {
"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",
"courier_voucher": "string",
"courier_tracking_codes": [
"string"
],
"line_items": [
{
"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"
]
}
],
"created_at": "2019-08-24T14:15:22Z",
"expires_at": "2019-08-24T14:15:22Z",
"dispatch_until": "2019-08-24T14:15:22Z",
"express": true,
"gift_wrap": true,
"rejection_info": {
"reason": "string",
"actor": "string"
},
"accept_options": {
"numberOfParcles": [
0
],
"pickupLocation": [
{
"id": "string",
"label": "string"
}
],
"pickupWindow": [
{
"id": 0,
"label": "string"
}
]
},
"reject_options": {
"lineItemRejectionReasons": [
{
"id": 0,
"label": "string",
"requiresAvailableQuantity": true
}
]
},
"fulfilled_by_skroutz": true,
"fbs_delivery_note": "string",
"store_pickup": true,
"shipping_cost": 0,
"commision": 0,
"pickup_window": {
"from": "2019-08-24T14:15:22Z",
"to": "2019-08-24T14:15:22Z"
},
"pickup_address": "string",
"number_of_parcels": 0
}
}
curl --location --request POST 'https://platform.shopranos.eu/api/Skroutz/webhook//' \
--header 'Content-Type: application/json' \
--data-raw '{
"event_time": "2019-08-24T14:15:22Z",
"event_type": "new_order",
"changes": {
"state": {
"old": "string",
"new": "string"
},
"expires_at": {
"old": "2019-08-24T14:15:22Z",
"new": "2019-08-24T14:15:22Z"
},
"dispatch_until": {
"old": "2019-08-24T14:15:22Z",
"new": "2019-08-24T14:15:22Z"
},
"courier": {
"old": "string",
"new": "string"
},
"courier_voucher": {
"old": "string",
"new": "string"
},
"courier_tracking_codes": {
"old": [
"string"
],
"new": [
"string"
]
},
"fbs_delivery_note": {
"old": "string",
"new": "string"
},
"pickup_window": {
"from": "2019-08-24T14:15:22Z",
"to": "2019-08-24T14:15:22Z"
},
"number_of_parcels": 0,
"pickup_address": "string"
},
"order": {
"code": "string",
"state": "open",
"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,
"invoice_details": {
"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",
"courier_voucher": "string",
"courier_tracking_codes": [
"string"
],
"line_items": [
{
"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"
]
}
],
"created_at": "2019-08-24T14:15:22Z",
"expires_at": "2019-08-24T14:15:22Z",
"dispatch_until": "2019-08-24T14:15:22Z",
"express": true,
"gift_wrap": true,
"rejection_info": {
"reason": "string",
"actor": "string"
},
"accept_options": {
"numberOfParcles": [
0
],
"pickupLocation": [
{
"id": "string",
"label": "string"
}
],
"pickupWindow": [
{
"id": 0,
"label": "string"
}
]
},
"reject_options": {
"lineItemRejectionReasons": [
{
"id": 0,
"label": "string",
"requiresAvailableQuantity": true
}
]
},
"fulfilled_by_skroutz": true,
"fbs_delivery_note": "string",
"store_pickup": true,
"shipping_cost": 0,
"commision": 0,
"pickup_window": {
"from": "2019-08-24T14:15:22Z",
"to": "2019-08-24T14:15:22Z"
},
"pickup_address": "string",
"number_of_parcels": 0
}
}'
{}