$echo '{
< "products": [
< {
< "id": "reference",
< "sku": "DEMO-1",
< "link": "https://shop.example/products/demo?variant=100",
< "price": "19.90 USD",
< "availability": "in_stock",
< "variant_id": "100",
< "product_form_id": "main",
< "target_country": "US",
< "html": "<script>var Shopify = Shopify || {};\\nShopify.country = \\"US\\";</script><script type=\\"application/ld+json\\">{\\"@type\\": \\"Product\\", \\"sku\\": \\"DEMO-1\\", \\"offers\\": {\\"@type\\": \\"Offer\\", \\"sku\\": \\"DEMO-1\\", \\"price\\": \\"19.90\\", \\"priceCurrency\\": \\"USD\\", \\"availability\\": \\"https://schema.org/InStock\\", \\"url\\": \\"https://shop.example/products/demo?variant=100\\"}}</script><form id=\\"main\\"><input type=\\"hidden\\" name=\\"id\\" value=\\"100\\"></form>"
< },
< {
< "id": "wrong-price",
< "sku": "DEMO-1",
< "link": "https://shop.example/products/demo?variant=100",
< "price": "29.90 USD",
< "availability": "in_stock",
< "variant_id": "100",
< "product_form_id": "main",
< "target_country": "US",
< "html": "<script>var Shopify = Shopify || {};\\nShopify.country = \\"US\\";</script><script type=\\"application/ld+json\\">{\\"@type\\": \\"Product\\", \\"sku\\": \\"DEMO-1\\", \\"offers\\": {\\"@type\\": \\"Offer\\", \\"sku\\": \\"DEMO-1\\", \\"price\\": \\"19.90\\", \\"priceCurrency\\": \\"USD\\", \\"availability\\": \\"https://schema.org/InStock\\", \\"url\\": \\"https://shop.example/products/demo?variant=100\\"}}</script><form id=\\"main\\"><input type=\\"hidden\\" name=\\"id\\" value=\\"100\\"></form>"
< },
< {
< "id": "other-country",
< "sku": "DEMO-1",
< "link": "https://shop.example/products/demo?variant=100",
< "price": "19.90 USD",
< "availability": "in_stock",
< "variant_id": "100",
< "product_form_id": "main",
< "target_country": "CA",
< "html": "<script>var Shopify = Shopify || {};\\nShopify.country = \\"US\\";</script><script type=\\"application/ld+json\\">{\\"@type\\": \\"Product\\", \\"sku\\": \\"DEMO-1\\", \\"offers\\": {\\"@type\\": \\"Offer\\", \\"sku\\": \\"DEMO-1\\", \\"price\\": \\"19.90\\", \\"priceCurrency\\": \\"USD\\", \\"availability\\": \\"https://schema.org/InStock\\", \\"url\\": \\"https://shop.example/products/demo?variant=100\\"}}</script><form id=\\"main\\"><input type=\\"hidden\\" name=\\"id\\" value=\\"100\\"></form>"
< }
< ]
<}' |
<apify call ysond/my-actor --silent --output-dataset