{
	"nodes":[
		{"id":"77ad27289d044f2c","type":"text","text":"# Relevant looper API calls\n*Responsible for updating Arda's DB and generating BOs*","x":-299,"y":-305,"width":531,"height":115,"color":"4"},
		{"id":"f219c72fc5fd262f","type":"text","text":"## `/shop/orders/checklist`\n*Run all the big orders through the checklist*","x":-1,"y":40,"width":433,"height":124,"color":"3"},
		{"id":"fc74144c09fe18d1","type":"text","text":"## `/shop/orders/sync`\n*Sync unconverted shopify orders with big orders.*","x":-484,"y":40,"width":398,"height":124,"color":"3"},
		{"id":"6376824aee345ade","type":"text","text":"```js:FabricatorAdminApi.ts\nFabricatorAdminApi.syncBigOrders()\n```","x":-521,"y":251,"width":473,"height":92,"color":"5"},
		{"id":"2cb0212e67c7546c","type":"text","text":"**#fabricator-log** gets a new post every time this converts new BigOrders during run. The message contains:\n> *n Shopify Orders were converted to new BigOrders*","x":-466,"y":333,"width":465,"height":127},
		{"id":"cde4e33f88b0eec2","type":"text","text":"```js\ncanShopifyOrderBeConverted()\n```\n*Identifies whether the products in a Shopify order are \"BigOrderable\"*","x":-521,"y":510,"width":344,"height":145,"color":"6"},
		{"id":"85a8c3ea9c325f6b","x":-197,"y":536,"width":681,"height":276,"color":"1","type":"text","text":"#### \\*\\*\\*TODO\\*\\*\\*\n- Change all the [product]LineItem variables to identify based on:\n```js\nlineItem.variant.metafields.arda.product_code\n```\n- Update `FabricatorSchemas.ShopifyProductId` or introduce a new schema for validating what product codes belong to what products\n- Add new consts for `beyond2LineItem` + eventually also `beyond2EyeLineItem`"},
		{"id":"34d9b0c055b4ae9b","type":"text","text":"```js\nShopifyAdminApi.getCachedOrder()\n```\n* *Fetches order data via a Redis cache. Could ipynb it to see what values are available*","x":-521,"y":857,"width":407,"height":145,"color":"6"},
		{"id":"ea7fab146957dba5","type":"text","text":"```js\nFabricatorAdminApi.createBigOrderInternal()\n```\n* *Generates the BigOrder for each Shopify Order given its Order \"name\" i.e. `#BS123456789`*","x":-521,"y":1107,"width":451,"height":145,"color":"6"}
	],
	"edges":[
		{"id":"6ec45b5f92d58af8","fromNode":"77ad27289d044f2c","fromSide":"bottom","toNode":"f219c72fc5fd262f","toSide":"top","color":"4"},
		{"id":"ed4ebcc284e62aab","fromNode":"77ad27289d044f2c","fromSide":"bottom","toNode":"fc74144c09fe18d1","toSide":"top","color":"4"},
		{"id":"51bb2fa489c51dc1","fromNode":"fc74144c09fe18d1","fromSide":"bottom","toNode":"6376824aee345ade","toSide":"top","color":"3"},
		{"id":"caa8f0aa68a7cb64","fromNode":"6376824aee345ade","fromSide":"left","toNode":"cde4e33f88b0eec2","toSide":"left","color":"5"},
		{"id":"15b979381a3d351a","fromNode":"6376824aee345ade","fromSide":"left","toNode":"34d9b0c055b4ae9b","toSide":"left","color":"5"},
		{"id":"37b155e9b3c39317","fromNode":"6376824aee345ade","fromSide":"left","toNode":"ea7fab146957dba5","toSide":"left","color":"5"}
	]
}