Appearance
Payload branch "delivery" 
In this branch You will find every "entity" that can be related to the "delivery aspect" of the current checkout.
Let's review an example:
js
{
  "context": "...",
  "event": "...",
  "checkout_step": "...",
  "attributes": {...},
  "products": [...],
  "carrier": {...},
  "payment": {...},
  "delivery": {
    "country": {
      "id": 10,
      "name": "Italia",
      "iso_code": "IT"
    },
    "address": {
      "firstname": "FABIO",
      "lastname": "POLITI",
      "company": "",
      "address1": "VIA TOLOI",
      "address2": "40",
      "postcode": "00052",
      "city": "CERVETERI",
      "phone": "3471123000",
      "phone_mobile": "3471123000",
      "fax": null,
      "vat_number": "PLTFBA83A14H501I",
      "cf": "PLTFBA83A14H501I",
      "extrainfo": "f.politi@icoa.it",
      "country_name": "Italia",
      "state_name": "Roma"
    },
    "pickup_store": {
      "code": "871",
      "banner": "BS",
      "name": "BLUESPIRIT 871 ROMA TERMINI"
    },
    "is_cnc": true,
    "is_cnc_2h": true,
    "is_b2b": false
  },
  "billing": {...},
  "user": {...},
  "engagements": {...}
}Variables full details 
Here you can find a detailed description of each variable or sub-branch:
| Var | Type | Description | 
|---|---|---|
| country | object | country automatically detected by GEO Ip resolution | 
| address | object/null | Choosen shipping address (if exists/defined) | 
| pickup_store | object/null | Choosen pickup store (if exists/defined) | 
Object: "country" 
This object holds informations about the default country automatically detected by GEO Ip resolution, and it is always defined with these variables:
| Var | Type | Description | 
|---|---|---|
| id | int | Unique country id (cross-tenant) | 
| name | string | Country name (translated) | 
| iso_code | string | Unique Country ISO (2) | 
Object: "address" 
This object holds informations about a general "address" (both shipping or billing), and it is always defined with these variables:
| Var | Type | Description | 
|---|---|---|
| firstname | string/null | Address's holder firstname (if person) | 
| lastname | string/null | Address's holder lastname (if person) | 
| company | string/null | Address's holder company (if NOT person) | 
| address1 | string | Address's part (1) | 
| address2 | string | Address's part (2) | 
| postcode | string | Address's postcode/zipcode | 
| city | string | Address's city/location | 
| phone | string | Address's phone | 
| phone_mobile | string/null | Address's mobile phone | 
| fax | string/null | Address's fax number | 
| vat_number | string/null | Address's VAT number | 
| cf | string/null | Address holder fiscal code | 
| extrainfo | string/null | Address's additional info | 
| country_name | string | Address's country name (translated) | 
| state_name | string | Address's state/province name (translated) | 
Object: "pickup_store" 
This object holds informations about the pickup shop selected by the User, and it is always defined with these variables:
| Var | Type | Description | 
|---|---|---|
| code | string | Internal shop unique code (cross-tenant) | 
| banner | string/null | Internal shop banner organization (cross-tenant) | 
| name | string/null | Shop name | 
Other variables 
| Var | Type | Description | 
|---|---|---|
| is_cnc | bool | Click-n-collect enabled/disabled | 
| is_cnc_2h | bool | Click-n-collect in 2H enabled/disabled | 
| is_b2b | bool | The order has been places by a Shop session (B2B) | 
