order-package-shipped
Get notified whenever an order package is shipped.
{
"key": "string",
"meta": {
"tenantKey": "string",
"xRequestId": "string"
},
"occurredAt": "datetime",
"type": "order-package-shipped",
"version": "integer",
"payload": {
"order": {
"id": "integer",
"basketKey": "string",
"cost": {
"tax": {
"vat": {
"amount": "integer"
}
},
"withTax": "integer",
"withoutTax": "integer",
"withTaxWithMembershipDiscountWithoutServiceCosts": "integer",
"withoutTaxWithMembershipDiscount": "integer",
"costCapture": "integer"
},
"currencyCode": "string",
"status": "string",
"detailedStatus": {
"billing": {
"code": "string",
"name": "string"
},
"order": {
"code": "string",
"name": "string"
},
"shipping": {
"code": "string",
"name": "string"
}
},
"address": {
"billing": {
"id": "integer",
"street": "string",
"houseNumber": "string",
"zipCode": "string",
"city": "string",
"countryCode": "string",
"isDefault": {
"billing": "boolean",
"shipping": "boolean"
},
"recipient": {
"firstName": "string",
"lastName": "string",
"gender": "string",
"type": "string"
}
},
"shipping": {
"id": "integer",
"street": "string",
"houseNumber": "string",
"zipCode": "string",
"city": "string",
"countryCode": "string",
"isDefault": {
"billing": "boolean",
"shipping": "boolean"
},
"recipient": {
"firstName": "string",
"lastName": "string",
"gender": "string",
"type": "string"
}
}
},
"contacts": [
{
"type": "string"
}
],
"items": [
{
"packageId": "integer",
"price": {
"withTax": "integer",
"withoutTax": "integer",
"tax": {
"vat": {
"amount": "integer",
"rate": "integer"
}
},
"overrideWithoutTax": "integer",
"overrideWithTax": "integer",
"undiscountedWithOutTax": "integer",
"undiscountedWithTax": "integer"
},
"status": "string",
"key": "string",
"product": {
"id": "integer",
"name": "string"
},
"id": "integer",
"warehouseId": "integer",
"variant": {
"id": "integer",
"referenceKey": "string",
"stock": {
"supplierId": "integer"
}
},
"currency": "string",
"itemGroup": "object",
"merchant": {
"referenceKey": "string"
},
"createdAt": "datetime",
"updatedAt": "datetime"
}
],
"payment": [
{
"key": "string",
"amount": "integer",
"data": {
"amount": {
"currency": "string",
"value": "integer"
},
"creditCardBrand": "string",
"merchantAccount": "string",
"pspReference": "string",
"success": "boolean"
},
"transactionKey": "string"
}
],
"customer": {
"id": "integer",
"firstName": "string",
"lastName": "string",
"gender": "string",
"birthDate": "string",
"email": "string",
"type": "string",
"createdAt": "datetime",
"updatedAt": "datetime",
"status": {
"isActive": "boolean",
"isGuestCustomer": "boolean"
}
},
"packages": [
{
"id": "integer",
"carrierKey": "string",
"deliveryStatus": "string",
"returnIdentCode": "string",
"deliveryDate": {
"maximum": "string",
"minimum": "string"
},
"shipmentKey": "string",
"tracking": {
"id": "string",
"url": "string"
}
}
],
"shipping": {
"policy": "string"
},
"referenceKey": "string",
"updatedAt": "datetime",
"createdAt": "datetime",
"confirmedAt": "datetime",
"shopCountry": {
"id": "integer",
"shopKey": "string",
"countryCode": "string",
"defaultLanguageCode": "string",
"supportedLanguageCodes": [],
"priceGroupKey": "object",
"url": "string",
"active": "boolean",
"currencyCode": "string",
"deleted": "boolean"
}
},
"items": [
{
"packageId": "integer",
"price": {
"withTax": "integer",
"withoutTax": "integer",
"tax": {
"vat": {
"amount": "integer",
"rate": "integer"
}
},
"overrideWithoutTax": "integer",
"overrideWithTax": "integer",
"undiscountedWithOutTax": "integer",
"undiscountedWithTax": "integer"
},
"status": "string",
"key": "string",
"product": {
"id": "integer",
"name": "string"
},
"id": "integer",
"warehouseId": "integer",
"variant": {
"id": "integer",
"referenceKey": "string",
"stock": {
"supplierId": "integer"
}
},
"currency": "string",
"itemGroup": "object",
"merchant": {
"referenceKey": "string"
},
"createdAt": "datetime",
"updatedAt": "datetime"
}
],
"shopCountry": {
"id": "integer",
"shopKey": "string",
"countryCode": "string",
"defaultLanguageCode": "string",
"supportedLanguageCodes": [],
"priceGroupKey": "object",
"url": "string",
"active": "boolean",
"currencyCode": "string",
"deleted": "boolean"
}
}
}