1. Basic
Attribuly Developers
  • Public API
    • API Authentication Guide
    • Attribution
      • All
        • Get attribution report
        • Get total numbers
      • Ads
        • Channel/Campaign/Ad-set/Ad level ads attribution
        • list all customer level details
        • Customer level report for a specific campaign
      • Product analytics
        • List product analytics
        • List total data for product analysis
        • Attribution report for a single product
        • Total attribution report for a single product
      • Web Analytics
        • Web Analytics
        • Get total numbers
    • Tracking links
      • Influencer
      • Link Builder
    • Store
      • Raw Events
      • Customer journey of an order
      • Order First & Last Touchpoint of an order
      • Event summary of a landing page
    • Setting
      • Attribution models
      • Conversion Goals
    • Connections
      • List Source
      • List Destination
  • Push data to Attribuly
    • Quick Start
    • Events
      • Page viewed
        JSON
      • Cart viewed
        JSON
      • Product viewed
        JSON
      • Collection viewed
        JSON
      • Search submitted
        JSON
      • Product added to cart
        JSON
      • Product removed to cart
        JSON
      • Lead form
        JSON
      • Checkout started
        JSON
      • Payment info submitted
        JSON
      • Checkout completed
        JSON
      • Checkout address info submitted
        JSON
      • Checkout contact info submitted
        JSON
      • Checkout shipping info submitted
        JSON
      • Basic
        • Checkout
          JSON
        • Context
          JSON
        • Document
          JSON
        • MailAddress
          JSON
        • Navigator
          JSON
        • Window
          JSON
    • Store
      • Order
      • Customers
      • Products
  • Attribuly MCP Server
    • MCP Configure
  1. Basic

Checkout

JSON
Schema
Example
 {
  "attributes": "Optional, array type, represents custom attributes of the order",
  "billingAddress": "Optional, object type, represents billing address information",
  "buyerAcceptsEmailMarketing": "Required, boolean type, indicates whether the buyer accepts email marketing",
  "buyerAcceptsSmsMarketing": "Required, boolean type, indicates whether the buyer accepts SMS marketing",
  "currencyCode": "Required, string type, represents the currency code",
  "delivery": {
    "selectedDeliveryOptions": [
      {
        "cost": {
          "amount": "Required, numeric type, represents the delivery cost amount",
          "currencyCode": "Required, string type, represents the currency code of the delivery cost"
        },
        "costAfterDiscounts": {
          "amount": "Required, numeric type, represents the delivery cost amount after discounts",
          "currencyCode": "Required, string type, represents the currency code of the delivery cost after discounts"
        },
        "description": "Optional, string type, represents the description of the delivery option",
        "handle": "Required, string type, represents the unique identifier of the delivery option",
        "title": "Required, string type, represents the title of the delivery option",
        "type": "Required, string type, represents the type of the delivery option (e.g., shipping)"
      }
    ]
  },
  "discountApplications": "Optional, array type, represents applied discount information",
  "discountsAmount": {
    "amount": "Required, numeric type, represents the total discount amount",
    "currencyCode": "Required, string type, represents the currency code of the total discount"
  },
  "email": "Required, string type, represents the buyer's email address",
  "lineItems": [
    {
      "discountAllocations": "Optional, array type, represents discount information allocated to this item",
      "finalLinePrice": {
        "amount": "Required, numeric type, represents the final price of this item",
        "currencyCode": "Required, string type, represents the currency code of the final price of this item"
      },
      "id": "Required, string type, represents the unique identifier of this item",
      "properties": "Optional, array type, represents custom properties of the item",
      "quantity": "Required, numeric type, represents the quantity of this item",
      "sellingPlanAllocation": "Optional, object type, represents selling plan allocation information",
      "title": "Required, string type, represents the name of the item",
      "variant": {
        "id": "Required, string type, represents the unique identifier of the product variant",
        "image": {
          "src": "Required, string type, represents the URL of the product variant image"
        },
        "price": {
          "amount": "Required, numeric type, represents the price of the product variant",
          "currencyCode": "Required, string type, represents the currency code of the product variant price"
        },
        "product": {
          "id": "Required, string type, represents the unique identifier of the product",
          "title": "Required, string type, represents the name of the product",
          "type": "Optional, string type, represents the type of the product",
          "untranslatedTitle": "Required, string type, represents the untranslated name of the product",
          "url": "Required, string type, represents the URL address of the product",
          "vendor": "Required, string type, represents the vendor of the product"
        },
        "sku": "Required, string type, represents the SKU number of the product variant",
        "title": "Optional, string type, represents the title of the product variant",
        "untranslatedTitle": "Optional, string type, represents the untranslated title of the product variant"
      }
    }
  ],
  "localization": {
    "country": {
      "isoCode": "Required, string type, represents the ISO code of the country"
    },
    "language": {
      "isoCode": "Required, string type, represents the ISO code of the language"
    },
    "market": {
      "handle": "Optional, string type, represents the unique handle of the market",
      "id": "Optional, string type, represents the unique identifier of the market"
    }
  },
  "order": {
    "customer": {
      "id": "Required, string type, represents the unique identifier of the customer",
      "isFirstOrder": "Required, boolean type, indicates whether it is the customer’s first order"
    },
    "id": "Required, string type, represents the unique identifier of the order"
  },
  "phone": "Optional, string type, represents the buyer's phone number",
  "shippingAddress": {
    "address1": "Required, string type, represents the first line of the shipping address",
    "address2": "Optional, string type, represents the second line of the shipping address",
    "city": "Required, string type, represents the city name",
    "country": "Required, string type, represents the country name",
    "countryCode": "Required, string type, represents the country code",
    "firstName": "Required, string type, represents the first name",
    "lastName": "Required, string type, represents the last name",
    "phone": "Optional, string type, represents the contact phone number",
    "province": "Required, string type, represents the province or state name",
    "provinceCode": "Required, string type, represents the province or state code",
    "zip": "Required, string type, represents the postal code"
  },
  "shippingLine": {
    "price": {
      "amount": "Required, numeric type, represents the shipping cost amount",
      "currencyCode": "Required, string type, represents the currency code of the shipping cost"
    }
  },
  "smsMarketingPhone": "Optional, string type, represents the phone number used for SMS marketing",
  "subtotalPrice": {
    "amount": "Required, numeric type, represents the subtotal amount",
    "currencyCode": "Required, string type, represents the currency code of the subtotal amount"
  },
  "token": "Required, string type, represents the unique token of the order",
  "totalPrice": {
    "amount": "Required, numeric type, represents the total amount of the order",
    "currencyCode": "Required, string type, represents the currency code of the total amount of the order"
  },
  "totalTax": {
    "amount": "Required, numeric type, represents the total tax amount",
    "currencyCode": "Required, string type, represents the currency code of the total tax"
  },
  "transactions": [
    {
      "amount": {
        "amount": "Required, numeric type, represents the transaction amount",
        "currencyCode": "Required, string type, represents the currency code of the transaction amount"
      },
      "gateway": "Required, string type, represents the payment gateway name",
      "paymentMethod": {
        "name": "Required, string type, represents the payment method name",
        "type": "Required, string type, represents the payment method type"
      }
    }
  ]
}
Modified at 2026-03-14 04:13:44
Previous
Checkout shipping info submitted
Next
Context
Built with