{
  "product": "Asset tags",
  "url": "https://wp2print.net/shop/asset-tags/",
  "price_page": "https://wp2print.net/shop/asset-tags/prices/",
  "currency": "USD",
  "prices_include_tax": false,
  "updated": "2022-05-19",
  "product_type": "fixed",
  "detail": "full",
  "rules": {
    "formula": "total = (printing[size,color,material](qty) + residue_pattern[size,residue_pattern](qty))",
    "measures": {"qty": "number of pieces"},
    "price_basis": "each price is the total for the number in its column, not a unit price",
    "lookup": "table[keys](measure) = the row whose keys match the chosen options, at the value of the measure",
    "interpolation": "none",
    "quantities_available": [50, 100, 150, 200, 250],
    "min_quantity": 50
  },
  "options": {
    "size": ["2 in x 1 in", "3 in x 1.5 in"],
    "color": ["Reflective silver", "Matte silver", "White"],
    "material": ["2-mil Polyester", "5-mil Vinyl", "10-mil Flexible plastic"],
    "residue_pattern": ["No residue", "Void text pattern"]
  },
  "tables": {
    "printing": {
      "price_of": "printing",
      "priced_by": "qty",
      "columns": [50, 100, 150, 200, 250],
      "keys": ["size", "color", "material"],
      "rows": [
        {"size": "2 in x 1 in", "color": "Reflective silver", "material": "2-mil Polyester", "prices": [50, 100, 150, 200, 250]},
        {"size": "2 in x 1 in", "color": "Reflective silver", "material": "5-mil Vinyl", "prices": [50, 100, 140, 180, 220]},
        {"size": "2 in x 1 in", "color": "Reflective silver", "material": "10-mil Flexible plastic", "prices": [60, 120, 160, 200, 240]},
        {"size": "2 in x 1 in", "color": "Matte silver", "material": "2-mil Polyester", "prices": [50, 100, 140, 180, 220]},
        {"size": "2 in x 1 in", "color": "Matte silver", "material": "5-mil Vinyl", "prices": [60, 120, 160, 200, 240]},
        {"size": "2 in x 1 in", "color": "Matte silver", "material": "10-mil Flexible plastic", "prices": [70, 140, 200, 250, 280]},
        {"size": "2 in x 1 in", "color": "White", "material": "2-mil Polyester", "prices": [40, 80, 120, 160, 200]},
        {"size": "2 in x 1 in", "color": "White", "material": "5-mil Vinyl", "prices": [40, 80, 112, 144, 176]},
        {"size": "2 in x 1 in", "color": "White", "material": "10-mil Flexible plastic", "prices": [48, 96, 128, 160, 192]},
        {"size": "3 in x 1.5 in", "color": "Reflective silver", "material": "2-mil Polyester", "prices": [105, 210, 300, 375, 420]},
        {"size": "3 in x 1.5 in", "color": "Reflective silver", "material": "5-mil Vinyl", "prices": [75, 150, 225, 300, 375]},
        {"size": "3 in x 1.5 in", "color": "Reflective silver", "material": "10-mil Flexible plastic", "prices": [75, 150, 210, 270, 330]},
        {"size": "3 in x 1.5 in", "color": "Matte silver", "material": "2-mil Polyester", "prices": [75, 150, 225, 300, 375]},
        {"size": "3 in x 1.5 in", "color": "Matte silver", "material": "5-mil Vinyl", "prices": [75, 150, 210, 270, 330]},
        {"size": "3 in x 1.5 in", "color": "Matte silver", "material": "10-mil Flexible plastic", "prices": [90, 180, 240, 300, 360]},
        {"size": "3 in x 1.5 in", "color": "White", "material": "2-mil Polyester", "prices": [90, 180, 240, 300, 360]},
        {"size": "3 in x 1.5 in", "color": "White", "material": "5-mil Vinyl", "prices": [60, 120, 180, 240, 300]},
        {"size": "3 in x 1.5 in", "color": "White", "material": "10-mil Flexible plastic", "prices": [60, 120, 168, 216, 264]}
      ]
    },
    "residue_pattern": {
      "price_of": "Residue pattern",
      "priced_by": "qty",
      "columns": [50, 100, 150, 200, 250],
      "keys": ["size", "residue_pattern"],
      "rows": [
        {"size": "2 in x 1 in", "residue_pattern": "No residue", "prices": [0, 0, null, null, null]},
        {"size": "2 in x 1 in", "residue_pattern": "Void text pattern", "prices": [10, 20, null, null, null]},
        {"size": "3 in x 1.5 in", "residue_pattern": "No residue", "prices": [0, 0, null, null, null]},
        {"size": "3 in x 1.5 in", "residue_pattern": "Void text pattern", "prices": [15, 30, null, null, null]}
      ]
    }
  },
  "example": {
    "input": {"size": "2 in x 1 in", "color": "Reflective silver", "material": "2-mil Polyester", "residue_pattern": "Void text pattern", "qty": 100},
    "lines": [{"table": "printing", "qty": 100, "price": 100}, {"table": "residue_pattern", "qty": 100, "price": 20}],
    "subtotal": 120,
    "total": 120
  },
  "note": "Account or group pricing may differ. The price shown in the cart is authoritative.",
  "seller": {
    "name": "Acme Print Shop",
    "url": "https://wp2print.net/",
    "location": "Kittery, Maine, United States",
    "service_area": "Kittery, Eliot, York county and southern Maine"
  }
}
