[object Object]

← back to York Reprice 2026 08

auto-save: 2026-07-12T10:47:45 (1 files) — show-grass.mjs

b3345ad8f11d963cbef8bfc9701ba5fee5cefc8c · 2026-07-12 10:47:50 -0700 · Steve Abrams

Files touched

Diff

commit b3345ad8f11d963cbef8bfc9701ba5fee5cefc8c
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sun Jul 12 10:47:50 2026 -0700

    auto-save: 2026-07-12T10:47:45 (1 files) — show-grass.mjs
---
 show-grass.mjs | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/show-grass.mjs b/show-grass.mjs
new file mode 100644
index 0000000..6871218
--- /dev/null
+++ b/show-grass.mjs
@@ -0,0 +1,10 @@
+import fs from 'node:fs';
+const SHOP='designer-laboratory-sandbox.myshopify.com',VER='2024-10';
+const TOKEN=(fs.readFileSync(process.env.HOME+'/Projects/secrets-manager/.env','utf8').match(/^SHOPIFY_ADMIN_TOKEN=(.+)$/m)||[])[1].trim();
+const gql=async(q)=>{const r=await fetch(`https://${SHOP}/admin/api/${VER}/graphql.json`,{method:'POST',headers:{'X-Shopify-Access-Token':TOKEN,'Content-Type':'application/json'},body:JSON.stringify({query:q})});return r.json();};
+for(const t of ['Yucatan Sisal','Bali Grasscloth','Henna Horizontal']){
+  const j=await gql(`query{products(first:1,query:${JSON.stringify(`vendor:'Jeffrey Stevens' status:active title:${t}`)}){nodes{title variants(first:4){nodes{sku price title}}}}}`);
+  const p=j.data.products.nodes[0]; if(!p){console.log(t,'(not found)');continue;}
+  const roll=p.variants.nodes.filter(v=>!/sample/i.test(v.sku||'')).sort((a,b)=>b.price-a.price)[0];
+  console.log(`  ${p.title.slice(0,34)} → LIVE $${roll?.price} sold as "${roll?.title}"`);
+}

← dc28b44 auto-save: 2026-07-12T09:47:28 (1 files) — bolt-check.mjs  ·  back to York Reprice 2026 08  ·  DTD-A grasscloth model: naturals-fix (revert 16 + relabel/re 40d2167 →