{
  "product": "Return Address ink stamp",
  "url": "https://wp2print.net/shop/return-address-stamp/",
  "price_page": "https://wp2print.net/shop/return-address-stamp/prices/",
  "currency": "USD",
  "prices_include_tax": false,
  "updated": "2022-10-28",
  "product_type": "fixed",
  "detail": "full",
  "rules": {
    "formula": "total = (printing[ink_color](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": "linear",
    "above_max_column": "extrapolate_last_slope",
    "below_min_column": "proportional_to_first_column",
    "min_quantity": 1
  },
  "options": {"ink_color": ["Black", "Red", "Dark Green"]},
  "tables": {
    "printing": {
      "price_of": "printing",
      "priced_by": "qty",
      "columns": [1, 2, 5, 10],
      "keys": ["ink_color"],
      "rows": [
        {"ink_color": "Black", "prices": [6, 10, 20, 38]},
        {"ink_color": "Red", "prices": [6, 10, 20, 38]},
        {"ink_color": "Dark Green", "prices": [6, 10, 20, 38]}
      ]
    }
  },
  "example": {"input": {"ink_color": "Black", "qty": 2}, "lines": [{"table": "printing", "qty": 2, "price": 10}], "subtotal": 10, "total": 10},
  "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"
  }
}
