← back to Rebel Walls Push
data/TK-10405-restore-map.json
320 lines
{
"ticket": "TK-10405",
"ts": "2026-09-04T17:59:09.927Z",
"store": "designer-laboratory-sandbox.myshopify.com",
"note": "Restore = productVariantsBulkCreate each entry back onto its product. Shopify assigns a NEW variant id on recreate; SKU/price/options are restored.",
"variants": [
{
"pid": "6679729078323",
"product_gid": "gid://shopify/Product/6679729078323",
"label": "A City Rises (Class 2 $80.48 anomaly)",
"delete_variant_gid": "gid://shopify/ProductVariant/44453186830387",
"sku": "DWRW-76016-Sample",
"price": "80.48",
"options": [
{
"name": "Size",
"value": "Default Title"
}
]
},
{
"pid": "6679739629619",
"product_gid": "gid://shopify/Product/6679739629619",
"label": "A Priori",
"delete_variant_gid": "gid://shopify/ProductVariant/44453188206643",
"sku": "DWRW-76264-Sample",
"price": "4.25",
"options": [
{
"name": "Size",
"value": "Default Title"
}
]
},
{
"pid": "7851164303411",
"product_gid": "gid://shopify/Product/7851164303411",
"label": "3D Art - Multi",
"delete_variant_gid": "gid://shopify/ProductVariant/44453185060915",
"sku": "DWRW-452034-Sample",
"price": "4.25",
"options": [
{
"name": "Title",
"value": "Default Title"
}
]
},
{
"pid": "7851164336179",
"product_gid": "gid://shopify/Product/7851164336179",
"label": "3D Boxes - Gray",
"delete_variant_gid": "gid://shopify/ProductVariant/44453185093683",
"sku": "DWRW-451853-Sample",
"price": "4.25",
"options": [
{
"name": "Title",
"value": "Default Title"
}
]
},
{
"pid": "7851164368947",
"product_gid": "gid://shopify/Product/7851164368947",
"label": "3D Wave - Gray",
"delete_variant_gid": "gid://shopify/ProductVariant/44453185126451",
"sku": "DWRW-451205-Sample",
"price": "4.25",
"options": [
{
"name": "Title",
"value": "Default Title"
}
]
},
{
"pid": "7851164401715",
"product_gid": "gid://shopify/Product/7851164401715",
"label": "3D Wave - Marble",
"delete_variant_gid": "gid://shopify/ProductVariant/44453185159219",
"sku": "DWRW-451203-Sample",
"price": "4.25",
"options": [
{
"name": "Title",
"value": "Default Title"
}
]
},
{
"pid": "7851164434483",
"product_gid": "gid://shopify/Product/7851164434483",
"label": "3D Wave - Sand",
"delete_variant_gid": "gid://shopify/ProductVariant/44453185191987",
"sku": "DWRW-451204-Sample",
"price": "4.25",
"options": [
{
"name": "Title",
"value": "Default Title"
}
]
},
{
"pid": "7851164500019",
"product_gid": "gid://shopify/Product/7851164500019",
"label": "3D Wave - White",
"delete_variant_gid": "gid://shopify/ProductVariant/44453185224755",
"sku": "DWRW-451206-Sample",
"price": "4.25",
"options": [
{
"name": "Title",
"value": "Default Title"
}
]
},
{
"pid": "7851164532787",
"product_gid": "gid://shopify/Product/7851164532787",
"label": "70S Retro - Beige",
"delete_variant_gid": "gid://shopify/ProductVariant/44453186633779",
"sku": "DWRW-452709-Sample",
"price": "4.25",
"options": [
{
"name": "Title",
"value": "Default Title"
}
]
},
{
"pid": "7851164565555",
"product_gid": "gid://shopify/Product/7851164565555",
"label": "A City Rises - Dark Blue",
"delete_variant_gid": "gid://shopify/ProductVariant/44453186764851",
"sku": "DWRW-450400-Sample",
"price": "4.25",
"options": [
{
"name": "Title",
"value": "Default Title"
}
]
},
{
"pid": "7851164598323",
"product_gid": "gid://shopify/Product/7851164598323",
"label": "A Priori - Taupe",
"delete_variant_gid": "gid://shopify/ProductVariant/44453188075571",
"sku": "DWRW-360008-Sample",
"price": "4.25",
"options": [
{
"name": "Title",
"value": "Default Title"
}
]
},
{
"pid": "7851164631091",
"product_gid": "gid://shopify/Product/7851164631091",
"label": "A Priori - Soft",
"delete_variant_gid": "gid://shopify/ProductVariant/44453188042803",
"sku": "DWRW-452814-Sample",
"price": "4.25",
"options": [
{
"name": "Title",
"value": "Default Title"
}
]
}
],
"a_prime_mitigation": {
"ts": "2026-09-04T21:36:35.579Z",
"approved_by": "Steve in-session TK-10405/TK-11248",
"action": "A' = append -DUP to orphan SKU + set inventory available to 0; no variant id/position/other-variant change",
"undo": "restore sku_before via productVariantsBulkUpdate(inventoryItem.sku) + set available back to qty_before via inventorySetQuantities",
"prestate": {
"44453186830387": {
"variant_gid": "gid://shopify/ProductVariant/44453186830387",
"product_gid": "gid://shopify/Product/6679729078323",
"label": "A City Rises",
"sku_before": "DWRW-76016-Sample",
"sku_after": "DWRW-76016-Sample-DUP",
"price": "80.48",
"position": 1,
"inventory_item_gid": "gid://shopify/InventoryItem/46565669142579",
"location_gid": "gid://shopify/Location/5795643504",
"qty_before": 2026,
"qty_after": 0,
"inventory_policy": "DENY",
"tracked": true
},
"44453188206643": {
"variant_gid": "gid://shopify/ProductVariant/44453188206643",
"product_gid": "gid://shopify/Product/6679739629619",
"label": "A Priori",
"sku_before": "DWRW-76264-Sample",
"sku_after": "DWRW-76264-Sample-DUP",
"price": "4.25",
"position": 1,
"inventory_item_gid": "gid://shopify/InventoryItem/46565670518835",
"location_gid": "gid://shopify/Location/5795643504",
"qty_before": 2026,
"qty_after": 0,
"inventory_policy": "DENY",
"tracked": true
}
}
},
"full_fix_reorder_delete": {
"ts": "2026-09-05T06:57:58.317Z",
"approved_by": "Steve in-session TK-10405",
"action": "FULL FIX: reorder Mural(per m²)->1, Sample->2, orphan->3, then DELETE orphan",
"undo": "node scripts/TK-10405-fullfix-undo.mjs — recreates orphan (NEW id) via productVariantsBulkCreate from prestate + restores original positions",
"products": {
"6679729078323": {
"product_gid": "gid://shopify/Product/6679729078323",
"handle": "dwrw-76016",
"label": "A City Rises",
"options": [
{
"name": "Size",
"position": 1,
"values": [
"Default Title",
"Mural (per m²)",
"Sample"
]
}
],
"original_positions": [
{
"id": "gid://shopify/ProductVariant/44453186830387",
"title": "Default Title",
"position": 1
},
{
"id": "gid://shopify/ProductVariant/44486915063859",
"title": "Mural (per m²)",
"position": 2
},
{
"id": "gid://shopify/ProductVariant/40347630403635",
"title": "Sample",
"position": 3
}
],
"orphan_recreate": {
"id": "gid://shopify/ProductVariant/44453186830387",
"title": "Default Title",
"price": "80.48",
"sku": "DWRW-76016-Sample-DUP",
"taxable": true,
"inventoryPolicy": "DENY",
"inventoryQuantity": 0,
"selectedOptions": [
{
"name": "Size",
"value": "Default Title"
}
],
"tracked": true
}
},
"6679739629619": {
"product_gid": "gid://shopify/Product/6679739629619",
"handle": "dwrw-76264",
"label": "A Priori",
"options": [
{
"name": "Size",
"position": 1,
"values": [
"Default Title",
"Mural (per m²)",
"Sample"
]
}
],
"original_positions": [
{
"id": "gid://shopify/ProductVariant/44453188206643",
"title": "Default Title",
"position": 1
},
{
"id": "gid://shopify/ProductVariant/44490271719475",
"title": "Mural (per m²)",
"position": 2
},
{
"id": "gid://shopify/ProductVariant/40347693940787",
"title": "Sample",
"position": 3
}
],
"orphan_recreate": {
"id": "gid://shopify/ProductVariant/44453188206643",
"title": "Default Title",
"price": "4.25",
"sku": "DWRW-76264-Sample-DUP",
"taxable": true,
"inventoryPolicy": "DENY",
"inventoryQuantity": 0,
"selectedOptions": [
{
"name": "Size",
"value": "Default Title"
}
],
"tracked": true
}
}
}
}
}