Skip to content

Instantly share code, notes, and snippets.

@aldrienht
Last active October 11, 2021 05:36
Show Gist options
  • Save aldrienht/f96ef02835c5210e6918bfdb8c6b84d0 to your computer and use it in GitHub Desktop.
Save aldrienht/f96ef02835c5210e6918bfdb8c6b84d0 to your computer and use it in GitHub Desktop.

Revisions

  1. aldrienht revised this gist Oct 11, 2021. No changes.
  2. aldrienht renamed this gist Oct 11, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. aldrienht renamed this gist Oct 11, 2021. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. aldrienht created this gist Oct 11, 2021.
    39 changes: 39 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,39 @@
    {
    "shop_id" => 40718008476,
    "name" => "direct_checkout",
    "checkout_item" => [
    {
    "variant_id" => 34839683891356,
    "quantity" => 1,
    "product_id" => 5340830433436,
    "final_price" => 140050,
    "handle" => "basketball-spalding-x2",
    "title" => "Basketball Spalding x2",
    "image" => "//cdn.shopify.com/s/files/1/0407/1800/8476/products/ball1.png?v=1606099950"
    }
    ],
    "timestamp" => "1633927740",
    "date" => "2021-10-11",
    "hour" => 4,
    "id" => "a898d77226d1466ca64ef966c685f0df1633927740747",
    "app" => "ba",
    "visit_token" => "e64c0132ce494af08f8e2712cb12d65e1633927712136",
    "visitor_token" => "ee0db2b8ccc945d199ad4c0664df1f671633927712138",
    "common" => {
    "shop" => {
    "permanent_domain" => "msg-app-store.myshopify.com",
    "currency" => "USD",
    "money_format" => "${{amount}}",
    "id" => 40718008476
    },
    "template" => "product",
    "cart" => {},
    "vapid_public_key" => ""
    },
    "api" => {},
    "shop" => "msg-app-store.myshopify.com",
    "path_prefix" => "/apps/ba-loy-dev",
    "signature" => "08e8ce991fc769ed817e80a3cbf90e2d9f660b0375969cc661b1b031467f00a4",
    "controller" => "msg/loy/api",
    "action" => "app_metrics"
    }