Modèle de courriel des numéros de suivi

Nous utilisons ce modèle pour le courriel fournissant aux clients un numéro de suivi une fois que leur commande est expédiée. Vous pourrez envoyer et attribuer un numéro de suivi dans votre tableau de bord, dans l'écran des détails de la commande.

Le message que vous saisissez dans ce modèle sera celui que les clients verront lorsqu'ils recevront leur numéro de suivi et leur confirmation de livraison.

Données du modèle de numéros de suivi

{
  "settings": {
    "logoUrl": "https://snipcart.com/images/snipcart_logo.svg",
    "businessAddress": {
      "company": "snipcart.com",
      "address1": "226 rue St-Joseph Est",
      "address2": null,
      "city": "Qu�bec",
      "country": "CA",
      "postalCode": "G1K3A9",
      "province": "QC",
      "phone": null
    }
  },
  "order": {
    "token": "c02f186e-0d21-4d72-b6b5-f17a158969ce",
    "email": "john.doe@example.com",
    "mode": "Live",
    "status": "Processed",
    "shipToBillingAddress": false,
    "billingAddress": {
      "fullName": "John Doe",
      "firstName": null,
      "name": "John Doe",
      "company": "Snipcart",
      "address1": "226 rue St-Joseph Est",
      "address2": null,
      "city": "Qu�bec",
      "country": "CA",
      "postalCode": "G1K 3A9",
      "province": "QC",
      "phone": null
    },
    "modificationDate": "2016-10-06T19:03:50.8099478Z",
    "shippingAddress": {
      "fullName": "John Doe",
      "firstName": null,
      "name": "John Doe",
      "company": "Snipcart",
      "address1": "226 rue St-Joseph Est",
      "address2": null,
      "city": "Qu�bec",
      "country": "CA",
      "postalCode": "G1K 3A9",
      "province": "QC",
      "phone": null
    },
    "completionDate": "2016-10-05T19:03:50.8099478Z",
    "invoiceNumber": "SNIP-1001",
    "shippingInformation": {
      "provider": null,
      "fees": 20,
      "method": "Standard shipping",
      "trackingNumber": "TR4CK1NG",
      "trackingUrl": "https://snipcart.com"
    },
    "paymentMethod": "CreditCard",
    "card": {
      "last4Digits": "4242",
      "ownerName": null,
      "type": "Visa"
    },
    "summary": {
      "subtotal": 100,
      "taxableTotal": 150,
      "total": 120,
      "payableNow": 120,
      "paymentMethod": "CreditCard",
      "taxes": [],
      "upcomingPayments": [
        {
          "name": "Monthly plan",
          "subtotal": 20,
          "taxableTotal": 0,
          "date": "2016-10-05T00:00:00Z",
          "total": 20,
          "paymentMethod": 0,
          "taxes": [],
          "adjustedTotal": null
        }
      ],
      "adjustedTotal": 100
    },
    "items": [
      {
        "uniqueId": "696c38c0-226f-4622-8bae-a8ecb2a25153",
        "token": null,
        "id": "tshirt",
        "name": "Geek T-Shirt",
        "price": 50,
        "description": null,
        "url": "/",
        "image": "https://placeholdit.imgix.net/~text?txtsize=14&txt=150%C3%97150&w=150&h=150",
        "quantity": 2,
        "minQuantity": null,
        "maxQuantity": null,
        "stackable": false,
        "shippable": false,
        "taxable": true,
        "taxes": [],
        "customFields": [
          {
            "name": "Size",
            "operation": null,
            "type": null,
            "options": null,
            "required": false,
            "value": "Medium",
            "optionsArray": null
          },
          {
            "name": "Color",
            "operation": null,
            "type": null,
            "options": null,
            "required": false,
            "value": "Red",
            "optionsArray": null
          }
        ],
        "duplicatable": false,
        "alternatePrices": null,
        "unitPrice": 50,
        "totalPrice": 100,
        "addedOn": "2016-10-05T18:03:50.8099478Z"
      },
      {
        "uniqueId": "ca69b87d-bee3-4a7c-86ce-35072660435f",
        "token": null,
        "id": "poster",
        "name": "Awesome poster",
        "price": 10,
        "description": null,
        "url": "/",
        "image": "https://placeholdit.imgix.net/~text?txtsize=14&txt=150%C3%97150&w=150&h=150",
        "quantity": 3,
        "minQuantity": null,
        "maxQuantity": null,
        "stackable": false,
        "shippable": false,
        "taxable": true,
        "taxes": [],
        "customFields": [],
        "duplicatable": false,
        "alternatePrices": null,
        "unitPrice": 10,
        "totalPrice": 30,
        "addedOn": "2016-10-05T18:03:50.8099478Z"
      }
    ],
    "discounts": [
      {
        "id": "e787fbca-a2b5-402a-9947-4bcccd5b0817",
        "amountSaved": 50,
        "name": "50$ off",
        "value": -50,
        "type": "FixedAmount",
        "trigger": "Code",
        "code": "50_OFF",
        "affectedItems": []
      }
    ],
    "customFields": [
      {
        "name": "Comment",
        "operation": null,
        "type": null,
        "options": null,
        "required": false,
        "value": "This is a comment on this order",
        "optionsArray": null
      },
      {
        "name": "Accept terms",
        "operation": null,
        "type": null,
        "options": null,
        "required": false,
        "value": "true",
        "optionsArray": null
      }
    ],
    "plans": [
      {
        "orderToken": null,
        "uniqueId": "5ee7c3bb-250f-41ed-852a-1543f1184818",
        "id": "MTLY_PLAN",
        "url": "/",
        "name": "Monthly plan",
        "subscriptionId": null,
        "interval": "Month",
        "intervalCount": 0,
        "trialPeriodInDays": null,
        "amount": 20,
        "totalAmount": 20,
        "amountWithTaxes": 20,
        "totalAmountWithTaxes": 20,
        "quantity": 1,
        "metadata": null
      }
    ],
    "refunds": [
      {
        "amount": 20,
        "comment": "Refunded after speaking with customer.",
        "notifyCustomer": false,
        "refundedByPaymentGateway": false,
        "creationDate": "2016-10-06T19:03:50.8099478Z"
      }
    ],
    "currency": null,
    "totalWeight": 0,
    "total": 120
  }
}