← back to Shopify Sample Shipping

verification/trade-grant-report.json

344 lines

{
  "at": "2026-09-09T23:23:50.689Z",
  "store": "designer-laboratory-sandbox.myshopify.com",
  "findings": {
    "codeDiscounts": [
      {
        "title": "FREE SAMPLE",
        "type": "DiscountCodeBasic",
        "status": "ACTIVE",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "FREESHIPPING2021",
        "type": "DiscountCodeFreeShipping",
        "status": "EXPIRED",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": false
      },
      {
        "title": "FREE TAPE MEASURE",
        "type": "DiscountCodeBxgy",
        "status": "EXPIRED",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "FreeShipping112020",
        "type": "DiscountCodeFreeShipping",
        "status": "EXPIRED",
        "selection": "DiscountCustomers",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": false
      },
      {
        "title": "RedWallcovering",
        "type": "DiscountCodeBasic",
        "status": "ACTIVE",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "SWEET",
        "type": "DiscountCodeBasic",
        "status": "ACTIVE",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "WELCOME BACK",
        "type": "DiscountCodeBasic",
        "status": "ACTIVE",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "PRINCE",
        "type": "DiscountCodeBasic",
        "status": "ACTIVE",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "3FREE",
        "type": "DiscountCodeBasic",
        "status": "ACTIVE",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "bananaleafwallpapercom",
        "type": "DiscountCodeFreeShipping",
        "status": "ACTIVE",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": false
      },
      {
        "title": "International",
        "type": "DiscountCodeBasic",
        "status": "ACTIVE",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "BH15",
        "type": "DiscountCodeBasic",
        "status": "ACTIVE",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "CYBER",
        "type": "DiscountCodeBasic",
        "status": "ACTIVE",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "5FREE",
        "type": "DiscountCodeBasic",
        "status": "EXPIRED",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "thanksgiving2020",
        "type": "DiscountCodeFreeShipping",
        "status": "EXPIRED",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": false
      },
      {
        "title": "CyberMonday",
        "type": "DiscountCodeBasic",
        "status": "EXPIRED",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "Clubhouse",
        "type": "DiscountCodeBasic",
        "status": "ACTIVE",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      },
      {
        "title": "TRADECODE",
        "type": "DiscountCodeBasic",
        "status": "EXPIRED",
        "selection": "DiscountCustomerSegments",
        "segments": [
          "trade"
        ],
        "tradeSegments": [
          "trade"
        ],
        "grantsPricing": true
      },
      {
        "title": "SAMPLECODE",
        "type": "DiscountCodeBasic",
        "status": "EXPIRED",
        "selection": "DiscountCustomerSegments",
        "segments": [
          "trade"
        ],
        "tradeSegments": [
          "trade"
        ],
        "grantsPricing": true
      },
      {
        "title": "Trade Professional - 15% Off",
        "type": "DiscountCodeBasic",
        "status": "ACTIVE",
        "selection": "DiscountCustomerAll",
        "segments": [],
        "tradeSegments": [],
        "grantsPricing": true
      }
    ],
    "automaticDiscounts": [
      {
        "title": "15 test discount",
        "type": "DiscountAutomaticBasic",
        "status": "EXPIRED"
      }
    ],
    "tradeSegments": [
      {
        "name": "trade",
        "query": "customer_tags CONTAINS 'trade'"
      }
    ],
    "priceRules": {
      "count": 20,
      "tagGatedCandidates": [
        {
          "title": "SAMPLECODE",
          "value_type": "percentage",
          "value": "-100.0",
          "target_type": "line_item",
          "prerequisite_customer_ids": 0,
          "customer_selection": "prerequisite",
          "saved_search": []
        },
        {
          "title": "TRADECODE",
          "value_type": "percentage",
          "value": "-15.0",
          "target_type": "line_item",
          "prerequisite_customer_ids": 0,
          "customer_selection": "prerequisite",
          "saved_search": []
        },
        {
          "title": "FreeShipping112020",
          "value_type": "percentage",
          "value": "-100.0",
          "target_type": "shipping_line",
          "prerequisite_customer_ids": 2,
          "customer_selection": "prerequisite",
          "saved_search": []
        }
      ]
    },
    "catalogs": [
      {
        "id": "gid://shopify/CompanyLocationCatalog/14161444915",
        "title": "Carmel Home Collectioon",
        "status": "ARCHIVED",
        "companyLocationsCount": {
          "count": 0
        }
      },
      {
        "id": "gid://shopify/CompanyLocationCatalog/14444494899",
        "title": "Et Cie Catalog",
        "status": "ARCHIVED",
        "companyLocationsCount": {
          "count": 0
        }
      },
      {
        "id": "gid://shopify/CompanyLocationCatalog/18457198643",
        "title": "Custom",
        "status": "ARCHIVED",
        "companyLocationsCount": {
          "count": 0
        }
      }
    ],
    "themeMain": "carnegie-color-swatch",
    "themeTradeTagRefs": [
      {
        "key": "layout/theme.liquid",
        "snippet": "nit);};})(); </script> {% endif %} {%- if template.name == 'page' and page.handle == 'trade-only-benefits' -%} <script> (function(){"
      },
      {
        "key": "sections/contact-for-price.liquid",
        "snippet": " the roll/unit price, which is not shown online (no fabricated price; in-house & to-the-trade lines). Generalized from koroseal-quote-button.liqu"
      },
      {
        "key": "snippets/dw-samples-banner.liquid",
        "snippet": "{%- comment -%} DW-SAMPLES-BANNER v1 — lifetime retail allowance + approved-trade entitlement. {%- endcomment -%} <!-- DW-SAMPLES-BANNER"
      },
      {
        "key": "snippets/dw-signin-modal.liquid",
        "snippet": "routes.account_url }}\">View account &amp; orders</a> {%- if customer.tags contains 'trade_approved' -%} <div class=\"dwsm-section\"><h3>Yo"
      },
      {
        "key": "snippets/dw-trade-apply.liquid",
        "snippet": "{%- comment -%} DW-TRADE-APPLY v1 — benefits-first trade application and existi"
      }
    ]
  },
  "tradeGrants": [
    {
      "where": "code-discount",
      "title": "TRADECODE",
      "type": "DiscountCodeBasic",
      "grantsPricing": true,
      "via": [
        "trade"
      ]
    },
    {
      "where": "code-discount",
      "title": "SAMPLECODE",
      "type": "DiscountCodeBasic",
      "grantsPricing": true,
      "via": [
        "trade"
      ]
    }
  ],
  "verdict": {
    "tradeGrantsBeyondSampleShipping": true,
    "pricingGrantsViaTrade": [
      {
        "where": "code-discount",
        "title": "TRADECODE",
        "type": "DiscountCodeBasic",
        "grantsPricing": true,
        "via": [
          "trade"
        ]
      },
      {
        "where": "code-discount",
        "title": "SAMPLECODE",
        "type": "DiscountCodeBasic",
        "grantsPricing": true,
        "via": [
          "trade"
        ]
      }
    ],
    "themeBranchesOnTrade": [
      "layout/theme.liquid",
      "sections/contact-for-price.liquid",
      "snippets/dw-samples-banner.liquid",
      "snippets/dw-signin-modal.liquid",
      "snippets/dw-trade-apply.liquid"
    ],
    "recommendedVehicle": "sample-freeship",
    "rationale": "trade is wired to pricing/content beyond sample-shipping — mass-tagging 2,663 grandfathered customers `trade` would leak those perks. MUST use a dedicated `sample-freeship` tag; the DW Trade/Designers segment ORs the real trade tags AND `sample-freeship`.",
    "vehicleForSegment": "segment query ORs all real trade tags (memo §4) PLUS customer_tags CONTAINS 'sample-freeship'"
  }
}