RegistrationNotification

A customer has registered for a product or a service and a free order has been created.

JSON Reference

This notification uses the Purchase Model.

Examples

{
   "meta": {
      "type": "RegistrationNotification",
      "date": "2019-03-28T13:10:54.214484",
      "schemaUrl": "https://www.cleverbridge.com/JsonNotificationSchemas/RegistrationNotification"
   },
   "purchaseId": 169654951,
   "status": "Registration",
   "statusId": "REG",
   "billingContact": {
      "language": "English",
      "languageId": "en",
      "locale": "en-US",
      "company": "Your Company Name",
      "firstname": "John",
      "lastname": "Doe",
      "companyRomanized": "Your Company Name",
      "firstnameRomanized": "John",
      "lastnameRomanized": "Doe",
      "country": "Germany",
      "countryId": "DE",
      "email": "[email protected]"
   },
   "deliveryContact": {
      "language": "English",
      "languageId": "en",
      "locale": "en-US",
      "company": "Your Company Name",
      "firstname": "John",
      "lastname": "Doe",
      "companyRomanized": "Your Company Name",
      "firstnameRomanized": "John",
      "lastnameRomanized": "Doe",
      "country": "Germany",
      "countryId": "DE",
      "email": "[email protected]"
   },
   "licenseeContact": {
      "language": "English",
      "languageId": "en",
      "locale": "en-US",
      "company": "Your Company Name",
      "firstname": "John",
      "lastname": "Doe",
      "companyRomanized": "Your Company Name",
      "firstnameRomanized": "John",
      "lastnameRomanized": "Doe",
      "country": "Germany",
      "countryId": "DE",
      "email": "[email protected]"
   },
   "paymentInfo": {
      "currency": "Euro",
      "currencyId": "EUR",
      "paymentType": "Visa",
      "paymentTypeId": "CCA_VIS",
      "isPurchaseOrder": false,
      "cardLastFourDigits": "142T",
      "cardExpirationDate": {
         "month": 3,
         "year": 2023
      }
   },
   "creationTime": "2019-03-28T13:10:54.214484",
   "lastModificationTime": "2019-03-28T13:10:54.698104",
   "remoteAddress": "89.1.3.0",
   "httpUserAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36",
   "httpEntryUrl": "https://shop.yourcustomdomain.com/1584/?scope=checkout&cart=219909&x-source=christmas%20newsletter&x-reference=A5434A",
   "httpReferer": "https://shop.yourcustomdomain.com/1584/?scope=registration&id=ND1h2C1234",
   "httpAcceptLanguage": "de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7",
   "internalCustomer": "UUID-YOUR-UNIQUE-ID-1234-5678",
   "customerConfirmationPageUrl": "https://shop.yourcustomdomain.com/1584/p/169654951-SfVLjMe6pNByNBpB1234",
   "merchantOfRecord": "AG",
   "items": [
      {
         "runningNumber": 1,
         "productId": 219909,
         "productName": "Film Now",
         "productNameExtension": "Film Now [One time]",
         "yourProductId": "Film Now [One time]",
         "yourProductName": "Film Now",
         "internalCategory": "Film",
         "clientId": 1584,
         "quantity": 1,
         "yourCurrency": "Euro",
         "yourCurrencyId": "EUR",
         "profitCalculation": {
            "grossRevenue": 0,
            "collectedVat": 0,
            "netRevenue": 0,
            "cbMarginPercentage": 0,
            "cbMarginFix": 0,
            "yourNetProfit": 0,
            "yourVat": 0,
            "yourGrossProfit": 0
         },
         "yourPrice": {
            "productSinglePrice": {
               "netPrice": 0,
               "vatPrice": 0,
               "grossPrice": 0,
               "vatPercentage": 19
            },
            "productTotalPrice": {
               "netPrice": 0,
               "vatPrice": 0,
               "grossPrice": 0,
               "vatPercentage": 19
            },
            "totalSinglePrice": {
               "netPrice": 0,
               "vatPrice": 0,
               "grossPrice": 0,
               "vatPercentage": 19
            },
            "totalTotalPrice": {
               "netPrice": 0,
               "vatPrice": 0,
               "grossPrice": 0,
               "vatPercentage": 19
            }
         },
         "customerPrice": {
            "productSinglePrice": {
               "netPrice": 0,
               "vatPrice": 0,
               "grossPrice": 0,
               "vatPercentage": 19
            },
            "productTotalPrice": {
               "netPrice": 0,
               "vatPrice": 0,
               "grossPrice": 0,
               "vatPercentage": 19
            },
            "totalSinglePrice": {
               "netPrice": 0,
               "vatPrice": 0,
               "grossPrice": 0,
               "vatPercentage": 19
            },
            "totalTotalPrice": {
               "netPrice": 0,
               "vatPrice": 0,
               "grossPrice": 0,
               "vatPercentage": 19
            }
         },
         "deliveries": [
            {
               "key": {
                  "key": "your-key-13455-xxx",
                  "keyRaw": "your-key-13455-xxx",
                  "deliveryType": "cleverbridge delivers key",
                  "deliveryTypeId": "cleverbridgeDeliversKey"
               }
            }
         ]
      }
   ],
   "extraParameters": {
      "x-reference": "A5434A",
      "x-source": "christmas newsletter"
   }
}
<?xml version="1.0" encoding="utf-8"?>
<cbn:RegistrationNotification xmlns:cbn="http://xml.cleverbridge.com/3.13.0.9/cleverbridgeNotification.xsd">
  <cbn:NotificationDate>2019-03-28T13:10:54.214484Z</cbn:NotificationDate>
  <cbn:Purchase cbt:Id="169654951" xmlns:cbt="http://xml.cleverbridge.com/3.13.0.9/cleverbridgeTypes.xsd">
    <cbt:Status>Registration</cbt:Status>
    <cbt:StatusId>REG</cbt:StatusId>
    <cbt:BillingContact>
      <cbt:Language>English</cbt:Language>
      <cbt:LanguageId>en</cbt:LanguageId>
      <cbt:Locale>en-US</cbt:Locale>
      <cbt:Company>Your Company Name</cbt:Company>
      <cbt:Firstname>John</cbt:Firstname>
      <cbt:Lastname>Doe</cbt:Lastname>
      <cbt:CompanyRomanized>Your Company Name</cbt:CompanyRomanized>
      <cbt:FirstnameRomanized>John</cbt:FirstnameRomanized>
      <cbt:LastnameRomanized>Doe</cbt:LastnameRomanized>
      <cbt:Country>Germany</cbt:Country>
      <cbt:CountryId>DE</cbt:CountryId>
      <cbt:Email>[email protected]</cbt:Email>
    </cbt:BillingContact>
    <cbt:DeliveryContact>
      <cbt:Language>English</cbt:Language>
      <cbt:LanguageId>en</cbt:LanguageId>
      <cbt:Locale>en-US</cbt:Locale>
      <cbt:Company>Your Company Name</cbt:Company>
      <cbt:Firstname>John</cbt:Firstname>
      <cbt:Lastname>Doe</cbt:Lastname>
      <cbt:CompanyRomanized>Your Company Name</cbt:CompanyRomanized>
      <cbt:FirstnameRomanized>John</cbt:FirstnameRomanized>
      <cbt:LastnameRomanized>Doe</cbt:LastnameRomanized>
      <cbt:Country>Germany</cbt:Country>
      <cbt:CountryId>DE</cbt:CountryId>
      <cbt:Email>[email protected]</cbt:Email>
    </cbt:DeliveryContact>
    <cbt:LicenseeContact>
      <cbt:Language>English</cbt:Language>
      <cbt:LanguageId>en</cbt:LanguageId>
      <cbt:Locale>en-US</cbt:Locale>
      <cbt:Company>Your Company Name</cbt:Company>
      <cbt:Firstname>John</cbt:Firstname>
      <cbt:Lastname>Doe</cbt:Lastname>
      <cbt:CompanyRomanized>Your Company Name</cbt:CompanyRomanized>
      <cbt:FirstnameRomanized>John</cbt:FirstnameRomanized>
      <cbt:LastnameRomanized>Doe</cbt:LastnameRomanized>
      <cbt:Country>Germany</cbt:Country>
      <cbt:CountryId>DE</cbt:CountryId>
      <cbt:Email>[email protected]</cbt:Email>
    </cbt:LicenseeContact>
    <cbt:PaymentInfo>
      <cbt:Currency>Euro</cbt:Currency>
      <cbt:CurrencyId>EUR</cbt:CurrencyId>
      <cbt:PaymentType>Visa</cbt:PaymentType>
      <cbt:PaymentTypeId>CCA_VIS</cbt:PaymentTypeId>
      <cbt:IsPurchaseOrder>false</cbt:IsPurchaseOrder>
      <cbt:CardLastFourDigits>142T</cbt:CardLastFourDigits>
      <cbt:CardExpirationDate>
        <cbt:Month>3</cbt:Month>
        <cbt:Year>2023</cbt:Year>
      </cbt:CardExpirationDate>
    </cbt:PaymentInfo>
    <cbt:CreationTime>2019-03-28T13:10:54.214484Z</cbt:CreationTime>
    <cbt:LastModificationTime>2019-03-28T13:10:54.698104Z</cbt:LastModificationTime>
    <cbt:SubscriptionRevenueCategoryId>
    </cbt:SubscriptionRevenueCategoryId>
    <cbt:RemoteAddress>89.1.3.0</cbt:RemoteAddress>
    <cbt:HttpUserAgent>Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36</cbt:HttpUserAgent>
    <cbt:HttpEntryUrl>https://shop.yourcustomdomain.com/1584/?scope=checkout&amp;cart=219909&amp;x-source=christmas%20newsletter&amp;x-reference=A5434A</cbt:HttpEntryUrl>
    <cbt:HttpReferer>https://shop.yourcustomdomain.com/1584/?scope=registration&amp;id=ND0d2C1234</cbt:HttpReferer>
    <cbt:HttpAcceptLanguage>de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7</cbt:HttpAcceptLanguage>
    <cbt:InternalCustomer>UUID-YOUR-UNIQUE-ID-1234-5678</cbt:InternalCustomer>
    <cbt:CustomerConfirmationPageUrl>https://shop.yourcustomdomain.com/1584/p/169654951-SfVLjMe6pNByNBp1234</cbt:CustomerConfirmationPageUrl>
    <cbt:MerchantOfRecord>AG</cbt:MerchantOfRecord>
    <cbt:Items>
      <cbt:Item cbt:RunningNo="1">
        <cbt:ProductId>219909</cbt:ProductId>
        <cbt:ProductName>Film Now</cbt:ProductName>
        <cbt:ProductNameExtension>Film Now [One time]</cbt:ProductNameExtension>
        <cbt:YourProductId>Film Now [One time]</cbt:YourProductId>
        <cbt:YourProductName>Film Now</cbt:YourProductName>
        <cbt:InternalCategory>Film</cbt:InternalCategory>
        <cbt:ClientId>1584</cbt:ClientId>
        <cbt:Quantity>1</cbt:Quantity>
        <cbt:YourCurrency>Euro</cbt:YourCurrency>
        <cbt:YourCurrencyId>EUR</cbt:YourCurrencyId>
        <cbt:ProfitCalculation>
          <cbt:GrossRevenue>0</cbt:GrossRevenue>
          <cbt:CollectedVat>0</cbt:CollectedVat>
          <cbt:NetRevenue>0</cbt:NetRevenue>
          <cbt:CbMarginPercentage>0</cbt:CbMarginPercentage>
          <cbt:CbMarginFix>0</cbt:CbMarginFix>
          <cbt:YourNetProfit>0</cbt:YourNetProfit>
          <cbt:YourVat>0</cbt:YourVat>
          <cbt:YourGrossProfit>0</cbt:YourGrossProfit>
        </cbt:ProfitCalculation>
        <cbt:YourPrice>
          <cbt:ProductSinglePrice>
            <cbt:NetPrice>0</cbt:NetPrice>
            <cbt:VatPrice>0</cbt:VatPrice>
            <cbt:GrossPrice>0</cbt:GrossPrice>
            <cbt:VatPercentage>19</cbt:VatPercentage>
          </cbt:ProductSinglePrice>
          <cbt:ProductTotalPrice>
            <cbt:NetPrice>0</cbt:NetPrice>
            <cbt:VatPrice>0</cbt:VatPrice>
            <cbt:GrossPrice>0</cbt:GrossPrice>
            <cbt:VatPercentage>19</cbt:VatPercentage>
          </cbt:ProductTotalPrice>
          <cbt:TotalSinglePrice>
            <cbt:NetPrice>0</cbt:NetPrice>
            <cbt:VatPrice>0</cbt:VatPrice>
            <cbt:GrossPrice>0</cbt:GrossPrice>
            <cbt:VatPercentage>19</cbt:VatPercentage>
          </cbt:TotalSinglePrice>
          <cbt:TotalTotalPrice>
            <cbt:NetPrice>0</cbt:NetPrice>
            <cbt:VatPrice>0</cbt:VatPrice>
            <cbt:GrossPrice>0</cbt:GrossPrice>
            <cbt:VatPercentage>19</cbt:VatPercentage>
          </cbt:TotalTotalPrice>
        </cbt:YourPrice>
        <cbt:CustomerPrice>
          <cbt:ProductSinglePrice>
            <cbt:NetPrice>0</cbt:NetPrice>
            <cbt:VatPrice>0</cbt:VatPrice>
            <cbt:GrossPrice>0</cbt:GrossPrice>
            <cbt:VatPercentage>19</cbt:VatPercentage>
          </cbt:ProductSinglePrice>
          <cbt:ProductTotalPrice>
            <cbt:NetPrice>0</cbt:NetPrice>
            <cbt:VatPrice>0</cbt:VatPrice>
            <cbt:GrossPrice>0</cbt:GrossPrice>
            <cbt:VatPercentage>19</cbt:VatPercentage>
          </cbt:ProductTotalPrice>
          <cbt:TotalSinglePrice>
            <cbt:NetPrice>0</cbt:NetPrice>
            <cbt:VatPrice>0</cbt:VatPrice>
            <cbt:GrossPrice>0</cbt:GrossPrice>
            <cbt:VatPercentage>19</cbt:VatPercentage>
          </cbt:TotalSinglePrice>
          <cbt:TotalTotalPrice>
            <cbt:NetPrice>0</cbt:NetPrice>
            <cbt:VatPrice>0</cbt:VatPrice>
            <cbt:GrossPrice>0</cbt:GrossPrice>
            <cbt:VatPercentage>19</cbt:VatPercentage>
          </cbt:TotalTotalPrice>
        </cbt:CustomerPrice>
        <cbt:Deliveries>
          <cbt:Key>
            <cbt:DeliveryType>cleverbridge delivers key</cbt:DeliveryType>
            <cbt:DeliveryTypeId>cleverbridgeDeliversKey</cbt:DeliveryTypeId>
            <cbt:Key>your-key-13455-xxx</cbt:Key>
            <cbt:KeyRaw>your-key-13455-xxx</cbt:KeyRaw>
          </cbt:Key>
        </cbt:Deliveries>
        <cbt:Additionals />
        <cbt:ExtraParameters />
      </cbt:Item>
    </cbt:Items>
    <cbt:ExtraParameters>
      <cbt:ExtraParameter>
        <cbt:Key>x-reference</cbt:Key>
        <cbt:Value>A5434A</cbt:Value>
      </cbt:ExtraParameter>
      <cbt:ExtraParameter>
        <cbt:Key>x-source</cbt:Key>
        <cbt:Value>christmas newsletter</cbt:Value>
      </cbt:ExtraParameter>
    </cbt:ExtraParameters>
  </cbn:Purchase>
</cbn:RegistrationNotification>