🎉 Source Shopify: Extend stream schemas with additional fields (#39594)
This commit is contained in:
@@ -13,23 +13,23 @@
|
||||
{"stream": "customer_journey_summary", "data": {"order_id": 3935377129661, "created_at": "2021-07-02T07:51:50+00:00", "updated_at": "2023-04-24T17:59:00+00:00", "customer_journey_summary": {"ready": true, "moments_count": {"count": 0, "precision": "EXACT"}, "customer_order_index": 0, "days_to_conversion": null, "first_visit": {}, "last_visit": {}}, "admin_graphql_api_id": "gid://shopify/Order/3935377129661", "shop_url": "airbyte-integration-test"}, "emitted_at": 1718621847635}
|
||||
{"stream": "customers", "data": {"id": 6569096478909, "email": "test@test.com", "created_at": "2023-04-13T02:30:04-07:00", "updated_at": "2023-04-24T06:53:48-07:00", "first_name": "New Test", "last_name": "Customer", "orders_count": 0, "state": "disabled", "total_spent": 0.0, "last_order_id": null, "note": "updated_mon_24.04.2023", "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "tags": "", "last_order_name": null, "currency": "USD", "phone": "+380639379992", "addresses": [{"id": 8092523135165, "customer_id": 6569096478909, "first_name": "New Test", "last_name": "Customer", "company": "Test Company", "address1": "My Best Accent", "address2": "", "city": "Fair Lawn", "province": "New Jersey", "country": "United States", "zip": "07410", "phone": "", "name": "New Test Customer", "province_code": "NJ", "country_code": "US", "country_name": "United States", "default": true}], "accepts_marketing": true, "accepts_marketing_updated_at": "2023-04-13T02:30:04-07:00", "marketing_opt_in_level": "single_opt_in", "tax_exemptions": "[]", "email_marketing_consent": {"state": "subscribed", "opt_in_level": "single_opt_in", "consent_updated_at": "2023-04-13T02:30:04-07:00"}, "sms_marketing_consent": {"state": "not_subscribed", "opt_in_level": "single_opt_in", "consent_updated_at": null, "consent_collected_from": "SHOPIFY"}, "admin_graphql_api_id": "gid://shopify/Customer/6569096478909", "default_address": {"id": 8092523135165, "customer_id": 6569096478909, "first_name": "New Test", "last_name": "Customer", "company": "Test Company", "address1": "My Best Accent", "address2": "", "city": "Fair Lawn", "province": "New Jersey", "country": "United States", "zip": "07410", "phone": "", "name": "New Test Customer", "province_code": "NJ", "country_code": "US", "country_name": "United States", "default": true}, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953775493}
|
||||
{"stream": "customers", "data": {"id": 6676027932861, "email": "marcos@airbyte.io", "created_at": "2023-07-11T13:07:45-07:00", "updated_at": "2023-07-11T13:07:45-07:00", "first_name": "MArcos", "last_name": "Millnitz", "orders_count": 0, "state": "disabled", "total_spent": 0.0, "last_order_id": null, "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "tags": "", "last_order_name": null, "currency": "USD", "phone": null, "addresses": [{"id": 8212915650749, "customer_id": 6676027932861, "first_name": "MArcos", "last_name": "Millnitz", "company": null, "address1": null, "address2": null, "city": null, "province": null, "country": null, "zip": null, "phone": null, "name": "MArcos Millnitz", "province_code": null, "country_code": null, "country_name": null, "default": true}], "accepts_marketing": false, "accepts_marketing_updated_at": null, "marketing_opt_in_level": "single_opt_in", "tax_exemptions": "[]", "email_marketing_consent": {"state": "not_subscribed", "opt_in_level": "single_opt_in", "consent_updated_at": null}, "sms_marketing_consent": null, "admin_graphql_api_id": "gid://shopify/Customer/6676027932861", "default_address": {"id": 8212915650749, "customer_id": 6676027932861, "first_name": "MArcos", "last_name": "Millnitz", "company": null, "address1": null, "address2": null, "city": null, "province": null, "country": null, "zip": null, "phone": null, "name": "MArcos Millnitz", "province_code": null, "country_code": null, "country_name": null, "default": true}, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953775495}
|
||||
{"stream": "discount_codes", "data": {"usage_count": 0, "code": "updated_mon_24.04.2023", "id": 11539415990461, "admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/11539415990461", "price_rule_id": 945000284349, "updated_at": "2023-04-24T12:52:22+00:00", "created_at": "2021-07-07T14:23:11+00:00", "summary": "3% off entire order \u2022 One use per customer", "discount_type": "ORDER", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953782734}
|
||||
{"stream": "discount_codes", "data": {"usage_count": 0, "code": "HZAVNV2487WC", "id": 11545139282109, "admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/11545139282109", "price_rule_id": 945205379261, "updated_at": "2023-12-07T11:40:44+00:00", "created_at": "2021-07-08T12:40:37+00:00", "summary": "Free shipping on all products \u2022 Minimum purchase of $1.00 \u2022 For all countries", "discount_type": "SHIPPING", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953782734}
|
||||
{"stream": "discount_codes", "data": {"usage_count": 0, "code": "SUMMERSALE10OFF", "id": 13175793582269, "admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/13175793582269", "price_rule_id": 945205379261, "updated_at": "2023-12-07T11:40:44+00:00", "created_at": "2021-07-08T12:40:37+00:00", "summary": "Free shipping on all products \u2022 Minimum purchase of $1.00 \u2022 For all countries", "discount_type": "SHIPPING", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953782734}
|
||||
{"stream": "discount_codes", "data": {"usage_count": 0, "code": "HZAVNV2487WC", "id": 11545139282109, "created_by": null, "admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/11545139282109", "price_rule_id": 945205379261, "typename": "DiscountCodeFreeShipping", "updated_at": "2023-12-07T11:40:44+00:00", "created_at": "2021-07-08T12:40:37+00:00", "discount_type": "SHIPPING", "starts_at": "2021-07-08T12:40:13Z", "ends_at": "2024-01-02T07:59:59Z", "status": "EXPIRED", "title": "HZAVNV2487WC", "usage_limit": null, "applies_once_per_customer": false, "async_usage_count": 0, "codes_count": {"count": 2}, "total_sales": null, "summary": "Free shipping on all products \u2022 Minimum purchase of $1.00 \u2022 For all countries", "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831324166}
|
||||
{"stream": "discount_codes", "data": {"usage_count": 0, "code": "SUMMERSALE10OFF", "id": 13175793582269, "created_by": null, "admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/13175793582269", "price_rule_id": 945205379261, "typename": "DiscountCodeFreeShipping", "updated_at": "2023-12-07T11:40:44+00:00", "created_at": "2021-07-08T12:40:37+00:00", "discount_type": "SHIPPING", "starts_at": "2021-07-08T12:40:13Z", "ends_at": "2024-01-02T07:59:59Z", "status": "EXPIRED", "title": "HZAVNV2487WC", "usage_limit": null, "applies_once_per_customer": false, "async_usage_count": 0, "codes_count": {"count": 2}, "total_sales": null, "summary": "Free shipping on all products \u2022 Minimum purchase of $1.00 \u2022 For all countries", "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831324167}
|
||||
{"stream": "discount_codes", "data": {"usage_count": 0, "code": "New", "id": 11783638155453, "created_by": null, "admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/11783638155453", "price_rule_id": 964666163389, "typename": "DiscountCodeBasic", "updated_at": "2023-12-08T11:37:32+00:00", "created_at": "2021-09-10T13:48:10+00:00", "discount_type": "ORDER", "starts_at": "2021-09-10T13:47:56Z", "ends_at": "2023-12-09T07:59:59Z", "status": "EXPIRED", "title": "New", "usage_limit": null, "applies_once_per_customer": false, "async_usage_count": 0, "codes_count": {"count": 1}, "total_sales": null, "summary": "$15.00 off entire order", "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831324167}
|
||||
{"stream": "draft_orders", "data": {"id": 874683629757, "note": null, "email": null, "taxes_included": true, "currency": "USD", "invoice_sent_at": null, "created_at": "2021-07-02T00:50:29-07:00", "updated_at": "2023-04-14T05:16:33-07:00", "tax_exempt": false, "completed_at": "2021-07-02T00:51:50-07:00", "name": "#D2", "status": "completed", "line_items": [{"id": 57443281666237, "variant_id": 40090604011709, "product_id": 6796229509309, "title": "8 Ounce Soy Candle", "variant_title": "Wooden", "sku": "", "vendor": "Bosco Inc", "quantity": 1, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 63, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 17.0}], "applied_discount": null, "name": "8 Ounce Soy Candle - Wooden", "properties": [], "custom": false, "price": 102.0, "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/57443281666237"}], "shipping_address": null, "billing_address": null, "invoice_url": "https://airbyte-integration-test.myshopify.com/58033176765/invoices/e155e3254d0c0d64fa90587de417e0f3", "applied_discount": null, "order_id": 3935377129661, "shipping_line": null, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 17.0}], "tags": "", "note_attributes": [], "total_price": "102.00", "subtotal_price": "102.00", "total_tax": "17.00", "payment_terms": null, "admin_graphql_api_id": "gid://shopify/DraftOrder/874683629757", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953784884}
|
||||
{"stream": "draft_orders", "data": {"id": 929019691197, "note": "updated_mon_24.04.2023", "email": null, "taxes_included": true, "currency": "USD", "invoice_sent_at": null, "created_at": "2022-02-22T03:23:19-08:00", "updated_at": "2023-04-24T07:18:06-07:00", "tax_exempt": false, "completed_at": null, "name": "#D21", "status": "open", "line_items": [{"id": 58117295538365, "variant_id": 40090585923773, "product_id": 6796220989629, "title": "4 Ounce Soy Candle", "variant_title": "Metal", "sku": "", "vendor": "Hartmann Group", "quantity": 2, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 112, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 6.33}], "applied_discount": null, "name": "4 Ounce Soy Candle - Metal", "properties": [], "custom": false, "price": 19.0, "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/58117295538365"}, {"id": 58117295571133, "variant_id": null, "product_id": null, "title": "Test Item", "variant_title": null, "sku": null, "vendor": null, "quantity": 1, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 1000, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 0.17}], "applied_discount": null, "name": "Test Item", "properties": [], "custom": true, "price": 1.0, "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/58117295571133"}], "shipping_address": null, "billing_address": null, "invoice_url": "https://airbyte-integration-test.myshopify.com/58033176765/invoices/12893992cc01fc67935ab014fcf9300f", "applied_discount": null, "order_id": null, "shipping_line": {"title": "Test Shipping Fee", "custom": true, "handle": null, "price": 3.0}, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 6.33}, {"rate": 0.2, "title": "PDV", "price": 0.17}], "tags": "", "note_attributes": [], "total_price": "42.00", "subtotal_price": "39.00", "total_tax": "6.50", "payment_terms": null, "admin_graphql_api_id": "gid://shopify/DraftOrder/929019691197", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953784892}
|
||||
{"stream": "draft_orders", "data": {"id": 987391033533, "note": null, "email": null, "taxes_included": true, "currency": "USD", "invoice_sent_at": null, "created_at": "2023-04-13T04:56:17-07:00", "updated_at": "2023-04-13T04:56:17-07:00", "tax_exempt": false, "completed_at": null, "name": "#D25", "status": "open", "line_items": [{"id": 58116862083261, "variant_id": 40090585923773, "product_id": 6796220989629, "title": "4 Ounce Soy Candle", "variant_title": "Metal", "sku": "", "vendor": "Hartmann Group", "quantity": 1, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 112, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 3.16}], "applied_discount": null, "name": "4 Ounce Soy Candle - Metal", "properties": [], "custom": false, "price": 19.0, "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/58116862083261"}, {"id": 58116862116029, "variant_id": 41561955827901, "product_id": 6796220989629, "title": "4 Ounce Soy Candle", "variant_title": "Test Variant 1", "sku": "", "vendor": "Hartmann Group", "quantity": 1, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 112, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 3.17}], "applied_discount": null, "name": "4 Ounce Soy Candle - Test Variant 1", "properties": [], "custom": false, "price": 19.0, "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/58116862116029"}, {"id": 58116862148797, "variant_id": 41561961824445, "product_id": 6796220989629, "title": "4 Ounce Soy Candle", "variant_title": "Test Variant 2", "sku": "", "vendor": "Hartmann Group", "quantity": 1, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 112, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 3.17}], "applied_discount": null, "name": "4 Ounce Soy Candle - Test Variant 2", "properties": [], "custom": false, "price": 19.0, "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/58116862148797"}], "shipping_address": null, "billing_address": null, "invoice_url": "https://airbyte-integration-test.myshopify.com/58033176765/invoices/d193a965f7815817a2d37fddb30bfdb2", "applied_discount": null, "order_id": null, "shipping_line": null, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 3.16}, {"rate": 0.2, "title": "PDV", "price": 3.17}, {"rate": 0.2, "title": "PDV", "price": 3.17}], "tags": "", "note_attributes": [], "total_price": "57.00", "subtotal_price": "57.00", "total_tax": "9.50", "payment_terms": null, "admin_graphql_api_id": "gid://shopify/DraftOrder/987391033533", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953784893}
|
||||
{"stream": "fulfillment_orders", "data": {"id": 5962451452093, "assigned_location": {"address1": "Heroiv UPA 72", "address2": null, "city": "Lviv", "country_code": "UA", "name": "Heroiv UPA 72", "phone": "", "province": null, "zip": "30100", "location_id": 63590301885}, "destination": null, "delivery_method": {"id": 431686549693, "method_type": "SHIPPING", "min_delivery_date_time": null, "max_delivery_date_time": null}, "fulfill_at": "2023-04-13T12:00:00+00:00", "fulfill_by": null, "international_duties": null, "fulfillment_holds": [], "created_at": "2023-04-13T12:09:45+00:00", "updated_at": "2023-04-13T12:09:46+00:00", "request_status": "UNSUBMITTED", "status": "CLOSED", "supported_actions": [], "admin_graphql_api_id": "gid://shopify/FulfillmentOrder/5962451452093", "shop_id": 58033176765, "order_id": 5010584895677, "assigned_location_id": 63590301885, "line_items": [{"id": 12363725996221, "inventory_item_id": 42185218719933, "shop_id": 58033176765, "fulfillment_order_id": 5962451452093, "quantity": 1, "line_item_id": 12204214845629, "fulfillable_quantity": 0, "variant_id": 40090604011709}], "merchant_requests": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953792126}
|
||||
{"stream": "fulfillment_orders", "data": {"id": 5962452467901, "assigned_location": {"address1": "Heroiv UPA 72", "address2": null, "city": "Lviv", "country_code": "UA", "name": "Heroiv UPA 72", "phone": "", "province": null, "zip": "30100", "location_id": 63590301885}, "destination": null, "delivery_method": {"id": 431687532733, "method_type": "SHIPPING", "min_delivery_date_time": null, "max_delivery_date_time": null}, "fulfill_at": "2023-04-13T12:00:00+00:00", "fulfill_by": null, "international_duties": null, "fulfillment_holds": [], "created_at": "2023-04-13T12:11:16+00:00", "updated_at": "2023-04-13T12:11:16+00:00", "request_status": "UNSUBMITTED", "status": "CLOSED", "supported_actions": [], "admin_graphql_api_id": "gid://shopify/FulfillmentOrder/5962452467901", "shop_id": 58033176765, "order_id": 5010585911485, "assigned_location_id": 63590301885, "line_items": [{"id": 12363727536317, "inventory_item_id": 43653688524989, "shop_id": 58033176765, "fulfillment_order_id": 5962452467901, "quantity": 1, "line_item_id": 12204216385725, "fulfillable_quantity": 0, "variant_id": 41561961824445}], "merchant_requests": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953792129}
|
||||
{"stream": "fulfillment_orders", "data": {"id": 5985636450493, "assigned_location": {"address1": "Heroiv UPA 72", "address2": null, "city": "Lviv", "country_code": "UA", "name": "Heroiv UPA 72", "phone": "", "province": null, "zip": "30100", "location_id": 63590301885}, "destination": null, "delivery_method": {"id": 442031046845, "method_type": "SHIPPING", "min_delivery_date_time": null, "max_delivery_date_time": null}, "fulfill_at": "2023-04-24T18:00:00+00:00", "fulfill_by": null, "international_duties": null, "fulfillment_holds": [], "created_at": "2023-04-24T18:00:09+00:00", "updated_at": "2023-04-24T18:00:09+00:00", "request_status": "UNSUBMITTED", "status": "CLOSED", "supported_actions": [], "admin_graphql_api_id": "gid://shopify/FulfillmentOrder/5985636450493", "shop_id": 58033176765, "order_id": 5033391718589, "assigned_location_id": 63590301885, "line_items": [{"id": 12407122067645, "inventory_item_id": 43653688524989, "shop_id": 58033176765, "fulfillment_order_id": 5985636450493, "quantity": 1, "line_item_id": 12247585521853, "fulfillable_quantity": 0, "variant_id": 41561961824445}], "merchant_requests": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953792131}
|
||||
{"stream": "fulfillment_orders", "data": {"id": 5962451452093, "fulfill_at": "2023-04-13T12:00:00+00:00", "fulfill_by": null, "created_at": "2023-04-13T12:09:45+00:00", "updated_at": "2023-04-13T12:09:46+00:00", "request_status": "UNSUBMITTED", "status": "CLOSED", "channel_id": null, "assigned_location": {"address1": "Heroiv UPA 72", "address2": null, "city": "Lviv", "country_code": "UA", "name": "Heroiv UPA 72", "phone": "", "province": null, "zip": "30100", "location_id": 63590301885}, "destination": null, "delivery_method": {"id": 431686549693, "method_type": "SHIPPING", "min_delivery_date_time": null, "max_delivery_date_time": null}, "international_duties": null, "fulfillment_holds": [], "supported_actions": [], "admin_graphql_api_id": "gid://shopify/FulfillmentOrder/5962451452093", "shop_id": 58033176765, "order_id": 5010584895677, "assigned_location_id": 63590301885, "line_items": [{"id": 12363725996221, "inventory_item_id": 42185218719933, "shop_id": 58033176765, "fulfillment_order_id": 5962451452093, "quantity": 1, "line_item_id": 12204214845629, "fulfillable_quantity": 0, "variant_id": 40090604011709}], "merchant_requests": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831374978}
|
||||
{"stream": "fulfillment_orders", "data": {"id": 5962452467901, "fulfill_at": "2023-04-13T12:00:00+00:00", "fulfill_by": null, "created_at": "2023-04-13T12:11:16+00:00", "updated_at": "2023-04-13T12:11:16+00:00", "request_status": "UNSUBMITTED", "status": "CLOSED", "channel_id": null, "assigned_location": {"address1": "Heroiv UPA 72", "address2": null, "city": "Lviv", "country_code": "UA", "name": "Heroiv UPA 72", "phone": "", "province": null, "zip": "30100", "location_id": 63590301885}, "destination": null, "delivery_method": {"id": 431687532733, "method_type": "SHIPPING", "min_delivery_date_time": null, "max_delivery_date_time": null}, "international_duties": null, "fulfillment_holds": [], "supported_actions": [], "admin_graphql_api_id": "gid://shopify/FulfillmentOrder/5962452467901", "shop_id": 58033176765, "order_id": 5010585911485, "assigned_location_id": 63590301885, "line_items": [{"id": 12363727536317, "inventory_item_id": 43653688524989, "shop_id": 58033176765, "fulfillment_order_id": 5962452467901, "quantity": 1, "line_item_id": 12204216385725, "fulfillable_quantity": 0, "variant_id": 41561961824445}], "merchant_requests": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831374979}
|
||||
{"stream": "fulfillment_orders", "data": {"id": 5985636450493, "fulfill_at": "2023-04-24T18:00:00+00:00", "fulfill_by": null, "created_at": "2023-04-24T18:00:09+00:00", "updated_at": "2023-04-24T18:00:09+00:00", "request_status": "UNSUBMITTED", "status": "CLOSED", "channel_id": null, "assigned_location": {"address1": "Heroiv UPA 72", "address2": null, "city": "Lviv", "country_code": "UA", "name": "Heroiv UPA 72", "phone": "", "province": null, "zip": "30100", "location_id": 63590301885}, "destination": null, "delivery_method": {"id": 442031046845, "method_type": "SHIPPING", "min_delivery_date_time": null, "max_delivery_date_time": null}, "international_duties": null, "fulfillment_holds": [], "supported_actions": [], "admin_graphql_api_id": "gid://shopify/FulfillmentOrder/5985636450493", "shop_id": 58033176765, "order_id": 5033391718589, "assigned_location_id": 63590301885, "line_items": [{"id": 12407122067645, "inventory_item_id": 43653688524989, "shop_id": 58033176765, "fulfillment_order_id": 5985636450493, "quantity": 1, "line_item_id": 12247585521853, "fulfillable_quantity": 0, "variant_id": 41561961824445}], "merchant_requests": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831374981}
|
||||
{"stream": "fulfillments", "data": {"id": 4451164913853, "admin_graphql_api_id": "gid://shopify/Fulfillment/4451164913853", "created_at": "2023-04-13T05:09:45-07:00", "location_id": 63590301885, "name": "#1143.1", "order_id": 5010584895677, "origin_address": {}, "receipt": {}, "service": "manual", "shipment_status": null, "status": "success", "tracking_company": null, "tracking_number": null, "tracking_numbers": [], "tracking_url": null, "tracking_urls": [], "updated_at": "2023-04-13T05:09:45-07:00", "line_items": [{"id": 12204214845629, "admin_graphql_api_id": "gid://shopify/LineItem/12204214845629", "fulfillable_quantity": 0, "fulfillment_service": "manual", "fulfillment_status": "fulfilled", "gift_card": false, "grams": 63, "name": "8 Ounce Soy Candle - Wooden", "price": "102.00", "price_set": {"shop_money": {"amount": 102.0, "currency_code": "USD"}, "presentment_money": {"amount": 102.0, "currency_code": "USD"}}, "product_exists": true, "product_id": 6796229509309, "properties": [], "quantity": 1, "requires_shipping": true, "sku": "", "taxable": true, "title": "8 Ounce Soy Candle", "total_discount": "0.00", "total_discount_set": {"shop_money": {"amount": 0.0, "currency_code": "USD"}, "presentment_money": {"amount": 0.0, "currency_code": "USD"}}, "variant_id": 40090604011709, "variant_inventory_management": "shopify", "variant_title": "Wooden", "vendor": "Bosco Inc", "tax_lines": [{"channel_liable": false, "price": 17.0, "price_set": {"shop_money": {"amount": 17.0, "currency_code": "USD"}, "presentment_money": {"amount": 17.0, "currency_code": "USD"}}, "rate": 0.2, "title": "PDV"}], "duties": [], "discount_allocations": []}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953793256}
|
||||
{"stream": "fulfillments", "data": {"id": 4451169501373, "admin_graphql_api_id": "gid://shopify/Fulfillment/4451169501373", "created_at": "2023-04-13T05:11:16-07:00", "location_id": 63590301885, "name": "#1144.1", "order_id": 5010585911485, "origin_address": {}, "receipt": {}, "service": "manual", "shipment_status": null, "status": "success", "tracking_company": null, "tracking_number": null, "tracking_numbers": [], "tracking_url": null, "tracking_urls": [], "updated_at": "2023-04-13T05:11:16-07:00", "line_items": [{"id": 12204216385725, "admin_graphql_api_id": "gid://shopify/LineItem/12204216385725", "fulfillable_quantity": 0, "fulfillment_service": "manual", "fulfillment_status": "fulfilled", "gift_card": false, "grams": 112, "name": "4 Ounce Soy Candle - Test Variant 2", "price": "19.00", "price_set": {"shop_money": {"amount": 19.0, "currency_code": "USD"}, "presentment_money": {"amount": 19.0, "currency_code": "USD"}}, "product_exists": true, "product_id": 6796220989629, "properties": [], "quantity": 1, "requires_shipping": true, "sku": "", "taxable": true, "title": "4 Ounce Soy Candle", "total_discount": "0.00", "total_discount_set": {"shop_money": {"amount": 0.0, "currency_code": "USD"}, "presentment_money": {"amount": 0.0, "currency_code": "USD"}}, "variant_id": 41561961824445, "variant_inventory_management": "shopify", "variant_title": "Test Variant 2", "vendor": "Hartmann Group", "tax_lines": [{"channel_liable": false, "price": 3.17, "price_set": {"shop_money": {"amount": 3.17, "currency_code": "USD"}, "presentment_money": {"amount": 3.17, "currency_code": "USD"}}, "rate": 0.2, "title": "PDV"}], "duties": [], "discount_allocations": []}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953793263}
|
||||
{"stream": "fulfillments", "data": {"id": 4075788501181, "admin_graphql_api_id": "gid://shopify/Fulfillment/4075788501181", "created_at": "2022-06-15T05:16:55-07:00", "location_id": 63590301885, "name": "#1136.1", "order_id": 4554821468349, "origin_address": {}, "receipt": {}, "service": "manual", "shipment_status": null, "status": "success", "tracking_company": null, "tracking_number": null, "tracking_numbers": [], "tracking_url": null, "tracking_urls": [], "updated_at": "2022-06-15T05:16:55-07:00", "line_items": [{"id": 11406125564093, "admin_graphql_api_id": "gid://shopify/LineItem/11406125564093", "fulfillable_quantity": 0, "fulfillment_service": "manual", "fulfillment_status": "fulfilled", "gift_card": false, "grams": 0, "name": "All Black Sneaker Right Foot - ivory", "price": "59.00", "price_set": {"shop_money": {"amount": 59.0, "currency_code": "USD"}, "presentment_money": {"amount": 59.0, "currency_code": "USD"}}, "product_exists": true, "product_id": 6796226560189, "properties": [], "quantity": 1, "requires_shipping": false, "sku": "", "taxable": true, "title": "All Black Sneaker Right Foot", "total_discount": "0.00", "total_discount_set": {"shop_money": {"amount": 0.0, "currency_code": "USD"}, "presentment_money": {"amount": 0.0, "currency_code": "USD"}}, "variant_id": 40090597884093, "variant_inventory_management": "shopify", "variant_title": "ivory", "vendor": "Becker - Moore", "tax_lines": [], "duties": [], "discount_allocations": [{"amount": "1.77", "amount_set": {"shop_money": {"amount": "1.77", "currency_code": "USD"}, "presentment_money": {"amount": "1.77", "currency_code": "USD"}}, "discount_application_index": 0}]}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953793275}
|
||||
{"stream": "inventory_items", "data": {"id": 44871665713341, "country_code_of_origin": null, "harmonized_system_code": null, "province_code_of_origin": null, "updated_at": "2023-04-14T10:29:27+00:00", "created_at": "2023-04-14T10:29:27+00:00", "sku": "", "tracked": true, "requires_shipping": false, "admin_graphql_api_id": "gid://shopify/InventoryItem/44871665713341", "cost": 60.0, "country_harmonized_system_codes": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953800805}
|
||||
{"stream": "inventory_items", "data": {"id": 45419395743933, "country_code_of_origin": "UA", "harmonized_system_code": "330510", "province_code_of_origin": null, "updated_at": "2023-12-11T10:37:41+00:00", "created_at": "2023-12-11T10:37:41+00:00", "sku": "123", "tracked": true, "requires_shipping": true, "admin_graphql_api_id": "gid://shopify/InventoryItem/45419395743933", "cost": 29.0, "country_harmonized_system_codes": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953800806}
|
||||
{"stream": "inventory_levels", "data": {"id": "63590301885|42185200631997", "updated_at": "2023-04-13T12:00:55+00:00", "quantities": [{"id": 97912455357, "name": "available", "quantity": 15, "updatedAt": "2023-04-13T12:00:55+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=available"}, {"id": 97912455357, "name": "incoming", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=incoming"}, {"id": 97912455357, "name": "committed", "quantity": 0, "updatedAt": "2022-03-17T10:05:08+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=committed"}, {"id": 97912455357, "name": "damaged", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=damaged"}, {"id": 97912455357, "name": "on_hand", "quantity": 15, "updatedAt": "2023-04-13T12:00:52+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=on_hand"}, {"id": 97912455357, "name": "quality_control", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=quality_control"}, {"id": 97912455357, "name": "reserved", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=reserved"}, {"id": 97912455357, "name": "safety_stock", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=safety_stock"}], "admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=42185200631997", "inventory_item_id": 42185200631997, "location_id": 63590301885, "shop_url": "airbyte-integration-test"}, "emitted_at": 1716464698314}
|
||||
{"stream": "inventory_levels", "data": {"id": "63590301885|42185218719933", "updated_at": "2023-04-13T12:09:45+00:00", "quantities": [{"id": 97912455357, "name": "available", "quantity": 8, "updatedAt": "2023-04-13T12:09:45+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=available"}, {"id": 97912455357, "name": "incoming", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=incoming"}, {"id": 97912455357, "name": "committed", "quantity": 2, "updatedAt": "2023-04-13T12:09:45+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=committed"}, {"id": 97912455357, "name": "damaged", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=damaged"}, {"id": 97912455357, "name": "on_hand", "quantity": 10, "updatedAt": "2023-04-13T12:09:45+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=on_hand"}, {"id": 97912455357, "name": "quality_control", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=quality_control"}, {"id": 97912455357, "name": "reserved", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=reserved"}, {"id": 97912455357, "name": "safety_stock", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=safety_stock"}], "admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=42185218719933", "inventory_item_id": 42185218719933, "location_id": 63590301885, "shop_url": "airbyte-integration-test"}, "emitted_at": 1716464698458}
|
||||
{"stream": "inventory_levels", "data": {"id": "63590301885|43653688524989", "updated_at": "2023-04-24T18:00:10+00:00", "quantities": [{"id": 97912455357, "name": "available", "quantity": 0, "updatedAt": "2023-04-24T18:00:10+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=available"}, {"id": 97912455357, "name": "incoming", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=incoming"}, {"id": 97912455357, "name": "committed", "quantity": 0, "updatedAt": "2023-04-24T18:00:09+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=committed"}, {"id": 97912455357, "name": "damaged", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=damaged"}, {"id": 97912455357, "name": "on_hand", "quantity": 0, "updatedAt": "2023-04-24T18:00:09+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=on_hand"}, {"id": 97912455357, "name": "quality_control", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=quality_control"}, {"id": 97912455357, "name": "reserved", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=reserved"}, {"id": 97912455357, "name": "safety_stock", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=safety_stock"}], "admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=43653688524989", "inventory_item_id": 43653688524989, "location_id": 63590301885, "shop_url": "airbyte-integration-test"}, "emitted_at": 1716464698539}
|
||||
{"stream": "inventory_items", "data": {"id": 44871665713341, "harmonized_system_code": null, "province_code_of_origin": null, "updated_at": "2023-04-14T10:29:27+00:00", "created_at": "2023-04-14T10:29:27+00:00", "sku": "", "tracked": true, "requires_shipping": false, "duplicate_sku_count": 0, "country_code_of_origin": null, "admin_graphql_api_id": "gid://shopify/InventoryItem/44871665713341", "cost": 60.0, "currency_code": "USD", "country_harmonized_system_codes": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831428972}
|
||||
{"stream": "inventory_items", "data": {"id": 45419395743933, "harmonized_system_code": "330510", "province_code_of_origin": null, "updated_at": "2023-12-11T10:37:41+00:00", "created_at": "2023-12-11T10:37:41+00:00", "sku": "123", "tracked": true, "requires_shipping": true, "duplicate_sku_count": 0, "country_code_of_origin": "UA", "admin_graphql_api_id": "gid://shopify/InventoryItem/45419395743933", "cost": 29.0, "currency_code": "USD", "country_harmonized_system_codes": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831428973}
|
||||
{"stream": "inventory_levels", "data": {"id": "63590301885|43653688524989", "can_deactivate": false, "created_at": "2022-03-06T22:12:20Z", "deactivation_alert": "Can't unstock from this location because it has committed inventory.", "updated_at": "2023-04-24T18:00:10+00:00", "quantities": [{"id": 97912455357, "name": "available", "quantity": 0, "updatedAt": "2023-04-24T18:00:10+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=available"}, {"id": 97912455357, "name": "incoming", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=incoming"}, {"id": 97912455357, "name": "committed", "quantity": 0, "updatedAt": "2023-04-24T18:00:09+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=committed"}, {"id": 97912455357, "name": "damaged", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=damaged"}, {"id": 97912455357, "name": "on_hand", "quantity": 0, "updatedAt": "2023-04-24T18:00:09+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=on_hand"}, {"id": 97912455357, "name": "quality_control", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=quality_control"}, {"id": 97912455357, "name": "reserved", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=reserved"}, {"id": 97912455357, "name": "safety_stock", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=safety_stock"}], "admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=43653688524989", "inventory_item_id": 43653688524989, "inventory_history_url": "https://airbyte-integration-test.myshopify.com/admin/products/inventory/43653688524989/inventory_history", "locations_count": {"count": 1}, "location_id": 63590301885, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831434336}
|
||||
{"stream": "inventory_levels", "data": {"id": "63590301885|44871665713341", "can_deactivate": false, "created_at": "2023-04-14T10:29:27Z", "deactivation_alert": "Can't unstock from this location because it has committed inventory.", "updated_at": "2023-04-14T10:29:27+00:00", "quantities": [{"id": 97912455357, "name": "available", "quantity": 0, "updatedAt": "2023-04-14T10:29:27+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=available"}, {"id": 97912455357, "name": "incoming", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=incoming"}, {"id": 97912455357, "name": "committed", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=committed"}, {"id": 97912455357, "name": "damaged", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=damaged"}, {"id": 97912455357, "name": "on_hand", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=on_hand"}, {"id": 97912455357, "name": "quality_control", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=quality_control"}, {"id": 97912455357, "name": "reserved", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=reserved"}, {"id": 97912455357, "name": "safety_stock", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=safety_stock"}], "admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=44871665713341", "inventory_item_id": 44871665713341, "inventory_history_url": "https://airbyte-integration-test.myshopify.com/admin/products/inventory/44871665713341/inventory_history", "locations_count": {"count": 1}, "location_id": 63590301885, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831434336}
|
||||
{"stream": "inventory_levels", "data": {"id": "63590301885|45419395743933", "can_deactivate": false, "created_at": "2023-12-11T10:37:41Z", "deactivation_alert": "Can't unstock from this location because it has committed inventory.", "updated_at": "2023-12-11T10:37:41+00:00", "quantities": [{"id": 97912455357, "name": "available", "quantity": 1, "updatedAt": "2023-12-11T10:37:41+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=available"}, {"id": 97912455357, "name": "incoming", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=incoming"}, {"id": 97912455357, "name": "committed", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=committed"}, {"id": 97912455357, "name": "damaged", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=damaged"}, {"id": 97912455357, "name": "on_hand", "quantity": 1, "updatedAt": "2023-12-11T10:37:41+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=on_hand"}, {"id": 97912455357, "name": "quality_control", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=quality_control"}, {"id": 97912455357, "name": "reserved", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=reserved"}, {"id": 97912455357, "name": "safety_stock", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=safety_stock"}], "admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=45419395743933", "inventory_item_id": 45419395743933, "inventory_history_url": "https://airbyte-integration-test.myshopify.com/admin/products/inventory/45419395743933/inventory_history", "locations_count": {"count": 1}, "location_id": 63590301885, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831434337}
|
||||
{"stream": "locations", "data": {"id": 63590301885, "name": "Heroiv UPA 72", "address1": "Heroiv UPA 72", "address2": "", "city": "Lviv", "zip": "30100", "province": null, "country": "UA", "phone": "", "created_at": "2021-06-22T18:00:29-07:00", "updated_at": "2023-11-28T07:08:27-08:00", "country_code": "UA", "country_name": "Ukraine", "province_code": null, "legacy": false, "active": true, "admin_graphql_api_id": "gid://shopify/Location/63590301885", "localized_country_name": "Ukraine", "localized_province_name": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953808895}
|
||||
{"stream": "metafield_articles", "data": {"id": 21519818162365, "namespace": "global", "key": "new", "value": "newvalue", "description": null, "owner_id": 558137508029, "created_at": "2022-10-07T16:09:02-07:00", "updated_at": "2022-10-07T16:09:02-07:00", "owner_resource": "article", "type": "single_line_text_field", "admin_graphql_api_id": "gid://shopify/Metafield/21519818162365", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953810882}
|
||||
{"stream": "metafield_articles", "data": {"id": 22365709992125, "namespace": "custom", "key": "test_blog_post_metafield", "value": "Test Article Metafield", "description": null, "owner_id": 558137508029, "created_at": "2023-04-14T03:18:26-07:00", "updated_at": "2023-04-14T03:18:26-07:00", "owner_resource": "article", "type": "single_line_text_field", "admin_graphql_api_id": "gid://shopify/Metafield/22365709992125", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953810884}
|
||||
@@ -78,23 +78,23 @@
|
||||
{"stream": "price_rules", "data": {"id": 945205379261, "value_type": "percentage", "value": "-100.0", "customer_selection": "all", "target_type": "shipping_line", "target_selection": "all", "allocation_method": "each", "allocation_limit": null, "once_per_customer": false, "usage_limit": null, "starts_at": "2021-07-08T05:40:13-07:00", "ends_at": "2024-01-01T23:59:59-08:00", "created_at": "2021-07-08T05:40:37-07:00", "updated_at": "2023-12-07T03:40:44-08:00", "entitled_product_ids": [], "entitled_variant_ids": [], "entitled_collection_ids": [], "entitled_country_ids": [], "prerequisite_product_ids": [], "prerequisite_variant_ids": [], "prerequisite_collection_ids": [], "customer_segment_prerequisite_ids": [], "prerequisite_customer_ids": [], "prerequisite_subtotal_range": {"greater_than_or_equal_to": "1.0"}, "prerequisite_quantity_range": null, "prerequisite_shipping_price_range": null, "prerequisite_to_entitlement_quantity_ratio": {"prerequisite_quantity": null, "entitled_quantity": null}, "prerequisite_to_entitlement_purchase": {"prerequisite_amount": null}, "title": "HZAVNV2487WC", "admin_graphql_api_id": "gid://shopify/PriceRule/945205379261", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953899513}
|
||||
{"stream": "product_images", "data": {"created_at": "2023-04-14T10:34:46+00:00", "updated_at": "2023-04-14T11:05:13+00:00", "id": 33290489659581, "height": 64, "alt": "Test", "src": "https://cdn.shopify.com/s/files/1/0580/3317/6765/products/Airbytelogo64x64.png?v=1681468487", "width": 64, "admin_graphql_api_id": "gid://shopify/ProductImage/33290489659581", "product_id": 6796229574845, "shop_url": "airbyte-integration-test"}, "emitted_at": 1714673982582}
|
||||
{"stream": "product_images", "data": {"created_at": "2021-06-23T01:09:47+00:00", "updated_at": "2023-04-24T17:27:15+00:00", "id": 29301297316029, "height": 1467, "alt": "updated_mon_24.04.2023", "src": "https://cdn.shopify.com/s/files/1/0580/3317/6765/products/4-ounce-soy-candle.jpg?v=1624410587", "width": 2200, "admin_graphql_api_id": "gid://shopify/ProductImage/29301297316029", "product_id": 6796220989629, "shop_url": "airbyte-integration-test"}, "emitted_at": 1714673982587}
|
||||
{"stream": "products", "data": {"id": 6796217909437, "published_at": "2021-06-23T01:09:27+00:00", "created_at": "2021-06-23T01:09:27+00:00", "status": "ACTIVE", "vendor": "Little Group", "updated_at": "2023-04-20T11:12:25+00:00", "body_html": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "product_type": "Movies", "tags": "developer-tools-generator", "handle": "red-and-navy-tee-sleeve", "template_suffix": null, "title": "Red And Navy Tee Sleeve", "description": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "description_html": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "is_gift_card": false, "legacy_resource_id": "6796217909437", "online_store_preview_url": "https://airbyte-integration-test.myshopify.com/products/red-and-navy-tee-sleeve", "online_store_url": null, "total_inventory": 3, "tracks_inventory": true, "total_variants": 1, "media_count": 0, "options": [{"id": 8720175235261, "name": "Title", "values": ["Plastic"], "position": 1, "product_id": 6796217909437}], "admin_graphql_api_id": "gid://shopify/Product/6796217909437", "images": [], "variants": [{"id": 40090579992765}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1716290626003}
|
||||
{"stream": "products", "data": {"id": 6796217942205, "published_at": "2021-06-23T01:09:27+00:00", "created_at": "2021-06-23T01:09:27+00:00", "status": "ACTIVE", "vendor": "Lang - Bogisich", "updated_at": "2023-04-20T11:12:25+00:00", "body_html": "A grey t-shirt on a hanger. Simple. Classic. Grey.", "product_type": "Home", "tags": "developer-tools-generator", "handle": "grey-t-shirt", "template_suffix": null, "title": "Grey T-Shirt", "description": "A grey t-shirt on a hanger. Simple. Classic. Grey.", "description_html": "A grey t-shirt on a hanger. Simple. Classic. Grey.", "is_gift_card": false, "legacy_resource_id": "6796217942205", "online_store_preview_url": "https://airbyte-integration-test.myshopify.com/products/grey-t-shirt", "online_store_url": null, "total_inventory": 38, "tracks_inventory": true, "total_variants": 1, "media_count": 0, "options": [{"id": 8720175268029, "name": "Title", "values": ["Granite"], "position": 1, "product_id": 6796217942205}], "admin_graphql_api_id": "gid://shopify/Product/6796217942205", "images": [], "variants": [{"id": 40090580025533}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1716290626004}
|
||||
{"stream": "products", "data": {"id": 6796217974973, "published_at": "2021-06-23T01:09:27+00:00", "created_at": "2021-06-23T01:09:27+00:00", "status": "ACTIVE", "vendor": "Fritsch - Ferry", "updated_at": "2023-04-20T11:12:25+00:00", "body_html": "Inflatable pink ice cream pool toy.", "product_type": "Grocery", "tags": "developer-tools-generator", "handle": "pool-floaty-icecream", "template_suffix": null, "title": "Pool Floaty Icecream", "description": "Inflatable pink ice cream pool toy.", "description_html": "Inflatable pink ice cream pool toy.", "is_gift_card": false, "legacy_resource_id": "6796217974973", "online_store_preview_url": "https://airbyte-integration-test.myshopify.com/products/pool-floaty-icecream", "online_store_url": null, "total_inventory": 1, "tracks_inventory": true, "total_variants": 1, "media_count": 0, "options": [{"id": 8720175300797, "name": "Title", "values": ["magenta"], "position": 1, "product_id": 6796217974973}], "admin_graphql_api_id": "gid://shopify/Product/6796217974973", "images": [], "variants": [{"id": 40090580091069}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1716290626005}
|
||||
{"stream": "products", "data": {"id": 6796217843901, "published_at": null, "created_at": "2021-06-23T01:09:26+00:00", "status": "ARCHIVED", "vendor": "Hayes, Hettinger and Hauck", "updated_at": "2023-09-05T14:12:05+00:00", "body_html": "A close-up side view of a woman's off-white shirt shows the design detail in the lace.", "product_type": "Beauty", "tags": "developer-tools-generator", "handle": "lace-detail-on-womens-top", "template_suffix": null, "title": "Lace Detail On Womens Top", "description": "A close-up side view of a woman's off-white shirt shows the design detail in the lace.", "description_html": "A close-up side view of a woman's off-white shirt shows the design detail in the lace.", "is_gift_card": false, "legacy_resource_id": "6796217843901", "online_store_preview_url": "https://euttcpkw6losfycn-58033176765.shopifypreview.com/products_preview?preview_key=9c0ead4abdca0077f2d83b7095cb8745&_bt=eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaXRoYVhKaWVYUmxMV2x1ZEdWbmNtRjBhVzl1TFhSbGMzUXViWGx6YUc5d2FXWjVMbU52YlFZNkJrVlUiLCJleHAiOiIyMDI0LTA2LTE5VDIyOjE0OjA2LjIxN1oiLCJwdXIiOiJwZXJtYW5lbnRfcGFzc3dvcmRfYnlwYXNzIn19--edaefa6b7694f5bd61f0a4d02b12944d47ec48e9", "online_store_url": null, "total_inventory": 12, "tracks_inventory": true, "has_only_default_variant": false, "has_out_of_stock_variants": false, "requires_selling_plan": false, "price_range_v2": {"max_variant_price": {"amount": 85.0, "currency_code": "USD"}, "min_variant_price": {"amount": 85.0, "currency_code": "USD"}}, "featured_image": null, "seo": {"description": null, "title": null}, "featured_media": null, "feedback": null, "total_variants": 1, "media_count": 0, "options": [{"id": 8720175169725, "name": "Title", "values": ["Soft"], "position": 1, "product_id": 6796217843901}], "admin_graphql_api_id": "gid://shopify/Product/6796217843901", "images": [], "variants": [{"id": 40090579959997}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831655260}
|
||||
{"stream": "products", "data": {"id": 6796229509309, "published_at": "2021-06-23T01:10:48+00:00", "created_at": "2021-06-23T01:10:48+00:00", "status": "ACTIVE", "vendor": "Bosco Inc", "updated_at": "2023-12-11T10:37:41+00:00", "body_html": "Close up of white soy candle in clear container on brown wooden table.", "product_type": "Sports", "tags": "developer-tools-generator", "handle": "8-ounce-soy-candle", "template_suffix": null, "title": "8 Ounce Soy Candle", "description": "Close up of white soy candle in clear container on brown wooden table.", "description_html": "Close up of white soy candle in clear container on brown wooden table.", "is_gift_card": false, "legacy_resource_id": "6796229509309", "online_store_preview_url": "https://airbyte-integration-test.myshopify.com/products/8-ounce-soy-candle", "online_store_url": null, "total_inventory": 74, "tracks_inventory": true, "has_only_default_variant": false, "has_out_of_stock_variants": false, "requires_selling_plan": false, "price_range_v2": {"max_variant_price": {"amount": 113.0, "currency_code": "USD"}, "min_variant_price": {"amount": 60.0, "currency_code": "USD"}}, "featured_image": {"height": 1467, "id": "gid://shopify/ProductImage/29301303345341", "url": "https://cdn.shopify.com/s/files/1/0580/3317/6765/products/8-ounce-soy-candle.jpg?v=1624410648", "width": 2200, "alt_text": null}, "seo": {"description": null, "title": null}, "featured_media": {"alt": "", "id": "gid://shopify/MediaImage/21562162020541", "status": "READY", "media_content_type": "IMAGE", "preview": {"status": "READY", "image": {"id": "gid://shopify/ImageSource/21570966323389", "alt_text": ""}}, "media_errors": [], "media_warnings": []}, "feedback": null, "total_variants": 4, "media_count": 1, "options": [{"id": 8720186900669, "name": "Title", "values": ["purple", "Frozen", "Wooden", "Test Variant"], "position": 1, "product_id": 6796229509309}], "admin_graphql_api_id": "gid://shopify/Product/6796229509309", "images": [{"id": 29301303345341}], "variants": [{"id": 40090603946173}, {"id": 40090603978941}, {"id": 40090604011709}, {"id": 43315735396541}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831655261}
|
||||
{"stream": "products", "data": {"id": 6796217909437, "published_at": "2021-06-23T01:09:27+00:00", "created_at": "2021-06-23T01:09:27+00:00", "status": "ACTIVE", "vendor": "Little Group", "updated_at": "2024-05-29T19:04:49+00:00", "body_html": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "product_type": "Movies", "tags": "another tag, developer-tools-generator", "handle": "red-and-navy-tee-sleeve", "template_suffix": null, "title": "Red And Navy Tee Sleeve", "description": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "description_html": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "is_gift_card": false, "legacy_resource_id": "6796217909437", "online_store_preview_url": "https://airbyte-integration-test.myshopify.com/products/red-and-navy-tee-sleeve", "online_store_url": null, "total_inventory": 3, "tracks_inventory": true, "has_only_default_variant": false, "has_out_of_stock_variants": false, "requires_selling_plan": false, "price_range_v2": {"max_variant_price": {"amount": 23.0, "currency_code": "USD"}, "min_variant_price": {"amount": 23.0, "currency_code": "USD"}}, "featured_image": null, "seo": {"description": null, "title": null}, "featured_media": null, "feedback": null, "total_variants": 1, "media_count": 0, "options": [{"id": 8720175235261, "name": "Title", "values": ["Plastic"], "position": 1, "product_id": 6796217909437}], "admin_graphql_api_id": "gid://shopify/Product/6796217909437", "images": [], "variants": [{"id": 40090579992765}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831655261}
|
||||
{"stream": "products_graph_ql", "data": {"id": "gid://shopify/Product/6796217843901", "title": "Lace Detail On Womens Top", "updatedAt": "2023-09-05T14:12:05Z", "createdAt": "2021-06-23T01:09:26Z", "publishedAt": null, "status": "ARCHIVED", "vendor": "Hayes, Hettinger and Hauck", "productType": "Beauty", "tags": ["developer-tools-generator"], "options": [{"id": "gid://shopify/ProductOption/8720175169725", "name": "Title", "position": 1, "values": ["Soft"]}], "handle": "lace-detail-on-womens-top", "description": "A close-up side view of a woman's off-white shirt shows the design detail in the lace.", "tracksInventory": true, "totalInventory": 12, "totalVariants": 1, "onlineStoreUrl": null, "onlineStorePreviewUrl": "https://2p5oyhnqeai50h4v-58033176765.shopifypreview.com/products_preview?preview_key=0684b80dc464e2ee090442093af4a856&_bt=eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaXRoYVhKaWVYUmxMV2x1ZEdWbmNtRjBhVzl1TFhSbGMzUXViWGx6YUc5d2FXWjVMbU52YlFZNkJrVlUiLCJleHAiOiIyMDI0LTAyLTI2VDE0OjI1OjA2LjQwMVoiLCJwdXIiOiJwZXJtYW5lbnRfcGFzc3dvcmRfYnlwYXNzIn19--7b63f2609629fadb3ba6b372b742a474055b5d14", "descriptionHtml": "A close-up side view of a woman's off-white shirt shows the design detail in the lace.", "isGiftCard": false, "legacyResourceId": "6796217843901", "mediaCount": 0, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953906953}
|
||||
{"stream": "products_graph_ql", "data": {"id": "gid://shopify/Product/6796217909437", "title": "Red And Navy Tee Sleeve", "updatedAt": "2023-04-20T11:12:25Z", "createdAt": "2021-06-23T01:09:27Z", "publishedAt": "2021-06-23T01:09:27Z", "status": "ACTIVE", "vendor": "Little Group", "productType": "Movies", "tags": ["developer-tools-generator"], "options": [{"id": "gid://shopify/ProductOption/8720175235261", "name": "Title", "position": 1, "values": ["Plastic"]}], "handle": "red-and-navy-tee-sleeve", "description": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "tracksInventory": true, "totalInventory": 3, "totalVariants": 1, "onlineStoreUrl": null, "onlineStorePreviewUrl": "https://airbyte-integration-test.myshopify.com/products/red-and-navy-tee-sleeve", "descriptionHtml": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "isGiftCard": false, "legacyResourceId": "6796217909437", "mediaCount": 0, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953906955}
|
||||
{"stream": "products_graph_ql", "data": {"id": "gid://shopify/Product/6796217942205", "title": "Grey T-Shirt", "updatedAt": "2023-04-20T11:12:25Z", "createdAt": "2021-06-23T01:09:27Z", "publishedAt": "2021-06-23T01:09:27Z", "status": "ACTIVE", "vendor": "Lang - Bogisich", "productType": "Home", "tags": ["developer-tools-generator"], "options": [{"id": "gid://shopify/ProductOption/8720175268029", "name": "Title", "position": 1, "values": ["Granite"]}], "handle": "grey-t-shirt", "description": "A grey t-shirt on a hanger. Simple. Classic. Grey.", "tracksInventory": true, "totalInventory": 38, "totalVariants": 1, "onlineStoreUrl": null, "onlineStorePreviewUrl": "https://airbyte-integration-test.myshopify.com/products/grey-t-shirt", "descriptionHtml": "A grey t-shirt on a hanger. Simple. Classic. Grey.", "isGiftCard": false, "legacyResourceId": "6796217942205", "mediaCount": 0, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953906956}
|
||||
{"stream": "product_variants", "data": {"id": 40090579992765, "product_id": 6796217909437, "title": "Plastic", "price": 23.0, "sku": "", "position": 1, "inventory_policy": "deny", "compare_at_price": null, "fulfillment_service": "manual", "inventory_management": "shopify", "option1": "Plastic", "option2": null, "option3": null, "created_at": "2021-06-22T18:09:27-07:00", "updated_at": "2023-10-27T09:55:54-07:00", "taxable": true, "barcode": null, "grams": 39, "weight": 39.0, "weight_unit": "g", "inventory_item_id": 42185194700989, "inventory_quantity": 3, "old_inventory_quantity": 3, "requires_shipping": true, "admin_graphql_api_id": "gid://shopify/ProductVariant/40090579992765", "image_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953908829}
|
||||
{"stream": "product_variants", "data": {"id": 40090580025533, "product_id": 6796217942205, "title": "Granite", "price": 70.0, "sku": "", "position": 1, "inventory_policy": "deny", "compare_at_price": null, "fulfillment_service": "manual", "inventory_management": "shopify", "option1": "Granite", "option2": null, "option3": null, "created_at": "2021-06-22T18:09:27-07:00", "updated_at": "2023-10-27T09:55:54-07:00", "taxable": true, "barcode": null, "grams": 0, "weight": 0.0, "weight_unit": "g", "inventory_item_id": 42185194733757, "inventory_quantity": 38, "old_inventory_quantity": 38, "requires_shipping": false, "admin_graphql_api_id": "gid://shopify/ProductVariant/40090580025533", "image_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953908831}
|
||||
{"stream": "product_variants", "data": {"id": 40090580091069, "product_id": 6796217974973, "title": "magenta", "price": 57.0, "sku": "", "position": 1, "inventory_policy": "deny", "compare_at_price": null, "fulfillment_service": "manual", "inventory_management": "shopify", "option1": "magenta", "option2": null, "option3": null, "created_at": "2021-06-22T18:09:27-07:00", "updated_at": "2023-10-27T09:55:54-07:00", "taxable": true, "barcode": null, "grams": 499, "weight": 499.0, "weight_unit": "g", "inventory_item_id": 42185194766525, "inventory_quantity": 1, "old_inventory_quantity": 1, "requires_shipping": true, "admin_graphql_api_id": "gid://shopify/ProductVariant/40090580091069", "image_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953908832}
|
||||
{"stream": "product_variants", "data": {"id": 42595864019133, "title": "Large", "price": 15.69, "sku": "", "position": 3, "inventory_policy": "DENY", "compare_at_price": "17.00", "inventory_management": "SHOPIFY", "created_at": "2023-01-06T18:35:26+00:00", "updated_at": "2023-10-27T16:56:50+00:00", "taxable": true, "barcode": "", "weight": 0.0, "weight_unit": "KILOGRAMS", "inventory_quantity": 34, "requires_shipping": true, "available_for_sale": true, "display_name": "T-shirt - Large", "tax_code": "", "grams": 0, "old_inventory_quantity": 34, "fulfillment_service": "manual", "admin_graphql_api_id": "gid://shopify/ProductVariant/42595864019133", "presentment_prices": [{"price": {"amount": 15.69, "currency_code": "USD"}, "compare_at_price": {"amount": 17.0, "currency_code": "USD"}}], "product_id": 7423139250365, "inventory_item_id": 44688621207741, "image_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831678388}
|
||||
{"stream": "product_variants", "data": {"id": 42778150305981, "title": "Test 234", "price": 59.0, "sku": "", "position": 3, "inventory_policy": "DENY", "compare_at_price": null, "inventory_management": "SHOPIFY", "created_at": "2023-04-14T10:29:27+00:00", "updated_at": "2023-10-27T16:56:39+00:00", "taxable": true, "barcode": "", "weight": 0.0, "weight_unit": "GRAMS", "inventory_quantity": 0, "requires_shipping": false, "available_for_sale": false, "display_name": "All Black Sneaker Right Foot - Test 234", "tax_code": "", "grams": 0, "old_inventory_quantity": 0, "fulfillment_service": "manual", "admin_graphql_api_id": "gid://shopify/ProductVariant/42778150305981", "presentment_prices": [{"price": {"amount": 59.0, "currency_code": "USD"}, "compare_at_price": {"amount": null}}], "product_id": 6796226560189, "inventory_item_id": 44871665713341, "image_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831678388}
|
||||
{"stream": "product_variants", "data": {"id": 43315735396541, "title": "Test Variant", "price": 113.0, "sku": "123", "position": 4, "inventory_policy": "CONTINUE", "compare_at_price": "1.00", "inventory_management": "SHOPIFY", "created_at": "2023-12-11T10:37:41+00:00", "updated_at": "2023-12-11T10:37:41+00:00", "taxable": true, "barcode": "123", "weight": 127.0, "weight_unit": "GRAMS", "inventory_quantity": 1, "requires_shipping": true, "available_for_sale": true, "display_name": "8 Ounce Soy Candle - Test Variant", "tax_code": "", "grams": 127, "old_inventory_quantity": 1, "fulfillment_service": "manual", "admin_graphql_api_id": "gid://shopify/ProductVariant/43315735396541", "presentment_prices": [{"price": {"amount": 113.0, "currency_code": "USD"}, "compare_at_price": {"amount": 1.0, "currency_code": "USD"}}], "product_id": 6796229509309, "inventory_item_id": 45419395743933, "image_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831678388}
|
||||
{"stream": "shop", "data": {"id": 58033176765, "name": "airbyte integration test", "email": "sherif@airbyte.io", "domain": "airbyte-integration-test.myshopify.com", "province": "California", "country": "US", "address1": "350 29th Avenue", "zip": "94121", "city": "San Francisco", "source": null, "phone": "8023494963", "latitude": 37.7827286, "longitude": -122.4889911, "primary_locale": "en", "address2": "", "created_at": "2021-06-22T18:00:23-07:00", "updated_at": "2024-01-30T21:11:05-08:00", "country_code": "US", "country_name": "United States", "currency": "USD", "customer_email": "sherif@airbyte.io", "timezone": "(GMT-08:00) America/Los_Angeles", "iana_timezone": "America/Los_Angeles", "shop_owner": "Airbyte Airbyte", "money_format": "${{amount}}", "money_with_currency_format": "${{amount}} USD", "weight_unit": "kg", "province_code": "CA", "taxes_included": true, "auto_configure_tax_inclusivity": null, "tax_shipping": null, "county_taxes": true, "plan_display_name": "Developer Preview", "plan_name": "partner_test", "has_discounts": true, "has_gift_cards": false, "myshopify_domain": "airbyte-integration-test.myshopify.com", "google_apps_domain": null, "google_apps_login_enabled": null, "money_in_emails_format": "${{amount}}", "money_with_currency_in_emails_format": "${{amount}} USD", "eligible_for_payments": true, "requires_extra_payments_agreement": false, "password_enabled": true, "has_storefront": true, "finances": true, "primary_location_id": 63590301885, "checkout_api_supported": true, "multi_location_enabled": true, "setup_required": false, "pre_launch_enabled": false, "enabled_presentment_currencies": ["USD"], "transactional_sms_disabled": false, "marketing_sms_consent_enabled_at_checkout": false, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953910990}
|
||||
{"stream": "smart_collections", "data": {"id": 273278566589, "handle": "test-collection", "title": "Test Collection", "updated_at": "2023-09-05T07:12:04-07:00", "body_html": "updated_mon_24.04.2023", "published_at": "2021-07-19T07:02:54-07:00", "sort_order": "best-selling", "template_suffix": "", "disjunctive": false, "rules": ["{'column': 'type', 'relation': 'equals', 'condition': 'Beauty'}"], "published_scope": "web", "admin_graphql_api_id": "gid://shopify/Collection/273278566589", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953912019}
|
||||
{"stream": "tender_transactions", "data": {"id": 4464009117885, "order_id": 5033391718589, "amount": "19.00", "currency": "USD", "user_id": null, "test": false, "processed_at": "2023-04-24T11:00:08-07:00", "remote_reference": null, "payment_details": null, "payment_method": "other", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953913062}
|
||||
{"stream": "tender_transactions", "data": {"id": 4448993542333, "order_id": 5010585911485, "amount": "19.00", "currency": "USD", "user_id": null, "test": false, "processed_at": "2023-04-13T05:11:15-07:00", "remote_reference": null, "payment_details": null, "payment_method": "other", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953913064}
|
||||
{"stream": "tender_transactions", "data": {"id": 4448992690365, "order_id": 5010584895677, "amount": "102.00", "currency": "USD", "user_id": null, "test": false, "processed_at": "2023-04-13T05:09:44-07:00", "remote_reference": null, "payment_details": null, "payment_method": "other", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953913065}
|
||||
{"stream": "transactions", "data": {"id": 6281692217533, "error_code": null, "test": false, "kind": "SALE", "amount": 102.0, "receipt": "{}", "gateway": "manual", "authorization": null, "created_at": "2023-04-13T12:09:44+00:00", "status": "SUCCESS", "processed_at": "2023-04-13T12:09:44+00:00", "total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}}, "payment_id": "r9BerEaVJ5OzQNmPGZsK2V7zq", "payment_details": null, "order_id": 5010584895677, "currency": "USD", "admin_graphql_api_id": "gid://shopify/OrderTransaction/6281692217533", "parent_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953920174}
|
||||
{"stream": "transactions", "data": {"id": 6281693561021, "error_code": null, "test": false, "kind": "SALE", "amount": 19.0, "receipt": "{}", "gateway": "manual", "authorization": null, "created_at": "2023-04-13T12:11:15+00:00", "status": "SUCCESS", "processed_at": "2023-04-13T12:11:15+00:00", "total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}}, "payment_id": "rguGpKMnZqzpEzPvDfnSS8x4B", "payment_details": null, "order_id": 5010585911485, "currency": "USD", "admin_graphql_api_id": "gid://shopify/OrderTransaction/6281693561021", "parent_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953920180}
|
||||
{"stream": "transactions", "data": {"id": 6302086037693, "error_code": null, "test": false, "kind": "SALE", "amount": 19.0, "receipt": "{}", "gateway": "manual", "authorization": null, "created_at": "2023-04-24T18:00:08+00:00", "status": "SUCCESS", "processed_at": "2023-04-24T18:00:08+00:00", "total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}}, "payment_id": "ru7Najsh1HavL8RRkZHavCzGe", "payment_details": null, "order_id": 5033391718589, "currency": "USD", "admin_graphql_api_id": "gid://shopify/OrderTransaction/6302086037693", "parent_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953920187}
|
||||
{"stream": "transactions", "data": {"id": 6281692217533, "error_code": null, "test": false, "kind": "SALE", "amount": 102.0, "created_at": "2023-04-13T12:09:44+00:00", "status": "SUCCESS", "processed_at": "2023-04-13T12:09:44+00:00", "gateway": "manual", "payment_id": "r9BerEaVJ5OzQNmPGZsK2V7zq", "account_number": "", "formatted_gateway": "Manual", "manually_capturable": false, "receipt": "{}", "authorization": null, "total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}}, "amount_set": {"shop_money": {"amount": 102.0, "currency": "USD"}}, "fees": [], "payment_details": null, "order_id": 5010584895677, "currency": "USD", "admin_graphql_api_id": "gid://shopify/OrderTransaction/6281692217533", "parent_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831680527}
|
||||
{"stream": "transactions", "data": {"id": 6281693561021, "error_code": null, "test": false, "kind": "SALE", "amount": 19.0, "created_at": "2023-04-13T12:11:15+00:00", "status": "SUCCESS", "processed_at": "2023-04-13T12:11:15+00:00", "gateway": "manual", "payment_id": "rguGpKMnZqzpEzPvDfnSS8x4B", "account_number": "", "formatted_gateway": "Manual", "manually_capturable": false, "receipt": "{}", "authorization": null, "total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}}, "amount_set": {"shop_money": {"amount": 19.0, "currency": "USD"}}, "fees": [], "payment_details": null, "order_id": 5010585911485, "currency": "USD", "admin_graphql_api_id": "gid://shopify/OrderTransaction/6281693561021", "parent_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831680531}
|
||||
{"stream": "transactions", "data": {"id": 6302086037693, "error_code": null, "test": false, "kind": "SALE", "amount": 19.0, "created_at": "2023-04-24T18:00:08+00:00", "status": "SUCCESS", "processed_at": "2023-04-24T18:00:08+00:00", "gateway": "manual", "payment_id": "ru7Najsh1HavL8RRkZHavCzGe", "account_number": "", "formatted_gateway": "Manual", "manually_capturable": false, "receipt": "{}", "authorization": null, "total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}}, "amount_set": {"shop_money": {"amount": 19.0, "currency": "USD"}}, "fees": [], "payment_details": null, "order_id": 5033391718589, "currency": "USD", "admin_graphql_api_id": "gid://shopify/OrderTransaction/6302086037693", "parent_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831680535}
|
||||
{"stream": "customer_address", "data": {"address1": "My Best Accent", "address2": "", "city": "Fair Lawn", "country": "United States", "country_code": "US", "company": "Test Company", "first_name": "New Test", "id": 8092523135165, "last_name": "Customer", "name": "New Test Customer", "phone": "", "province": "New Jersey", "province_code": "NJ", "zip": "07410", "customer_id": 6569096478909, "country_name": "United States", "default": true, "updated_at": "2023-04-24T13:53:48+00:00", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953929853}
|
||||
{"stream": "customer_address", "data": {"address1": null, "address2": null, "city": null, "country": null, "country_code": null, "company": null, "first_name": "MArcos", "id": 8212915650749, "last_name": "Millnitz", "name": "MArcos Millnitz", "phone": null, "province": null, "province_code": null, "zip": null, "customer_id": 6676027932861, "country_name": null, "default": true, "updated_at": "2023-07-11T20:07:45+00:00", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953929855}
|
||||
{"stream": "countries", "data": {"id": 417014841533, "name": "Rest of World", "code": "*", "tax_name": "Tax", "tax": 0.0, "provinces": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953930918}
|
||||
|
||||
@@ -13,23 +13,23 @@
|
||||
{"stream": "customer_journey_summary", "data": {"order_id": 3935377129661, "created_at": "2021-07-02T07:51:50+00:00", "updated_at": "2023-04-24T17:59:00+00:00", "customer_journey_summary": {"ready": true, "moments_count": {"count": 0, "precision": "EXACT"}, "customer_order_index": 0, "days_to_conversion": null, "first_visit": {}, "last_visit": {}}, "admin_graphql_api_id": "gid://shopify/Order/3935377129661", "shop_url": "airbyte-integration-test"}, "emitted_at": 1718621847635}
|
||||
{"stream": "customers", "data": {"id": 6569096478909, "email": "test@test.com", "created_at": "2023-04-13T02:30:04-07:00", "updated_at": "2023-04-24T06:53:48-07:00", "first_name": "New Test", "last_name": "Customer", "orders_count": 0, "state": "disabled", "total_spent": 0.0, "last_order_id": null, "note": "updated_mon_24.04.2023", "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "tags": "", "last_order_name": null, "currency": "USD", "phone": "+380639379992", "addresses": [{"id": 8092523135165, "customer_id": 6569096478909, "first_name": "New Test", "last_name": "Customer", "company": "Test Company", "address1": "My Best Accent", "address2": "", "city": "Fair Lawn", "province": "New Jersey", "country": "United States", "zip": "07410", "phone": "", "name": "New Test Customer", "province_code": "NJ", "country_code": "US", "country_name": "United States", "default": true}], "accepts_marketing": true, "accepts_marketing_updated_at": "2023-04-13T02:30:04-07:00", "marketing_opt_in_level": "single_opt_in", "tax_exemptions": "[]", "email_marketing_consent": {"state": "subscribed", "opt_in_level": "single_opt_in", "consent_updated_at": "2023-04-13T02:30:04-07:00"}, "sms_marketing_consent": {"state": "not_subscribed", "opt_in_level": "single_opt_in", "consent_updated_at": null, "consent_collected_from": "SHOPIFY"}, "admin_graphql_api_id": "gid://shopify/Customer/6569096478909", "default_address": {"id": 8092523135165, "customer_id": 6569096478909, "first_name": "New Test", "last_name": "Customer", "company": "Test Company", "address1": "My Best Accent", "address2": "", "city": "Fair Lawn", "province": "New Jersey", "country": "United States", "zip": "07410", "phone": "", "name": "New Test Customer", "province_code": "NJ", "country_code": "US", "country_name": "United States", "default": true}, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953552788}
|
||||
{"stream": "customers", "data": {"id": 6676027932861, "email": "marcos@airbyte.io", "created_at": "2023-07-11T13:07:45-07:00", "updated_at": "2023-07-11T13:07:45-07:00", "first_name": "MArcos", "last_name": "Millnitz", "orders_count": 0, "state": "disabled", "total_spent": 0.0, "last_order_id": null, "note": null, "verified_email": true, "multipass_identifier": null, "tax_exempt": false, "tags": "", "last_order_name": null, "currency": "USD", "phone": null, "addresses": [{"id": 8212915650749, "customer_id": 6676027932861, "first_name": "MArcos", "last_name": "Millnitz", "company": null, "address1": null, "address2": null, "city": null, "province": null, "country": null, "zip": null, "phone": null, "name": "MArcos Millnitz", "province_code": null, "country_code": null, "country_name": null, "default": true}], "accepts_marketing": false, "accepts_marketing_updated_at": null, "marketing_opt_in_level": "single_opt_in", "tax_exemptions": "[]", "email_marketing_consent": {"state": "not_subscribed", "opt_in_level": "single_opt_in", "consent_updated_at": null}, "sms_marketing_consent": null, "admin_graphql_api_id": "gid://shopify/Customer/6676027932861", "default_address": {"id": 8212915650749, "customer_id": 6676027932861, "first_name": "MArcos", "last_name": "Millnitz", "company": null, "address1": null, "address2": null, "city": null, "province": null, "country": null, "zip": null, "phone": null, "name": "MArcos Millnitz", "province_code": null, "country_code": null, "country_name": null, "default": true}, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953552789}
|
||||
{"stream": "discount_codes", "data": {"usage_count": 0, "code": "updated_mon_24.04.2023", "id": 11539415990461, "admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/11539415990461", "price_rule_id": 945000284349, "updated_at": "2023-04-24T12:52:22+00:00", "created_at": "2021-07-07T14:23:11+00:00", "summary": "3% off entire order \u2022 One use per customer", "discount_type": "ORDER", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953559794}
|
||||
{"stream": "discount_codes", "data": {"usage_count": 0, "code": "HZAVNV2487WC", "id": 11545139282109, "admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/11545139282109", "price_rule_id": 945205379261, "updated_at": "2023-12-07T11:40:44+00:00", "created_at": "2021-07-08T12:40:37+00:00", "summary": "Free shipping on all products \u2022 Minimum purchase of $1.00 \u2022 For all countries", "discount_type": "SHIPPING", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953559795}
|
||||
{"stream": "discount_codes", "data": {"usage_count": 0, "code": "SUMMERSALE10OFF", "id": 13175793582269, "admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/13175793582269", "price_rule_id": 945205379261, "updated_at": "2023-12-07T11:40:44+00:00", "created_at": "2021-07-08T12:40:37+00:00", "summary": "Free shipping on all products \u2022 Minimum purchase of $1.00 \u2022 For all countries", "discount_type": "SHIPPING", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953559795}
|
||||
{"stream": "discount_codes", "data": {"usage_count": 0, "code": "HZAVNV2487WC", "id": 11545139282109, "created_by": null, "admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/11545139282109", "price_rule_id": 945205379261, "typename": "DiscountCodeFreeShipping", "updated_at": "2023-12-07T11:40:44+00:00", "created_at": "2021-07-08T12:40:37+00:00", "discount_type": "SHIPPING", "starts_at": "2021-07-08T12:40:13Z", "ends_at": "2024-01-02T07:59:59Z", "status": "EXPIRED", "title": "HZAVNV2487WC", "usage_limit": null, "applies_once_per_customer": false, "async_usage_count": 0, "codes_count": {"count": 2}, "total_sales": null, "summary": "Free shipping on all products \u2022 Minimum purchase of $1.00 \u2022 For all countries", "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831324166}
|
||||
{"stream": "discount_codes", "data": {"usage_count": 0, "code": "SUMMERSALE10OFF", "id": 13175793582269, "created_by": null, "admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/13175793582269", "price_rule_id": 945205379261, "typename": "DiscountCodeFreeShipping", "updated_at": "2023-12-07T11:40:44+00:00", "created_at": "2021-07-08T12:40:37+00:00", "discount_type": "SHIPPING", "starts_at": "2021-07-08T12:40:13Z", "ends_at": "2024-01-02T07:59:59Z", "status": "EXPIRED", "title": "HZAVNV2487WC", "usage_limit": null, "applies_once_per_customer": false, "async_usage_count": 0, "codes_count": {"count": 2}, "total_sales": null, "summary": "Free shipping on all products \u2022 Minimum purchase of $1.00 \u2022 For all countries", "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831324167}
|
||||
{"stream": "discount_codes", "data": {"usage_count": 0, "code": "New", "id": 11783638155453, "created_by": null, "admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/11783638155453", "price_rule_id": 964666163389, "typename": "DiscountCodeBasic", "updated_at": "2023-12-08T11:37:32+00:00", "created_at": "2021-09-10T13:48:10+00:00", "discount_type": "ORDER", "starts_at": "2021-09-10T13:47:56Z", "ends_at": "2023-12-09T07:59:59Z", "status": "EXPIRED", "title": "New", "usage_limit": null, "applies_once_per_customer": false, "async_usage_count": 0, "codes_count": {"count": 1}, "total_sales": null, "summary": "$15.00 off entire order", "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831324167}
|
||||
{"stream": "draft_orders", "data": {"id": 874683629757, "note": null, "email": null, "taxes_included": true, "currency": "USD", "invoice_sent_at": null, "created_at": "2021-07-02T00:50:29-07:00", "updated_at": "2023-04-14T05:16:33-07:00", "tax_exempt": false, "completed_at": "2021-07-02T00:51:50-07:00", "name": "#D2", "status": "completed", "line_items": [{"id": 57443281666237, "variant_id": 40090604011709, "product_id": 6796229509309, "title": "8 Ounce Soy Candle", "variant_title": "Wooden", "sku": "", "vendor": "Bosco Inc", "quantity": 1, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 63, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 17.0}], "applied_discount": null, "name": "8 Ounce Soy Candle - Wooden", "properties": [], "custom": false, "price": 102.0, "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/57443281666237"}], "shipping_address": null, "billing_address": null, "invoice_url": "https://airbyte-integration-test.myshopify.com/58033176765/invoices/e155e3254d0c0d64fa90587de417e0f3", "applied_discount": null, "order_id": 3935377129661, "shipping_line": null, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 17.0}], "tags": "", "note_attributes": [], "total_price": "102.00", "subtotal_price": "102.00", "total_tax": "17.00", "payment_terms": null, "admin_graphql_api_id": "gid://shopify/DraftOrder/874683629757", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953561948}
|
||||
{"stream": "draft_orders", "data": {"id": 929019691197, "note": "updated_mon_24.04.2023", "email": null, "taxes_included": true, "currency": "USD", "invoice_sent_at": null, "created_at": "2022-02-22T03:23:19-08:00", "updated_at": "2023-04-24T07:18:06-07:00", "tax_exempt": false, "completed_at": null, "name": "#D21", "status": "open", "line_items": [{"id": 58117295538365, "variant_id": 40090585923773, "product_id": 6796220989629, "title": "4 Ounce Soy Candle", "variant_title": "Metal", "sku": "", "vendor": "Hartmann Group", "quantity": 2, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 112, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 6.33}], "applied_discount": null, "name": "4 Ounce Soy Candle - Metal", "properties": [], "custom": false, "price": 19.0, "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/58117295538365"}, {"id": 58117295571133, "variant_id": null, "product_id": null, "title": "Test Item", "variant_title": null, "sku": null, "vendor": null, "quantity": 1, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 1000, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 0.17}], "applied_discount": null, "name": "Test Item", "properties": [], "custom": true, "price": 1.0, "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/58117295571133"}], "shipping_address": null, "billing_address": null, "invoice_url": "https://airbyte-integration-test.myshopify.com/58033176765/invoices/12893992cc01fc67935ab014fcf9300f", "applied_discount": null, "order_id": null, "shipping_line": {"title": "Test Shipping Fee", "custom": true, "handle": null, "price": 3.0}, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 6.33}, {"rate": 0.2, "title": "PDV", "price": 0.17}], "tags": "", "note_attributes": [], "total_price": "42.00", "subtotal_price": "39.00", "total_tax": "6.50", "payment_terms": null, "admin_graphql_api_id": "gid://shopify/DraftOrder/929019691197", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953561951}
|
||||
{"stream": "draft_orders", "data": {"id": 987391033533, "note": null, "email": null, "taxes_included": true, "currency": "USD", "invoice_sent_at": null, "created_at": "2023-04-13T04:56:17-07:00", "updated_at": "2023-04-13T04:56:17-07:00", "tax_exempt": false, "completed_at": null, "name": "#D25", "status": "open", "line_items": [{"id": 58116862083261, "variant_id": 40090585923773, "product_id": 6796220989629, "title": "4 Ounce Soy Candle", "variant_title": "Metal", "sku": "", "vendor": "Hartmann Group", "quantity": 1, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 112, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 3.16}], "applied_discount": null, "name": "4 Ounce Soy Candle - Metal", "properties": [], "custom": false, "price": 19.0, "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/58116862083261"}, {"id": 58116862116029, "variant_id": 41561955827901, "product_id": 6796220989629, "title": "4 Ounce Soy Candle", "variant_title": "Test Variant 1", "sku": "", "vendor": "Hartmann Group", "quantity": 1, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 112, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 3.17}], "applied_discount": null, "name": "4 Ounce Soy Candle - Test Variant 1", "properties": [], "custom": false, "price": 19.0, "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/58116862116029"}, {"id": 58116862148797, "variant_id": 41561961824445, "product_id": 6796220989629, "title": "4 Ounce Soy Candle", "variant_title": "Test Variant 2", "sku": "", "vendor": "Hartmann Group", "quantity": 1, "requires_shipping": true, "taxable": true, "gift_card": false, "fulfillment_service": "manual", "grams": 112, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 3.17}], "applied_discount": null, "name": "4 Ounce Soy Candle - Test Variant 2", "properties": [], "custom": false, "price": 19.0, "admin_graphql_api_id": "gid://shopify/DraftOrderLineItem/58116862148797"}], "shipping_address": null, "billing_address": null, "invoice_url": "https://airbyte-integration-test.myshopify.com/58033176765/invoices/d193a965f7815817a2d37fddb30bfdb2", "applied_discount": null, "order_id": null, "shipping_line": null, "tax_lines": [{"rate": 0.2, "title": "PDV", "price": 3.16}, {"rate": 0.2, "title": "PDV", "price": 3.17}, {"rate": 0.2, "title": "PDV", "price": 3.17}], "tags": "", "note_attributes": [], "total_price": "57.00", "subtotal_price": "57.00", "total_tax": "9.50", "payment_terms": null, "admin_graphql_api_id": "gid://shopify/DraftOrder/987391033533", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953561952}
|
||||
{"stream": "fulfillment_orders", "data": {"id": 5962451452093, "assigned_location": {"address1": "Heroiv UPA 72", "address2": null, "city": "Lviv", "country_code": "UA", "name": "Heroiv UPA 72", "phone": "", "province": null, "zip": "30100", "location_id": 63590301885}, "destination": null, "delivery_method": {"id": 431686549693, "method_type": "SHIPPING", "min_delivery_date_time": null, "max_delivery_date_time": null}, "fulfill_at": "2023-04-13T12:00:00+00:00", "fulfill_by": null, "international_duties": null, "fulfillment_holds": [], "created_at": "2023-04-13T12:09:45+00:00", "updated_at": "2023-04-13T12:09:46+00:00", "request_status": "UNSUBMITTED", "status": "CLOSED", "supported_actions": [], "admin_graphql_api_id": "gid://shopify/FulfillmentOrder/5962451452093", "shop_id": 58033176765, "order_id": 5010584895677, "assigned_location_id": 63590301885, "line_items": [{"id": 12363725996221, "inventory_item_id": 42185218719933, "shop_id": 58033176765, "fulfillment_order_id": 5962451452093, "quantity": 1, "line_item_id": 12204214845629, "fulfillable_quantity": 0, "variant_id": 40090604011709}], "merchant_requests": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953569038}
|
||||
{"stream": "fulfillment_orders", "data": {"id": 5962452467901, "assigned_location": {"address1": "Heroiv UPA 72", "address2": null, "city": "Lviv", "country_code": "UA", "name": "Heroiv UPA 72", "phone": "", "province": null, "zip": "30100", "location_id": 63590301885}, "destination": null, "delivery_method": {"id": 431687532733, "method_type": "SHIPPING", "min_delivery_date_time": null, "max_delivery_date_time": null}, "fulfill_at": "2023-04-13T12:00:00+00:00", "fulfill_by": null, "international_duties": null, "fulfillment_holds": [], "created_at": "2023-04-13T12:11:16+00:00", "updated_at": "2023-04-13T12:11:16+00:00", "request_status": "UNSUBMITTED", "status": "CLOSED", "supported_actions": [], "admin_graphql_api_id": "gid://shopify/FulfillmentOrder/5962452467901", "shop_id": 58033176765, "order_id": 5010585911485, "assigned_location_id": 63590301885, "line_items": [{"id": 12363727536317, "inventory_item_id": 43653688524989, "shop_id": 58033176765, "fulfillment_order_id": 5962452467901, "quantity": 1, "line_item_id": 12204216385725, "fulfillable_quantity": 0, "variant_id": 41561961824445}], "merchant_requests": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953569039}
|
||||
{"stream": "fulfillment_orders", "data": {"id": 5985636450493, "assigned_location": {"address1": "Heroiv UPA 72", "address2": null, "city": "Lviv", "country_code": "UA", "name": "Heroiv UPA 72", "phone": "", "province": null, "zip": "30100", "location_id": 63590301885}, "destination": null, "delivery_method": {"id": 442031046845, "method_type": "SHIPPING", "min_delivery_date_time": null, "max_delivery_date_time": null}, "fulfill_at": "2023-04-24T18:00:00+00:00", "fulfill_by": null, "international_duties": null, "fulfillment_holds": [], "created_at": "2023-04-24T18:00:09+00:00", "updated_at": "2023-04-24T18:00:09+00:00", "request_status": "UNSUBMITTED", "status": "CLOSED", "supported_actions": [], "admin_graphql_api_id": "gid://shopify/FulfillmentOrder/5985636450493", "shop_id": 58033176765, "order_id": 5033391718589, "assigned_location_id": 63590301885, "line_items": [{"id": 12407122067645, "inventory_item_id": 43653688524989, "shop_id": 58033176765, "fulfillment_order_id": 5985636450493, "quantity": 1, "line_item_id": 12247585521853, "fulfillable_quantity": 0, "variant_id": 41561961824445}], "merchant_requests": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953569040}
|
||||
{"stream": "fulfillment_orders", "data": {"id": 5962451452093, "fulfill_at": "2023-04-13T12:00:00+00:00", "fulfill_by": null, "created_at": "2023-04-13T12:09:45+00:00", "updated_at": "2023-04-13T12:09:46+00:00", "request_status": "UNSUBMITTED", "status": "CLOSED", "channel_id": null, "assigned_location": {"address1": "Heroiv UPA 72", "address2": null, "city": "Lviv", "country_code": "UA", "name": "Heroiv UPA 72", "phone": "", "province": null, "zip": "30100", "location_id": 63590301885}, "destination": null, "delivery_method": {"id": 431686549693, "method_type": "SHIPPING", "min_delivery_date_time": null, "max_delivery_date_time": null}, "international_duties": null, "fulfillment_holds": [], "supported_actions": [], "admin_graphql_api_id": "gid://shopify/FulfillmentOrder/5962451452093", "shop_id": 58033176765, "order_id": 5010584895677, "assigned_location_id": 63590301885, "line_items": [{"id": 12363725996221, "inventory_item_id": 42185218719933, "shop_id": 58033176765, "fulfillment_order_id": 5962451452093, "quantity": 1, "line_item_id": 12204214845629, "fulfillable_quantity": 0, "variant_id": 40090604011709}], "merchant_requests": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831374978}
|
||||
{"stream": "fulfillment_orders", "data": {"id": 5962452467901, "fulfill_at": "2023-04-13T12:00:00+00:00", "fulfill_by": null, "created_at": "2023-04-13T12:11:16+00:00", "updated_at": "2023-04-13T12:11:16+00:00", "request_status": "UNSUBMITTED", "status": "CLOSED", "channel_id": null, "assigned_location": {"address1": "Heroiv UPA 72", "address2": null, "city": "Lviv", "country_code": "UA", "name": "Heroiv UPA 72", "phone": "", "province": null, "zip": "30100", "location_id": 63590301885}, "destination": null, "delivery_method": {"id": 431687532733, "method_type": "SHIPPING", "min_delivery_date_time": null, "max_delivery_date_time": null}, "international_duties": null, "fulfillment_holds": [], "supported_actions": [], "admin_graphql_api_id": "gid://shopify/FulfillmentOrder/5962452467901", "shop_id": 58033176765, "order_id": 5010585911485, "assigned_location_id": 63590301885, "line_items": [{"id": 12363727536317, "inventory_item_id": 43653688524989, "shop_id": 58033176765, "fulfillment_order_id": 5962452467901, "quantity": 1, "line_item_id": 12204216385725, "fulfillable_quantity": 0, "variant_id": 41561961824445}], "merchant_requests": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831374979}
|
||||
{"stream": "fulfillment_orders", "data": {"id": 5985636450493, "fulfill_at": "2023-04-24T18:00:00+00:00", "fulfill_by": null, "created_at": "2023-04-24T18:00:09+00:00", "updated_at": "2023-04-24T18:00:09+00:00", "request_status": "UNSUBMITTED", "status": "CLOSED", "channel_id": null, "assigned_location": {"address1": "Heroiv UPA 72", "address2": null, "city": "Lviv", "country_code": "UA", "name": "Heroiv UPA 72", "phone": "", "province": null, "zip": "30100", "location_id": 63590301885}, "destination": null, "delivery_method": {"id": 442031046845, "method_type": "SHIPPING", "min_delivery_date_time": null, "max_delivery_date_time": null}, "international_duties": null, "fulfillment_holds": [], "supported_actions": [], "admin_graphql_api_id": "gid://shopify/FulfillmentOrder/5985636450493", "shop_id": 58033176765, "order_id": 5033391718589, "assigned_location_id": 63590301885, "line_items": [{"id": 12407122067645, "inventory_item_id": 43653688524989, "shop_id": 58033176765, "fulfillment_order_id": 5985636450493, "quantity": 1, "line_item_id": 12247585521853, "fulfillable_quantity": 0, "variant_id": 41561961824445}], "merchant_requests": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831374981}
|
||||
{"stream": "fulfillments", "data": {"id": 4451164913853, "admin_graphql_api_id": "gid://shopify/Fulfillment/4451164913853", "created_at": "2023-04-13T05:09:45-07:00", "location_id": 63590301885, "name": "#1143.1", "order_id": 5010584895677, "origin_address": {}, "receipt": {}, "service": "manual", "shipment_status": null, "status": "success", "tracking_company": null, "tracking_number": null, "tracking_numbers": [], "tracking_url": null, "tracking_urls": [], "updated_at": "2023-04-13T05:09:45-07:00", "line_items": [{"id": 12204214845629, "admin_graphql_api_id": "gid://shopify/LineItem/12204214845629", "fulfillable_quantity": 0, "fulfillment_service": "manual", "fulfillment_status": "fulfilled", "gift_card": false, "grams": 63, "name": "8 Ounce Soy Candle - Wooden", "price": "102.00", "price_set": {"shop_money": {"amount": 102.0, "currency_code": "USD"}, "presentment_money": {"amount": 102.0, "currency_code": "USD"}}, "product_exists": true, "product_id": 6796229509309, "properties": [], "quantity": 1, "requires_shipping": true, "sku": "", "taxable": true, "title": "8 Ounce Soy Candle", "total_discount": "0.00", "total_discount_set": {"shop_money": {"amount": 0.0, "currency_code": "USD"}, "presentment_money": {"amount": 0.0, "currency_code": "USD"}}, "variant_id": 40090604011709, "variant_inventory_management": "shopify", "variant_title": "Wooden", "vendor": "Bosco Inc", "tax_lines": [{"channel_liable": false, "price": 17.0, "price_set": {"shop_money": {"amount": 17.0, "currency_code": "USD"}, "presentment_money": {"amount": 17.0, "currency_code": "USD"}}, "rate": 0.2, "title": "PDV"}], "duties": [], "discount_allocations": []}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953570024}
|
||||
{"stream": "fulfillments", "data": {"id": 4451169501373, "admin_graphql_api_id": "gid://shopify/Fulfillment/4451169501373", "created_at": "2023-04-13T05:11:16-07:00", "location_id": 63590301885, "name": "#1144.1", "order_id": 5010585911485, "origin_address": {}, "receipt": {}, "service": "manual", "shipment_status": null, "status": "success", "tracking_company": null, "tracking_number": null, "tracking_numbers": [], "tracking_url": null, "tracking_urls": [], "updated_at": "2023-04-13T05:11:16-07:00", "line_items": [{"id": 12204216385725, "admin_graphql_api_id": "gid://shopify/LineItem/12204216385725", "fulfillable_quantity": 0, "fulfillment_service": "manual", "fulfillment_status": "fulfilled", "gift_card": false, "grams": 112, "name": "4 Ounce Soy Candle - Test Variant 2", "price": "19.00", "price_set": {"shop_money": {"amount": 19.0, "currency_code": "USD"}, "presentment_money": {"amount": 19.0, "currency_code": "USD"}}, "product_exists": true, "product_id": 6796220989629, "properties": [], "quantity": 1, "requires_shipping": true, "sku": "", "taxable": true, "title": "4 Ounce Soy Candle", "total_discount": "0.00", "total_discount_set": {"shop_money": {"amount": 0.0, "currency_code": "USD"}, "presentment_money": {"amount": 0.0, "currency_code": "USD"}}, "variant_id": 41561961824445, "variant_inventory_management": "shopify", "variant_title": "Test Variant 2", "vendor": "Hartmann Group", "tax_lines": [{"channel_liable": false, "price": 3.17, "price_set": {"shop_money": {"amount": 3.17, "currency_code": "USD"}, "presentment_money": {"amount": 3.17, "currency_code": "USD"}}, "rate": 0.2, "title": "PDV"}], "duties": [], "discount_allocations": []}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953570026}
|
||||
{"stream": "fulfillments", "data": {"id": 4075788501181, "admin_graphql_api_id": "gid://shopify/Fulfillment/4075788501181", "created_at": "2022-06-15T05:16:55-07:00", "location_id": 63590301885, "name": "#1136.1", "order_id": 4554821468349, "origin_address": {}, "receipt": {}, "service": "manual", "shipment_status": null, "status": "success", "tracking_company": null, "tracking_number": null, "tracking_numbers": [], "tracking_url": null, "tracking_urls": [], "updated_at": "2022-06-15T05:16:55-07:00", "line_items": [{"id": 11406125564093, "admin_graphql_api_id": "gid://shopify/LineItem/11406125564093", "fulfillable_quantity": 0, "fulfillment_service": "manual", "fulfillment_status": "fulfilled", "gift_card": false, "grams": 0, "name": "All Black Sneaker Right Foot - ivory", "price": "59.00", "price_set": {"shop_money": {"amount": 59.0, "currency_code": "USD"}, "presentment_money": {"amount": 59.0, "currency_code": "USD"}}, "product_exists": true, "product_id": 6796226560189, "properties": [], "quantity": 1, "requires_shipping": false, "sku": "", "taxable": true, "title": "All Black Sneaker Right Foot", "total_discount": "0.00", "total_discount_set": {"shop_money": {"amount": 0.0, "currency_code": "USD"}, "presentment_money": {"amount": 0.0, "currency_code": "USD"}}, "variant_id": 40090597884093, "variant_inventory_management": "shopify", "variant_title": "ivory", "vendor": "Becker - Moore", "tax_lines": [], "duties": [], "discount_allocations": [{"amount": "1.77", "amount_set": {"shop_money": {"amount": "1.77", "currency_code": "USD"}, "presentment_money": {"amount": "1.77", "currency_code": "USD"}}, "discount_application_index": 0}]}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953570027}
|
||||
{"stream": "inventory_items", "data": {"id": 44871665713341, "country_code_of_origin": null, "harmonized_system_code": null, "province_code_of_origin": null, "updated_at": "2023-04-14T10:29:27+00:00", "created_at": "2023-04-14T10:29:27+00:00", "sku": "", "tracked": true, "requires_shipping": false, "admin_graphql_api_id": "gid://shopify/InventoryItem/44871665713341", "cost": 60.0, "country_harmonized_system_codes": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953577593}
|
||||
{"stream": "inventory_items", "data": {"id": 45419395743933, "country_code_of_origin": "UA", "harmonized_system_code": "330510", "province_code_of_origin": null, "updated_at": "2023-12-11T10:37:41+00:00", "created_at": "2023-12-11T10:37:41+00:00", "sku": "123", "tracked": true, "requires_shipping": true, "admin_graphql_api_id": "gid://shopify/InventoryItem/45419395743933", "cost": 29.0, "country_harmonized_system_codes": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953577593}
|
||||
{"stream": "inventory_levels", "data": {"id": "63590301885|42185200631997", "updated_at": "2023-04-13T12:00:55+00:00", "quantities": [{"id": 97912455357, "name": "available", "quantity": 15, "updatedAt": "2023-04-13T12:00:55+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=available"}, {"id": 97912455357, "name": "incoming", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=incoming"}, {"id": 97912455357, "name": "committed", "quantity": 0, "updatedAt": "2022-03-17T10:05:08+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=committed"}, {"id": 97912455357, "name": "damaged", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=damaged"}, {"id": 97912455357, "name": "on_hand", "quantity": 15, "updatedAt": "2023-04-13T12:00:52+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=on_hand"}, {"id": 97912455357, "name": "quality_control", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=quality_control"}, {"id": 97912455357, "name": "reserved", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=reserved"}, {"id": 97912455357, "name": "safety_stock", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=safety_stock"}], "admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=42185200631997", "inventory_item_id": 42185200631997, "location_id": 63590301885, "shop_url": "airbyte-integration-test"}, "emitted_at": 1716464698314}
|
||||
{"stream": "inventory_levels", "data": {"id": "63590301885|42185218719933", "updated_at": "2023-04-13T12:09:45+00:00", "quantities": [{"id": 97912455357, "name": "available", "quantity": 8, "updatedAt": "2023-04-13T12:09:45+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=available"}, {"id": 97912455357, "name": "incoming", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=incoming"}, {"id": 97912455357, "name": "committed", "quantity": 2, "updatedAt": "2023-04-13T12:09:45+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=committed"}, {"id": 97912455357, "name": "damaged", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=damaged"}, {"id": 97912455357, "name": "on_hand", "quantity": 10, "updatedAt": "2023-04-13T12:09:45+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=on_hand"}, {"id": 97912455357, "name": "quality_control", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=quality_control"}, {"id": 97912455357, "name": "reserved", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=reserved"}, {"id": 97912455357, "name": "safety_stock", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=safety_stock"}], "admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=42185218719933", "inventory_item_id": 42185218719933, "location_id": 63590301885, "shop_url": "airbyte-integration-test"}, "emitted_at": 1716464698458}
|
||||
{"stream": "inventory_levels", "data": {"id": "63590301885|43653688524989", "updated_at": "2023-04-24T18:00:10+00:00", "quantities": [{"id": 97912455357, "name": "available", "quantity": 0, "updatedAt": "2023-04-24T18:00:10+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=available"}, {"id": 97912455357, "name": "incoming", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=incoming"}, {"id": 97912455357, "name": "committed", "quantity": 0, "updatedAt": "2023-04-24T18:00:09+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=committed"}, {"id": 97912455357, "name": "damaged", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=damaged"}, {"id": 97912455357, "name": "on_hand", "quantity": 0, "updatedAt": "2023-04-24T18:00:09+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=on_hand"}, {"id": 97912455357, "name": "quality_control", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=quality_control"}, {"id": 97912455357, "name": "reserved", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=reserved"}, {"id": 97912455357, "name": "safety_stock", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=safety_stock"}], "admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=43653688524989", "inventory_item_id": 43653688524989, "location_id": 63590301885, "shop_url": "airbyte-integration-test"}, "emitted_at": 1716464698539}
|
||||
{"stream": "inventory_items", "data": {"id": 44871665713341, "harmonized_system_code": null, "province_code_of_origin": null, "updated_at": "2023-04-14T10:29:27+00:00", "created_at": "2023-04-14T10:29:27+00:00", "sku": "", "tracked": true, "requires_shipping": false, "duplicate_sku_count": 0, "country_code_of_origin": null, "admin_graphql_api_id": "gid://shopify/InventoryItem/44871665713341", "cost": 60.0, "currency_code": "USD", "country_harmonized_system_codes": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831428972}
|
||||
{"stream": "inventory_items", "data": {"id": 45419395743933, "harmonized_system_code": "330510", "province_code_of_origin": null, "updated_at": "2023-12-11T10:37:41+00:00", "created_at": "2023-12-11T10:37:41+00:00", "sku": "123", "tracked": true, "requires_shipping": true, "duplicate_sku_count": 0, "country_code_of_origin": "UA", "admin_graphql_api_id": "gid://shopify/InventoryItem/45419395743933", "cost": 29.0, "currency_code": "USD", "country_harmonized_system_codes": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831428973}
|
||||
{"stream": "inventory_levels", "data": {"id": "63590301885|43653688524989", "can_deactivate": false, "created_at": "2022-03-06T22:12:20Z", "deactivation_alert": "Can't unstock from this location because it has committed inventory.", "updated_at": "2023-04-24T18:00:10+00:00", "quantities": [{"id": 97912455357, "name": "available", "quantity": 0, "updatedAt": "2023-04-24T18:00:10+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=available"}, {"id": 97912455357, "name": "incoming", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=incoming"}, {"id": 97912455357, "name": "committed", "quantity": 0, "updatedAt": "2023-04-24T18:00:09+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=committed"}, {"id": 97912455357, "name": "damaged", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=damaged"}, {"id": 97912455357, "name": "on_hand", "quantity": 0, "updatedAt": "2023-04-24T18:00:09+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=on_hand"}, {"id": 97912455357, "name": "quality_control", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=quality_control"}, {"id": 97912455357, "name": "reserved", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=reserved"}, {"id": 97912455357, "name": "safety_stock", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=43653688524989&name=safety_stock"}], "admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=43653688524989", "inventory_item_id": 43653688524989, "inventory_history_url": "https://airbyte-integration-test.myshopify.com/admin/products/inventory/43653688524989/inventory_history", "locations_count": {"count": 1}, "location_id": 63590301885, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831434336}
|
||||
{"stream": "inventory_levels", "data": {"id": "63590301885|44871665713341", "can_deactivate": false, "created_at": "2023-04-14T10:29:27Z", "deactivation_alert": "Can't unstock from this location because it has committed inventory.", "updated_at": "2023-04-14T10:29:27+00:00", "quantities": [{"id": 97912455357, "name": "available", "quantity": 0, "updatedAt": "2023-04-14T10:29:27+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=available"}, {"id": 97912455357, "name": "incoming", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=incoming"}, {"id": 97912455357, "name": "committed", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=committed"}, {"id": 97912455357, "name": "damaged", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=damaged"}, {"id": 97912455357, "name": "on_hand", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=on_hand"}, {"id": 97912455357, "name": "quality_control", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=quality_control"}, {"id": 97912455357, "name": "reserved", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=reserved"}, {"id": 97912455357, "name": "safety_stock", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=44871665713341&name=safety_stock"}], "admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=44871665713341", "inventory_item_id": 44871665713341, "inventory_history_url": "https://airbyte-integration-test.myshopify.com/admin/products/inventory/44871665713341/inventory_history", "locations_count": {"count": 1}, "location_id": 63590301885, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831434336}
|
||||
{"stream": "inventory_levels", "data": {"id": "63590301885|45419395743933", "can_deactivate": false, "created_at": "2023-12-11T10:37:41Z", "deactivation_alert": "Can't unstock from this location because it has committed inventory.", "updated_at": "2023-12-11T10:37:41+00:00", "quantities": [{"id": 97912455357, "name": "available", "quantity": 1, "updatedAt": "2023-12-11T10:37:41+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=available"}, {"id": 97912455357, "name": "incoming", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=incoming"}, {"id": 97912455357, "name": "committed", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=committed"}, {"id": 97912455357, "name": "damaged", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=damaged"}, {"id": 97912455357, "name": "on_hand", "quantity": 1, "updatedAt": "2023-12-11T10:37:41+00:00", "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=on_hand"}, {"id": 97912455357, "name": "quality_control", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=quality_control"}, {"id": 97912455357, "name": "reserved", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=reserved"}, {"id": 97912455357, "name": "safety_stock", "quantity": 0, "updatedAt": null, "admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=45419395743933&name=safety_stock"}], "admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=45419395743933", "inventory_item_id": 45419395743933, "inventory_history_url": "https://airbyte-integration-test.myshopify.com/admin/products/inventory/45419395743933/inventory_history", "locations_count": {"count": 1}, "location_id": 63590301885, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831434337}
|
||||
{"stream": "locations", "data": {"id": 63590301885, "name": "Heroiv UPA 72", "address1": "Heroiv UPA 72", "address2": "", "city": "Lviv", "zip": "30100", "province": null, "country": "UA", "phone": "", "created_at": "2021-06-22T18:00:29-07:00", "updated_at": "2023-11-28T07:08:27-08:00", "country_code": "UA", "country_name": "Ukraine", "province_code": null, "legacy": false, "active": true, "admin_graphql_api_id": "gid://shopify/Location/63590301885", "localized_country_name": "Ukraine", "localized_province_name": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953585688}
|
||||
{"stream": "metafield_articles", "data": {"id": 21519818162365, "namespace": "global", "key": "new", "value": "newvalue", "description": null, "owner_id": 558137508029, "created_at": "2022-10-07T16:09:02-07:00", "updated_at": "2022-10-07T16:09:02-07:00", "owner_resource": "article", "type": "single_line_text_field", "admin_graphql_api_id": "gid://shopify/Metafield/21519818162365", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953587648}
|
||||
{"stream": "metafield_articles", "data": {"id": 22365709992125, "namespace": "custom", "key": "test_blog_post_metafield", "value": "Test Article Metafield", "description": null, "owner_id": 558137508029, "created_at": "2023-04-14T03:18:26-07:00", "updated_at": "2023-04-14T03:18:26-07:00", "owner_resource": "article", "type": "single_line_text_field", "admin_graphql_api_id": "gid://shopify/Metafield/22365709992125", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953587649}
|
||||
@@ -78,23 +78,23 @@
|
||||
{"stream": "price_rules", "data": {"id": 945205379261, "value_type": "percentage", "value": "-100.0", "customer_selection": "all", "target_type": "shipping_line", "target_selection": "all", "allocation_method": "each", "allocation_limit": null, "once_per_customer": false, "usage_limit": null, "starts_at": "2021-07-08T05:40:13-07:00", "ends_at": "2024-01-01T23:59:59-08:00", "created_at": "2021-07-08T05:40:37-07:00", "updated_at": "2023-12-07T03:40:44-08:00", "entitled_product_ids": [], "entitled_variant_ids": [], "entitled_collection_ids": [], "entitled_country_ids": [], "prerequisite_product_ids": [], "prerequisite_variant_ids": [], "prerequisite_collection_ids": [], "customer_segment_prerequisite_ids": [], "prerequisite_customer_ids": [], "prerequisite_subtotal_range": {"greater_than_or_equal_to": "1.0"}, "prerequisite_quantity_range": null, "prerequisite_shipping_price_range": null, "prerequisite_to_entitlement_quantity_ratio": {"prerequisite_quantity": null, "entitled_quantity": null}, "prerequisite_to_entitlement_purchase": {"prerequisite_amount": null}, "title": "HZAVNV2487WC", "admin_graphql_api_id": "gid://shopify/PriceRule/945205379261", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953671891}
|
||||
{"stream": "product_images", "data": {"created_at": "2023-04-14T10:34:46+00:00", "updated_at": "2023-04-14T11:05:13+00:00", "id": 33290489659581, "height": 64, "alt": "Test", "src": "https://cdn.shopify.com/s/files/1/0580/3317/6765/products/Airbytelogo64x64.png?v=1681468487", "width": 64, "admin_graphql_api_id": "gid://shopify/ProductImage/33290489659581", "product_id": 6796229574845, "shop_url": "airbyte-integration-test"}, "emitted_at": 1714673982582}
|
||||
{"stream": "product_images", "data": {"created_at": "2021-06-23T01:09:47+00:00", "updated_at": "2023-04-24T17:27:15+00:00", "id": 29301297316029, "height": 1467, "alt": "updated_mon_24.04.2023", "src": "https://cdn.shopify.com/s/files/1/0580/3317/6765/products/4-ounce-soy-candle.jpg?v=1624410587", "width": 2200, "admin_graphql_api_id": "gid://shopify/ProductImage/29301297316029", "product_id": 6796220989629, "shop_url": "airbyte-integration-test"}, "emitted_at": 1714673982587}
|
||||
{"stream": "products", "data": {"id": 6796217909437, "published_at": "2021-06-23T01:09:27+00:00", "created_at": "2021-06-23T01:09:27+00:00", "status": "ACTIVE", "vendor": "Little Group", "updated_at": "2023-04-20T11:12:25+00:00", "body_html": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "product_type": "Movies", "tags": "developer-tools-generator", "handle": "red-and-navy-tee-sleeve", "template_suffix": null, "title": "Red And Navy Tee Sleeve", "description": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "description_html": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "is_gift_card": false, "legacy_resource_id": "6796217909437", "online_store_preview_url": "https://airbyte-integration-test.myshopify.com/products/red-and-navy-tee-sleeve", "online_store_url": null, "total_inventory": 3, "tracks_inventory": true, "total_variants": 1, "media_count": 0, "options": [{"id": 8720175235261, "name": "Title", "values": ["Plastic"], "position": 1, "product_id": 6796217909437}], "admin_graphql_api_id": "gid://shopify/Product/6796217909437", "images": [], "variants": [{"id": 40090579992765}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1716290626003}
|
||||
{"stream": "products", "data": {"id": 6796217942205, "published_at": "2021-06-23T01:09:27+00:00", "created_at": "2021-06-23T01:09:27+00:00", "status": "ACTIVE", "vendor": "Lang - Bogisich", "updated_at": "2023-04-20T11:12:25+00:00", "body_html": "A grey t-shirt on a hanger. Simple. Classic. Grey.", "product_type": "Home", "tags": "developer-tools-generator", "handle": "grey-t-shirt", "template_suffix": null, "title": "Grey T-Shirt", "description": "A grey t-shirt on a hanger. Simple. Classic. Grey.", "description_html": "A grey t-shirt on a hanger. Simple. Classic. Grey.", "is_gift_card": false, "legacy_resource_id": "6796217942205", "online_store_preview_url": "https://airbyte-integration-test.myshopify.com/products/grey-t-shirt", "online_store_url": null, "total_inventory": 38, "tracks_inventory": true, "total_variants": 1, "media_count": 0, "options": [{"id": 8720175268029, "name": "Title", "values": ["Granite"], "position": 1, "product_id": 6796217942205}], "admin_graphql_api_id": "gid://shopify/Product/6796217942205", "images": [], "variants": [{"id": 40090580025533}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1716290626004}
|
||||
{"stream": "products", "data": {"id": 6796217974973, "published_at": "2021-06-23T01:09:27+00:00", "created_at": "2021-06-23T01:09:27+00:00", "status": "ACTIVE", "vendor": "Fritsch - Ferry", "updated_at": "2023-04-20T11:12:25+00:00", "body_html": "Inflatable pink ice cream pool toy.", "product_type": "Grocery", "tags": "developer-tools-generator", "handle": "pool-floaty-icecream", "template_suffix": null, "title": "Pool Floaty Icecream", "description": "Inflatable pink ice cream pool toy.", "description_html": "Inflatable pink ice cream pool toy.", "is_gift_card": false, "legacy_resource_id": "6796217974973", "online_store_preview_url": "https://airbyte-integration-test.myshopify.com/products/pool-floaty-icecream", "online_store_url": null, "total_inventory": 1, "tracks_inventory": true, "total_variants": 1, "media_count": 0, "options": [{"id": 8720175300797, "name": "Title", "values": ["magenta"], "position": 1, "product_id": 6796217974973}], "admin_graphql_api_id": "gid://shopify/Product/6796217974973", "images": [], "variants": [{"id": 40090580091069}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1716290626005}
|
||||
{"stream": "products", "data": {"id": 6796217843901, "published_at": null, "created_at": "2021-06-23T01:09:26+00:00", "status": "ARCHIVED", "vendor": "Hayes, Hettinger and Hauck", "updated_at": "2023-09-05T14:12:05+00:00", "body_html": "A close-up side view of a woman's off-white shirt shows the design detail in the lace.", "product_type": "Beauty", "tags": "developer-tools-generator", "handle": "lace-detail-on-womens-top", "template_suffix": null, "title": "Lace Detail On Womens Top", "description": "A close-up side view of a woman's off-white shirt shows the design detail in the lace.", "description_html": "A close-up side view of a woman's off-white shirt shows the design detail in the lace.", "is_gift_card": false, "legacy_resource_id": "6796217843901", "online_store_preview_url": "https://euttcpkw6losfycn-58033176765.shopifypreview.com/products_preview?preview_key=9c0ead4abdca0077f2d83b7095cb8745&_bt=eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaXRoYVhKaWVYUmxMV2x1ZEdWbmNtRjBhVzl1TFhSbGMzUXViWGx6YUc5d2FXWjVMbU52YlFZNkJrVlUiLCJleHAiOiIyMDI0LTA2LTE5VDIyOjE0OjA2LjIxN1oiLCJwdXIiOiJwZXJtYW5lbnRfcGFzc3dvcmRfYnlwYXNzIn19--edaefa6b7694f5bd61f0a4d02b12944d47ec48e9", "online_store_url": null, "total_inventory": 12, "tracks_inventory": true, "has_only_default_variant": false, "has_out_of_stock_variants": false, "requires_selling_plan": false, "price_range_v2": {"max_variant_price": {"amount": 85.0, "currency_code": "USD"}, "min_variant_price": {"amount": 85.0, "currency_code": "USD"}}, "featured_image": null, "seo": {"description": null, "title": null}, "featured_media": null, "feedback": null, "total_variants": 1, "media_count": 0, "options": [{"id": 8720175169725, "name": "Title", "values": ["Soft"], "position": 1, "product_id": 6796217843901}], "admin_graphql_api_id": "gid://shopify/Product/6796217843901", "images": [], "variants": [{"id": 40090579959997}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831655260}
|
||||
{"stream": "products", "data": {"id": 6796229509309, "published_at": "2021-06-23T01:10:48+00:00", "created_at": "2021-06-23T01:10:48+00:00", "status": "ACTIVE", "vendor": "Bosco Inc", "updated_at": "2023-12-11T10:37:41+00:00", "body_html": "Close up of white soy candle in clear container on brown wooden table.", "product_type": "Sports", "tags": "developer-tools-generator", "handle": "8-ounce-soy-candle", "template_suffix": null, "title": "8 Ounce Soy Candle", "description": "Close up of white soy candle in clear container on brown wooden table.", "description_html": "Close up of white soy candle in clear container on brown wooden table.", "is_gift_card": false, "legacy_resource_id": "6796229509309", "online_store_preview_url": "https://airbyte-integration-test.myshopify.com/products/8-ounce-soy-candle", "online_store_url": null, "total_inventory": 74, "tracks_inventory": true, "has_only_default_variant": false, "has_out_of_stock_variants": false, "requires_selling_plan": false, "price_range_v2": {"max_variant_price": {"amount": 113.0, "currency_code": "USD"}, "min_variant_price": {"amount": 60.0, "currency_code": "USD"}}, "featured_image": {"height": 1467, "id": "gid://shopify/ProductImage/29301303345341", "url": "https://cdn.shopify.com/s/files/1/0580/3317/6765/products/8-ounce-soy-candle.jpg?v=1624410648", "width": 2200, "alt_text": null}, "seo": {"description": null, "title": null}, "featured_media": {"alt": "", "id": "gid://shopify/MediaImage/21562162020541", "status": "READY", "media_content_type": "IMAGE", "preview": {"status": "READY", "image": {"id": "gid://shopify/ImageSource/21570966323389", "alt_text": ""}}, "media_errors": [], "media_warnings": []}, "feedback": null, "total_variants": 4, "media_count": 1, "options": [{"id": 8720186900669, "name": "Title", "values": ["purple", "Frozen", "Wooden", "Test Variant"], "position": 1, "product_id": 6796229509309}], "admin_graphql_api_id": "gid://shopify/Product/6796229509309", "images": [{"id": 29301303345341}], "variants": [{"id": 40090603946173}, {"id": 40090603978941}, {"id": 40090604011709}, {"id": 43315735396541}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831655261}
|
||||
{"stream": "products", "data": {"id": 6796217909437, "published_at": "2021-06-23T01:09:27+00:00", "created_at": "2021-06-23T01:09:27+00:00", "status": "ACTIVE", "vendor": "Little Group", "updated_at": "2024-05-29T19:04:49+00:00", "body_html": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "product_type": "Movies", "tags": "another tag, developer-tools-generator", "handle": "red-and-navy-tee-sleeve", "template_suffix": null, "title": "Red And Navy Tee Sleeve", "description": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "description_html": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "is_gift_card": false, "legacy_resource_id": "6796217909437", "online_store_preview_url": "https://airbyte-integration-test.myshopify.com/products/red-and-navy-tee-sleeve", "online_store_url": null, "total_inventory": 3, "tracks_inventory": true, "has_only_default_variant": false, "has_out_of_stock_variants": false, "requires_selling_plan": false, "price_range_v2": {"max_variant_price": {"amount": 23.0, "currency_code": "USD"}, "min_variant_price": {"amount": 23.0, "currency_code": "USD"}}, "featured_image": null, "seo": {"description": null, "title": null}, "featured_media": null, "feedback": null, "total_variants": 1, "media_count": 0, "options": [{"id": 8720175235261, "name": "Title", "values": ["Plastic"], "position": 1, "product_id": 6796217909437}], "admin_graphql_api_id": "gid://shopify/Product/6796217909437", "images": [], "variants": [{"id": 40090579992765}], "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831655261}
|
||||
{"stream": "products_graph_ql", "data": {"id": "gid://shopify/Product/6796217843901", "title": "Lace Detail On Womens Top", "updatedAt": "2023-09-05T14:12:05Z", "createdAt": "2021-06-23T01:09:26Z", "publishedAt": null, "status": "ARCHIVED", "vendor": "Hayes, Hettinger and Hauck", "productType": "Beauty", "tags": ["developer-tools-generator"], "options": [{"id": "gid://shopify/ProductOption/8720175169725", "name": "Title", "position": 1, "values": ["Soft"]}], "handle": "lace-detail-on-womens-top", "description": "A close-up side view of a woman's off-white shirt shows the design detail in the lace.", "tracksInventory": true, "totalInventory": 12, "totalVariants": 1, "onlineStoreUrl": null, "onlineStorePreviewUrl": "https://2p5oyhnqeai50h4v-58033176765.shopifypreview.com/products_preview?preview_key=49fdc517904f477196144662c8ad7b8f&_bt=eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaEpJaXRoYVhKaWVYUmxMV2x1ZEdWbmNtRjBhVzl1TFhSbGMzUXViWGx6YUc5d2FXWjVMbU52YlFZNkJrVlUiLCJleHAiOiIyMDI0LTAyLTI2VDE0OjIxOjE5LjAyOVoiLCJwdXIiOiJwZXJtYW5lbnRfcGFzc3dvcmRfYnlwYXNzIn19--a4d2e3e622f6ab0bcd3820bf524f8f50b65c14d7", "descriptionHtml": "A close-up side view of a woman's off-white shirt shows the design detail in the lace.", "isGiftCard": false, "legacyResourceId": "6796217843901", "mediaCount": 0, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953679676}
|
||||
{"stream": "products_graph_ql", "data": {"id": "gid://shopify/Product/6796217909437", "title": "Red And Navy Tee Sleeve", "updatedAt": "2023-04-20T11:12:25Z", "createdAt": "2021-06-23T01:09:27Z", "publishedAt": "2021-06-23T01:09:27Z", "status": "ACTIVE", "vendor": "Little Group", "productType": "Movies", "tags": ["developer-tools-generator"], "options": [{"id": "gid://shopify/ProductOption/8720175235261", "name": "Title", "position": 1, "values": ["Plastic"]}], "handle": "red-and-navy-tee-sleeve", "description": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "tracksInventory": true, "totalInventory": 3, "totalVariants": 1, "onlineStoreUrl": null, "onlineStorePreviewUrl": "https://airbyte-integration-test.myshopify.com/products/red-and-navy-tee-sleeve", "descriptionHtml": "Zoom in on the sleeve of a red t-shirt with navy blue trim along the sleeve. Looks like a great tennis outfit.", "isGiftCard": false, "legacyResourceId": "6796217909437", "mediaCount": 0, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953679682}
|
||||
{"stream": "products_graph_ql", "data": {"id": "gid://shopify/Product/6796217942205", "title": "Grey T-Shirt", "updatedAt": "2023-04-20T11:12:25Z", "createdAt": "2021-06-23T01:09:27Z", "publishedAt": "2021-06-23T01:09:27Z", "status": "ACTIVE", "vendor": "Lang - Bogisich", "productType": "Home", "tags": ["developer-tools-generator"], "options": [{"id": "gid://shopify/ProductOption/8720175268029", "name": "Title", "position": 1, "values": ["Granite"]}], "handle": "grey-t-shirt", "description": "A grey t-shirt on a hanger. Simple. Classic. Grey.", "tracksInventory": true, "totalInventory": 38, "totalVariants": 1, "onlineStoreUrl": null, "onlineStorePreviewUrl": "https://airbyte-integration-test.myshopify.com/products/grey-t-shirt", "descriptionHtml": "A grey t-shirt on a hanger. Simple. Classic. Grey.", "isGiftCard": false, "legacyResourceId": "6796217942205", "mediaCount": 0, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953679683}
|
||||
{"stream": "product_variants", "data": {"id": 40090579992765, "product_id": 6796217909437, "title": "Plastic", "price": 23.0, "sku": "", "position": 1, "inventory_policy": "deny", "compare_at_price": null, "fulfillment_service": "manual", "inventory_management": "shopify", "option1": "Plastic", "option2": null, "option3": null, "created_at": "2021-06-22T18:09:27-07:00", "updated_at": "2023-10-27T09:55:54-07:00", "taxable": true, "barcode": null, "grams": 39, "weight": 39.0, "weight_unit": "g", "inventory_item_id": 42185194700989, "inventory_quantity": 3, "old_inventory_quantity": 3, "requires_shipping": true, "admin_graphql_api_id": "gid://shopify/ProductVariant/40090579992765", "image_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953681543}
|
||||
{"stream": "product_variants", "data": {"id": 40090580025533, "product_id": 6796217942205, "title": "Granite", "price": 70.0, "sku": "", "position": 1, "inventory_policy": "deny", "compare_at_price": null, "fulfillment_service": "manual", "inventory_management": "shopify", "option1": "Granite", "option2": null, "option3": null, "created_at": "2021-06-22T18:09:27-07:00", "updated_at": "2023-10-27T09:55:54-07:00", "taxable": true, "barcode": null, "grams": 0, "weight": 0.0, "weight_unit": "g", "inventory_item_id": 42185194733757, "inventory_quantity": 38, "old_inventory_quantity": 38, "requires_shipping": false, "admin_graphql_api_id": "gid://shopify/ProductVariant/40090580025533", "image_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953681544}
|
||||
{"stream": "product_variants", "data": {"id": 40090580091069, "product_id": 6796217974973, "title": "magenta", "price": 57.0, "sku": "", "position": 1, "inventory_policy": "deny", "compare_at_price": null, "fulfillment_service": "manual", "inventory_management": "shopify", "option1": "magenta", "option2": null, "option3": null, "created_at": "2021-06-22T18:09:27-07:00", "updated_at": "2023-10-27T09:55:54-07:00", "taxable": true, "barcode": null, "grams": 499, "weight": 499.0, "weight_unit": "g", "inventory_item_id": 42185194766525, "inventory_quantity": 1, "old_inventory_quantity": 1, "requires_shipping": true, "admin_graphql_api_id": "gid://shopify/ProductVariant/40090580091069", "image_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953681544}
|
||||
{"stream": "product_variants", "data": {"id": 42595864019133, "title": "Large", "price": 15.69, "sku": "", "position": 3, "inventory_policy": "DENY", "compare_at_price": "17.00", "inventory_management": "SHOPIFY", "created_at": "2023-01-06T18:35:26+00:00", "updated_at": "2023-10-27T16:56:50+00:00", "taxable": true, "barcode": "", "weight": 0.0, "weight_unit": "KILOGRAMS", "inventory_quantity": 34, "requires_shipping": true, "available_for_sale": true, "display_name": "T-shirt - Large", "tax_code": "", "grams": 0, "old_inventory_quantity": 34, "fulfillment_service": "manual", "admin_graphql_api_id": "gid://shopify/ProductVariant/42595864019133", "presentment_prices": [{"price": {"amount": 15.69, "currency_code": "USD"}, "compare_at_price": {"amount": 17.0, "currency_code": "USD"}}], "product_id": 7423139250365, "inventory_item_id": 44688621207741, "image_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831678388}
|
||||
{"stream": "product_variants", "data": {"id": 42778150305981, "title": "Test 234", "price": 59.0, "sku": "", "position": 3, "inventory_policy": "DENY", "compare_at_price": null, "inventory_management": "SHOPIFY", "created_at": "2023-04-14T10:29:27+00:00", "updated_at": "2023-10-27T16:56:39+00:00", "taxable": true, "barcode": "", "weight": 0.0, "weight_unit": "GRAMS", "inventory_quantity": 0, "requires_shipping": false, "available_for_sale": false, "display_name": "All Black Sneaker Right Foot - Test 234", "tax_code": "", "grams": 0, "old_inventory_quantity": 0, "fulfillment_service": "manual", "admin_graphql_api_id": "gid://shopify/ProductVariant/42778150305981", "presentment_prices": [{"price": {"amount": 59.0, "currency_code": "USD"}, "compare_at_price": {"amount": null}}], "product_id": 6796226560189, "inventory_item_id": 44871665713341, "image_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831678388}
|
||||
{"stream": "product_variants", "data": {"id": 43315735396541, "title": "Test Variant", "price": 113.0, "sku": "123", "position": 4, "inventory_policy": "CONTINUE", "compare_at_price": "1.00", "inventory_management": "SHOPIFY", "created_at": "2023-12-11T10:37:41+00:00", "updated_at": "2023-12-11T10:37:41+00:00", "taxable": true, "barcode": "123", "weight": 127.0, "weight_unit": "GRAMS", "inventory_quantity": 1, "requires_shipping": true, "available_for_sale": true, "display_name": "8 Ounce Soy Candle - Test Variant", "tax_code": "", "grams": 127, "old_inventory_quantity": 1, "fulfillment_service": "manual", "admin_graphql_api_id": "gid://shopify/ProductVariant/43315735396541", "presentment_prices": [{"price": {"amount": 113.0, "currency_code": "USD"}, "compare_at_price": {"amount": 1.0, "currency_code": "USD"}}], "product_id": 6796229509309, "inventory_item_id": 45419395743933, "image_id": null, "shop_url": "airbyte-integration-test"}, "emitted_at": 1718831678388}
|
||||
{"stream": "shop", "data": {"id": 58033176765, "name": "airbyte integration test", "email": "sherif@airbyte.io", "domain": "airbyte-integration-test.myshopify.com", "province": "California", "country": "US", "address1": "350 29th Avenue", "zip": "94121", "city": "San Francisco", "source": null, "phone": "8023494963", "latitude": 37.7827286, "longitude": -122.4889911, "primary_locale": "en", "address2": "", "created_at": "2021-06-22T18:00:23-07:00", "updated_at": "2024-01-30T21:11:05-08:00", "country_code": "US", "country_name": "United States", "currency": "USD", "customer_email": "sherif@airbyte.io", "timezone": "(GMT-08:00) America/Los_Angeles", "iana_timezone": "America/Los_Angeles", "shop_owner": "Airbyte Airbyte", "money_format": "${{amount}}", "money_with_currency_format": "${{amount}} USD", "weight_unit": "kg", "province_code": "CA", "taxes_included": true, "auto_configure_tax_inclusivity": null, "tax_shipping": null, "county_taxes": true, "plan_display_name": "Developer Preview", "plan_name": "partner_test", "has_discounts": true, "has_gift_cards": false, "myshopify_domain": "airbyte-integration-test.myshopify.com", "google_apps_domain": null, "google_apps_login_enabled": null, "money_in_emails_format": "${{amount}}", "money_with_currency_in_emails_format": "${{amount}} USD", "eligible_for_payments": true, "requires_extra_payments_agreement": false, "password_enabled": true, "has_storefront": true, "finances": true, "primary_location_id": 63590301885, "checkout_api_supported": true, "multi_location_enabled": true, "setup_required": false, "pre_launch_enabled": false, "enabled_presentment_currencies": ["USD"], "transactional_sms_disabled": false, "marketing_sms_consent_enabled_at_checkout": false, "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953683813}
|
||||
{"stream": "smart_collections", "data": {"id": 273278566589, "handle": "test-collection", "title": "Test Collection", "updated_at": "2023-09-05T07:12:04-07:00", "body_html": "updated_mon_24.04.2023", "published_at": "2021-07-19T07:02:54-07:00", "sort_order": "best-selling", "template_suffix": "", "disjunctive": false, "rules": ["{'column': 'type', 'relation': 'equals', 'condition': 'Beauty'}"], "published_scope": "web", "admin_graphql_api_id": "gid://shopify/Collection/273278566589", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953684911}
|
||||
{"stream": "tender_transactions", "data": {"id": 4464009117885, "order_id": 5033391718589, "amount": "19.00", "currency": "USD", "user_id": null, "test": false, "processed_at": "2023-04-24T11:00:08-07:00", "remote_reference": null, "payment_details": null, "payment_method": "other", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953685992}
|
||||
{"stream": "tender_transactions", "data": {"id": 4448993542333, "order_id": 5010585911485, "amount": "19.00", "currency": "USD", "user_id": null, "test": false, "processed_at": "2023-04-13T05:11:15-07:00", "remote_reference": null, "payment_details": null, "payment_method": "other", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953685994}
|
||||
{"stream": "tender_transactions", "data": {"id": 4448992690365, "order_id": 5010584895677, "amount": "102.00", "currency": "USD", "user_id": null, "test": false, "processed_at": "2023-04-13T05:09:44-07:00", "remote_reference": null, "payment_details": null, "payment_method": "other", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953685995}
|
||||
{"stream": "transactions", "data": {"id": 6281692217533, "order_id": 5010584895677, "kind": "sale", "gateway": "manual", "status": "success", "message": "Marked the manual payment as received", "created_at": "2023-04-13T05:09:44-07:00", "test": false, "authorization": null, "location_id": null, "user_id": null, "parent_id": null, "processed_at": "2023-04-13T05:09:44-07:00", "device_id": null, "error_code": null, "source_name": "checkout_one", "receipt": {}, "amount": 102.0, "currency": "USD", "payment_id": "r9BerEaVJ5OzQNmPGZsK2V7zq", "total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}}, "admin_graphql_api_id": "gid://shopify/OrderTransaction/6281692217533", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953688151}
|
||||
{"stream": "transactions", "data": {"id": 6281693561021, "order_id": 5010585911485, "kind": "sale", "gateway": "manual", "status": "success", "message": "Marked the manual payment as received", "created_at": "2023-04-13T05:11:15-07:00", "test": false, "authorization": null, "location_id": null, "user_id": null, "parent_id": null, "processed_at": "2023-04-13T05:11:15-07:00", "device_id": null, "error_code": null, "source_name": "checkout_one", "receipt": {}, "amount": 19.0, "currency": "USD", "payment_id": "rguGpKMnZqzpEzPvDfnSS8x4B", "total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}}, "admin_graphql_api_id": "gid://shopify/OrderTransaction/6281693561021", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953688613}
|
||||
{"stream": "transactions", "data": {"id": 6302086037693, "order_id": 5033391718589, "kind": "sale", "gateway": "manual", "status": "success", "message": "Marked the manual payment as received", "created_at": "2023-04-24T11:00:08-07:00", "test": false, "authorization": null, "location_id": null, "user_id": null, "parent_id": null, "processed_at": "2023-04-24T11:00:08-07:00", "device_id": null, "error_code": null, "source_name": "checkout_one", "receipt": {}, "amount": 19.0, "currency": "USD", "payment_id": "ru7Najsh1HavL8RRkZHavCzGe", "total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}}, "admin_graphql_api_id": "gid://shopify/OrderTransaction/6302086037693", "shop_url": "airbyte-integration-test"}, "emitted_at": 1710501533693}
|
||||
{"stream": "transactions", "data": {"id": 4933790040253, "order_id": 3935377129661, "kind": "sale", "gateway": "bogus", "status": "success", "message": "Bogus Gateway: Forced success", "created_at": "2021-07-02T00:51:49-07:00", "test": true, "authorization": "53433", "location_id": null, "user_id": null, "parent_id": null, "processed_at": "2021-07-02T00:51:49-07:00", "device_id": null, "error_code": null, "source_name": "shopify_draft_order", "payment_details": {"credit_card_bin": "1", "avs_result_code": null, "cvv_result_code": null, "credit_card_number": "\u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 1", "credit_card_company": "Bogus", "buyer_action_info": null, "credit_card_name": "Bogus Gateway", "credit_card_wallet": null, "credit_card_expiration_month": 11, "credit_card_expiration_year": 2023, "payment_method_name": "bogus"}, "receipt": {"paid_amount": "102.00"}, "amount": 102.0, "currency": "USD", "payment_id": "c21670281707709.1", "total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}}, "manual_payment_gateway": false, "admin_graphql_api_id": "gid://shopify/OrderTransaction/4933790040253", "shop_url": "airbyte-integration-test"}, "emitted_at": 1718832155116}
|
||||
{"stream": "transactions", "data": {"id": 5189894406333, "order_id": 3935377129661, "kind": "refund", "gateway": "bogus", "status": "success", "message": "Bogus Gateway: Forced success", "created_at": "2021-09-21T05:31:58-07:00", "test": true, "authorization": null, "location_id": null, "user_id": 74861019325, "parent_id": 4933790040253, "processed_at": "2021-09-21T05:31:58-07:00", "device_id": null, "error_code": null, "source_name": "1830279", "payment_details": {"credit_card_bin": "1", "avs_result_code": null, "cvv_result_code": null, "credit_card_number": "\u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 1", "credit_card_company": "Bogus", "buyer_action_info": null, "credit_card_name": "Bogus Gateway", "credit_card_wallet": null, "credit_card_expiration_month": 11, "credit_card_expiration_year": 2023, "payment_method_name": "bogus"}, "receipt": {"paid_amount": "102.00"}, "amount": 102.0, "currency": "USD", "payment_id": "c21670281707709.2", "total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}}, "manual_payment_gateway": false, "admin_graphql_api_id": "gid://shopify/OrderTransaction/5189894406333", "shop_url": "airbyte-integration-test"}, "emitted_at": 1718832155118}
|
||||
{"stream": "transactions", "data": {"id": 6302086037693, "order_id": 5033391718589, "kind": "sale", "gateway": "manual", "status": "success", "message": "Marked the manual payment as received", "created_at": "2023-04-24T11:00:08-07:00", "test": false, "authorization": null, "location_id": null, "user_id": null, "parent_id": null, "processed_at": "2023-04-24T11:00:08-07:00", "device_id": null, "error_code": null, "source_name": "checkout_one", "receipt": {}, "amount": 19.0, "currency": "USD", "payment_id": "ru7Najsh1HavL8RRkZHavCzGe", "total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}}, "manual_payment_gateway": true, "admin_graphql_api_id": "gid://shopify/OrderTransaction/6302086037693", "shop_url": "airbyte-integration-test"}, "emitted_at": 1718832155388}
|
||||
{"stream": "customer_address", "data": {"address1": "My Best Accent", "address2": "", "city": "Fair Lawn", "country": "United States", "country_code": "US", "company": "Test Company", "first_name": "New Test", "id": 8092523135165, "last_name": "Customer", "name": "New Test Customer", "phone": "", "province": "New Jersey", "province_code": "NJ", "zip": "07410", "customer_id": 6569096478909, "country_name": "United States", "default": true, "updated_at": "2023-04-24T13:53:48+00:00", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953700866}
|
||||
{"stream": "customer_address", "data": {"address1": null, "address2": null, "city": null, "country": null, "country_code": null, "company": null, "first_name": "MArcos", "id": 8212915650749, "last_name": "Millnitz", "name": "MArcos Millnitz", "phone": null, "province": null, "province_code": null, "zip": null, "customer_id": 6676027932861, "country_name": null, "default": true, "updated_at": "2023-07-11T20:07:45+00:00", "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953700867}
|
||||
{"stream": "countries", "data": {"id": 417014841533, "name": "Rest of World", "code": "*", "tax_name": "Tax", "tax": 0.0, "provinces": [], "shop_url": "airbyte-integration-test"}, "emitted_at": 1708953701837}
|
||||
|
||||
@@ -11,7 +11,7 @@ data:
|
||||
connectorSubtype: api
|
||||
connectorType: source
|
||||
definitionId: 9da77001-af33-4bcd-be46-6252bf9342b9
|
||||
dockerImageTag: 2.4.1
|
||||
dockerImageTag: 2.4.4
|
||||
dockerRepository: airbyte/source-shopify
|
||||
documentationUrl: https://docs.airbyte.com/integrations/sources/shopify
|
||||
githubIssueLabel: source-shopify
|
||||
|
||||
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
[tool.poetry]
|
||||
version = "2.4.1"
|
||||
version = "2.4.4"
|
||||
name = "source-shopify"
|
||||
description = "Source CDK implementation for Shopify."
|
||||
authors = [ "Airbyte <contact@airbyte.io>",]
|
||||
|
||||
@@ -23,6 +23,19 @@
|
||||
"type": ["null", "string"],
|
||||
"format": "date-time"
|
||||
},
|
||||
"createdBy": {
|
||||
"description": "The application that created the discount reedem code.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"title": {
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"updated_at": {
|
||||
"description": "The date and time when the discount code was last updated",
|
||||
"type": ["null", "string"],
|
||||
@@ -36,6 +49,64 @@
|
||||
"description": "The type of discount applied by the discount code, such as a percentage or fixed amount off",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"typename": {
|
||||
"description": "The typename of the discount",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"starts_at": {
|
||||
"description": "The date and time when the discount code is activated.",
|
||||
"type": ["null", "string"],
|
||||
"format": "date-time"
|
||||
},
|
||||
"ends_at": {
|
||||
"description": "The date and time when the discount code is deactivated.",
|
||||
"type": ["null", "string"],
|
||||
"format": "date-time"
|
||||
},
|
||||
"status": {
|
||||
"description": "The status of the Discount",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"title": {
|
||||
"description": "The title of the discount.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"usage_limit": {
|
||||
"description": "The maximum number of times that the discount can be used.",
|
||||
"type": ["null", "integer"]
|
||||
},
|
||||
"applies_once_per_customer": {
|
||||
"description": "Whether the discount can be applied only once per customer.",
|
||||
"type": ["null", "boolean"]
|
||||
},
|
||||
"async_usage_count": {
|
||||
"description": "The number of times that the discount has been used.",
|
||||
"type": ["null", "integer"]
|
||||
},
|
||||
"codes_count": {
|
||||
"description": "The number of redeem codes for the discount.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"count": {
|
||||
"description": "The count of elements.",
|
||||
"type": ["null", "integer"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"total_sales": {
|
||||
"description": "The total sales from orders where the discount was used.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"amount": {
|
||||
"type": ["null", "number"]
|
||||
},
|
||||
"currency_code": {
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"admin_graphql_api_id": {
|
||||
"description": "The unique identifier for the discount code in the Shopify Admin GraphQL API",
|
||||
"type": ["null", "string"]
|
||||
|
||||
@@ -6,6 +6,10 @@
|
||||
"description": "The unique identifier of the assigned location",
|
||||
"type": ["null", "integer"]
|
||||
},
|
||||
"channel_id": {
|
||||
"description": "The ID of the channel that created an order",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"destination": {
|
||||
"description": "Details of the destination where the order is to be fulfilled",
|
||||
"type": ["null", "object"],
|
||||
|
||||
@@ -14,6 +14,10 @@
|
||||
"description": "The cost of the inventory item",
|
||||
"type": ["null", "number"]
|
||||
},
|
||||
"currency_code": {
|
||||
"description": "Currency of the money",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"country_code_of_origin": {
|
||||
"description": "The country code indicating the origin of the inventory item",
|
||||
"type": ["null", "string"]
|
||||
@@ -25,6 +29,10 @@
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
},
|
||||
"duplicate_sku_count": {
|
||||
"description": "The number of inventory items that share the same SKU with this item",
|
||||
"type": ["null", "integer"]
|
||||
},
|
||||
"harmonized_system_code": {
|
||||
"description": "The harmonized system code for the inventory item",
|
||||
"type": ["null", "string"]
|
||||
|
||||
@@ -14,6 +14,34 @@
|
||||
"description": "The quantity of items available for sale in the inventory.",
|
||||
"type": ["null", "integer"]
|
||||
},
|
||||
"can_deactivate": {
|
||||
"description": "Whether the inventory items associated with the inventory level can be deactivated.",
|
||||
"type": ["null", "boolean"]
|
||||
},
|
||||
"created_at": {
|
||||
"description": "The date and time when the inventory level was created.",
|
||||
"type": ["null", "string"],
|
||||
"format": "date-time"
|
||||
},
|
||||
"inventory_history_url": {
|
||||
"description": "The URL that points to the inventory history for the item.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"locations_count": {
|
||||
"description": "The number of locations where this inventory item is stocked.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"count": {
|
||||
"description": "The count of elements.",
|
||||
"type": ["null", "integer"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"deactivation_alert": {
|
||||
"description": "Describes either the impact of deactivating the inventory level, or why the inventory level can't be deactivated.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"inventory_item_id": {
|
||||
"description": "The unique identifier for the associated inventory item.",
|
||||
"type": ["null", "integer"]
|
||||
|
||||
@@ -147,6 +147,18 @@
|
||||
"shop_url": {
|
||||
"description": "The URL of the shop where the variant is listed",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"available_for_sale": {
|
||||
"description": "Whether the product variant is available for sale.",
|
||||
"type": ["null", "boolean"]
|
||||
},
|
||||
"display_name": {
|
||||
"description": "Display name of the variant, based on product's title + variant's title.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"tax_code": {
|
||||
"description": "The tax code for the product variant.",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -411,6 +411,241 @@
|
||||
"tracks_inventory": {
|
||||
"description": "Indicates whether inventory tracking is enabled for the product.",
|
||||
"type": ["null", "boolean"]
|
||||
},
|
||||
"has_only_default_variant": {
|
||||
"description": "Whether the product has only a single variant with the default option and value.",
|
||||
"type": ["null", "boolean"]
|
||||
},
|
||||
"has_out_of_stock_variants": {
|
||||
"description": "Whether the product has out of stock variants.",
|
||||
"type": ["null", "boolean"]
|
||||
},
|
||||
"requires_sellin_plan": {
|
||||
"description": "Whether the product can only be purchased with a selling plan (subscription)",
|
||||
"type": ["null", "boolean"]
|
||||
},
|
||||
"price_range_v2": {
|
||||
"description": "The price range of the product with prices formatted as decimals.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"max_variant_price": {
|
||||
"description": "The highest variant's price.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"amount": {
|
||||
"description": "Decimal money amount.",
|
||||
"type": ["null", "number"]
|
||||
},
|
||||
"currency_code": {
|
||||
"description": "Currency of the money.",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"min_variant_price": {
|
||||
"description": "The lowest variant's price.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"amount": {
|
||||
"description": "Decimal money amount.",
|
||||
"type": ["null", "number"]
|
||||
},
|
||||
"currency_code": {
|
||||
"description": "Currency of the money.",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"featured_image": {
|
||||
"description": "The featured image for the product.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"alt_text": {
|
||||
"description": "A word or phrase to share the nature or contents of an image.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"height": {
|
||||
"description": "The original height of the image in pixels. Returns null if the image isn't hosted by Shopify.",
|
||||
"type": ["null", "integer"]
|
||||
},
|
||||
"id": {
|
||||
"description": "A unique ID for the image.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"url": {
|
||||
"description": "The location of the image as a URL.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"width": {
|
||||
"description": "The original width of the image in pixels. Returns null if the image isn't hosted by Shopify.",
|
||||
"type": ["null", "integer"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"seo": {
|
||||
"description": "SEO information of the product.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"description": {
|
||||
"description": "SEO Description.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"title": {
|
||||
"description": "SEO Title.",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"featured_media": {
|
||||
"description": "The featured media for the product.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"alt": {
|
||||
"description": "A word or phrase to share the nature or contents of a media.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"id": {
|
||||
"description": "A globally-unique ID.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"media_content_type": {
|
||||
"description": "The media content type.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"status": {
|
||||
"description": "Current status of the media.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"preview": {
|
||||
"description": "The preview image for the media.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"status": {
|
||||
"description": "Current status of the preview image.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"image": {
|
||||
"description": "The preview image for the media. Returns 'null' until status is 'READY'",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "A unique ID for the image.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"alt_text": {
|
||||
"description": "A word or phrase to share the nature or contents of an image.",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"media_errors": {
|
||||
"description": "Any errors which have occurred on the media.",
|
||||
"type": ["null", "array"],
|
||||
"items": {
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"code": {
|
||||
"description": "Code representing the type of error.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"details": {
|
||||
"description": "Additional details regarding the error.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"message": {
|
||||
"description": "Translated error message.",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"media_warnings": {
|
||||
"description": "The warnings attached to the media.",
|
||||
"type": ["null", "array"],
|
||||
"items": {
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"code": {
|
||||
"description": "The code representing the type of warning.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"message": {
|
||||
"description": "Translated warning message.",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"feedback": {
|
||||
"description": "Information about the product that's provided through resource feedback.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"details": {
|
||||
"description": "List of AppFeedback detailing issues regarding a resource.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"app": {
|
||||
"description": "The application associated to the feedback.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "A globally-unique ID.",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"link": {
|
||||
"description": "A link to where merchants can resolve errors.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"url": {
|
||||
"description": "The URL that the link visits.",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"messages": {
|
||||
"description": "The feedback message presented to the merchant.",
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"field": {
|
||||
"description": "The path to the input field that caused the error.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"message": {
|
||||
"description": "The error message.",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"summary": {
|
||||
"description": "Summary of resource feedback pertaining to the resource.",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,6 +32,102 @@
|
||||
"description": "The amount of the transaction",
|
||||
"type": ["null", "number"]
|
||||
},
|
||||
"amount_set": {
|
||||
"description": "The amount and currency of the transaction in shop",
|
||||
"type": ["null", "object"],
|
||||
"properties": {
|
||||
"shop_money": {
|
||||
"description": "Amount in the shop currency",
|
||||
"type": ["null", "object"],
|
||||
"properties": {
|
||||
"amount": {
|
||||
"description": "Amount in the shop currency",
|
||||
"type": ["null", "number"]
|
||||
},
|
||||
"currency": {
|
||||
"description": "Currency of the shop amount",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"fees": {
|
||||
"description": "The transaction fees charged on the order transaction. Only present for Shopify Payments transactions.",
|
||||
"type": ["null", "array"],
|
||||
"items": {
|
||||
"type": ["null", "object"],
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "A globally-unique ID.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"admin_graphql_api_id": {
|
||||
"description": "Unique identifier for the resource in the GraphQL Admin API",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"rate": {
|
||||
"description": "Percentage charge.",
|
||||
"type": ["null", "number"]
|
||||
},
|
||||
"type": {
|
||||
"description": "Name of the type of fee.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"flat_fee_name": {
|
||||
"description": "Name of the credit card flat fee.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"rate_name": {
|
||||
"description": "Percentage charge.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"amount": {
|
||||
"description": "Amount in the shop currency",
|
||||
"type": ["null", "object"],
|
||||
"properties": {
|
||||
"amount": {
|
||||
"description": "Amount in the shop currency",
|
||||
"type": ["null", "number"]
|
||||
},
|
||||
"currency": {
|
||||
"description": "Currency of the shop amount",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"flat_fee": {
|
||||
"description": "Amount in the shop currency",
|
||||
"type": ["null", "object"],
|
||||
"properties": {
|
||||
"amount": {
|
||||
"description": "Amount in the shop currency",
|
||||
"type": ["null", "number"]
|
||||
},
|
||||
"currency": {
|
||||
"description": "Currency of the shop amount",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"tax_amount": {
|
||||
"description": "Amount in the shop currency",
|
||||
"type": ["null", "object"],
|
||||
"properties": {
|
||||
"amount": {
|
||||
"description": "Amount in the shop currency",
|
||||
"type": ["null", "number"]
|
||||
},
|
||||
"currency": {
|
||||
"description": "Currency of the shop amount",
|
||||
"type": ["null", "string"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"authorization": {
|
||||
"description": "Authorization code for the transaction",
|
||||
"type": ["null", "string"]
|
||||
@@ -197,6 +293,18 @@
|
||||
"description": "ID of the location where the transaction took place",
|
||||
"type": ["null", "integer"]
|
||||
},
|
||||
"accountNumber": {
|
||||
"description": "The masked account number associated with the payment method.",
|
||||
"type": ["null", "integer"]
|
||||
},
|
||||
"formattedGateway": {
|
||||
"description": "The human-readable payment gateway name used to process the transaction.",
|
||||
"type": ["null", "string"]
|
||||
},
|
||||
"manuallyCapturable": {
|
||||
"description": "Whether the transaction can be manually captured.",
|
||||
"type": ["null", "boolean"]
|
||||
},
|
||||
"shop_url": {
|
||||
"description": "URL of the shop where the transaction occurred",
|
||||
"type": ["null", "string"]
|
||||
|
||||
@@ -554,10 +554,25 @@ class DiscountCode(ShopifyBulkQuery):
|
||||
__typename
|
||||
id
|
||||
codeDiscount {
|
||||
__typename
|
||||
... on DiscountCodeApp {
|
||||
updatedAt
|
||||
createdAt
|
||||
discountType: discountClass
|
||||
startsAt
|
||||
endsAt
|
||||
status
|
||||
title
|
||||
usageLimit
|
||||
appliesOncePerCustomer
|
||||
asyncUsageCount
|
||||
codesCount {
|
||||
count
|
||||
}
|
||||
totalSales {
|
||||
amount
|
||||
currencyCode
|
||||
}
|
||||
codes {
|
||||
edges {
|
||||
node {
|
||||
@@ -565,15 +580,33 @@ class DiscountCode(ShopifyBulkQuery):
|
||||
usageCount: asyncUsageCount
|
||||
code
|
||||
id
|
||||
createdBy {
|
||||
id
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
... on DiscountCodeBasic {
|
||||
createdAt
|
||||
updatedAt
|
||||
createdAt
|
||||
discountType: discountClass
|
||||
summary
|
||||
startsAt
|
||||
endsAt
|
||||
status
|
||||
title
|
||||
usageLimit
|
||||
appliesOncePerCustomer
|
||||
asyncUsageCount
|
||||
codesCount {
|
||||
count
|
||||
}
|
||||
totalSales {
|
||||
amount
|
||||
currencyCode
|
||||
}
|
||||
codes {
|
||||
edges {
|
||||
node {
|
||||
@@ -581,6 +614,10 @@ class DiscountCode(ShopifyBulkQuery):
|
||||
usageCount: asyncUsageCount
|
||||
code
|
||||
id
|
||||
createdBy {
|
||||
id
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -590,6 +627,20 @@ class DiscountCode(ShopifyBulkQuery):
|
||||
createdAt
|
||||
discountType: discountClass
|
||||
summary
|
||||
startsAt
|
||||
endsAt
|
||||
status
|
||||
title
|
||||
usageLimit
|
||||
appliesOncePerCustomer
|
||||
asyncUsageCount
|
||||
codesCount {
|
||||
count
|
||||
}
|
||||
totalSales {
|
||||
amount
|
||||
currencyCode
|
||||
}
|
||||
codes {
|
||||
edges {
|
||||
node {
|
||||
@@ -597,6 +648,10 @@ class DiscountCode(ShopifyBulkQuery):
|
||||
usageCount: asyncUsageCount
|
||||
code
|
||||
id
|
||||
createdBy {
|
||||
id
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -606,6 +661,20 @@ class DiscountCode(ShopifyBulkQuery):
|
||||
createdAt
|
||||
discountType: discountClass
|
||||
summary
|
||||
startsAt
|
||||
endsAt
|
||||
status
|
||||
title
|
||||
usageLimit
|
||||
appliesOncePerCustomer
|
||||
asyncUsageCount
|
||||
codesCount {
|
||||
count
|
||||
}
|
||||
totalSales {
|
||||
amount
|
||||
currencyCode
|
||||
}
|
||||
codes {
|
||||
edges {
|
||||
node {
|
||||
@@ -613,6 +682,10 @@ class DiscountCode(ShopifyBulkQuery):
|
||||
usageCount: asyncUsageCount
|
||||
code
|
||||
id
|
||||
createdBy {
|
||||
id
|
||||
title
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -627,8 +700,22 @@ class DiscountCode(ShopifyBulkQuery):
|
||||
query_name = "codeDiscountNodes"
|
||||
sort_key = "UPDATED_AT"
|
||||
|
||||
code_discount_fields: List[Field] = [
|
||||
discount_code_fields: List[Field] = [
|
||||
"updatedAt",
|
||||
"createdAt",
|
||||
Field(name="discountClass", alias="discountType"),
|
||||
"startsAt",
|
||||
"endsAt",
|
||||
"status",
|
||||
"title",
|
||||
"usageLimit",
|
||||
"appliesOncePerCustomer",
|
||||
"asyncUsageCount",
|
||||
Field(name="codesCount", fields=["count"]),
|
||||
Field(name="totalSales", fields=["amount", Field(name="currencyCode", alias="currency_code")]),
|
||||
]
|
||||
|
||||
codes_fields: List[Field] = [
|
||||
Field(
|
||||
name="codes",
|
||||
fields=[
|
||||
@@ -642,6 +729,7 @@ class DiscountCode(ShopifyBulkQuery):
|
||||
Field(name="asyncUsageCount", alias="usageCount"),
|
||||
"code",
|
||||
"id",
|
||||
Field(name="createdBy", fields=["id", "title"]),
|
||||
],
|
||||
)
|
||||
],
|
||||
@@ -652,10 +740,11 @@ class DiscountCode(ShopifyBulkQuery):
|
||||
|
||||
code_discount_fragments: List[InlineFragment] = [
|
||||
# the type: DiscountCodeApp has no `"summary"` field available
|
||||
InlineFragment(type="DiscountCodeApp", fields=["updatedAt", "createdAt", *code_discount_fields]),
|
||||
InlineFragment(type="DiscountCodeBasic", fields=["updatedAt", "createdAt", "summary", *code_discount_fields]),
|
||||
InlineFragment(type="DiscountCodeBxgy", fields=["updatedAt", "createdAt", "summary", *code_discount_fields]),
|
||||
InlineFragment(type="DiscountCodeFreeShipping", fields=["updatedAt", "createdAt", "summary", *code_discount_fields]),
|
||||
"__typename",
|
||||
InlineFragment(type="DiscountCodeApp", fields=[*discount_code_fields, *codes_fields]),
|
||||
InlineFragment(type="DiscountCodeBasic", fields=[*discount_code_fields, "summary", *codes_fields]),
|
||||
InlineFragment(type="DiscountCodeBxgy", fields=[*discount_code_fields, "summary", *codes_fields]),
|
||||
InlineFragment(type="DiscountCodeFreeShipping", fields=[*discount_code_fields, "summary", *codes_fields]),
|
||||
]
|
||||
|
||||
query_nodes: List[Field] = [
|
||||
@@ -1023,6 +1112,7 @@ class InventoryItem(ShopifyBulkQuery):
|
||||
__typename
|
||||
unitCost {
|
||||
cost: amount
|
||||
currency_code: currencyCode
|
||||
}
|
||||
countryCodeOfOrigin
|
||||
countryHarmonizedSystemCodes {
|
||||
@@ -1040,6 +1130,7 @@ class InventoryItem(ShopifyBulkQuery):
|
||||
sku
|
||||
tracked
|
||||
requiresShipping
|
||||
duplicateSkuCount
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1055,35 +1146,44 @@ class InventoryItem(ShopifyBulkQuery):
|
||||
query_nodes: List[Field] = [
|
||||
"__typename",
|
||||
"id",
|
||||
Field(name="unitCost", fields=[Field(name="amount", alias="cost")]),
|
||||
"harmonizedSystemCode",
|
||||
"provinceCodeOfOrigin",
|
||||
"updatedAt",
|
||||
"createdAt",
|
||||
"sku",
|
||||
"tracked",
|
||||
"requiresShipping",
|
||||
"duplicateSkuCount",
|
||||
Field(name="unitCost", fields=[Field(name="amount", alias="cost"), Field(name="currencyCode", alias="currency_code")]),
|
||||
Field(name="countryCodeOfOrigin"),
|
||||
Field(name="countryHarmonizedSystemCodes", fields=country_harmonizedS_system_codes),
|
||||
Field(name="harmonizedSystemCode"),
|
||||
Field(name="provinceCodeOfOrigin"),
|
||||
Field(name="updatedAt"),
|
||||
Field(name="createdAt"),
|
||||
Field(name="sku"),
|
||||
Field(name="tracked"),
|
||||
Field(name="requiresShipping"),
|
||||
]
|
||||
|
||||
record_composition = {
|
||||
"new_record": "InventoryItem",
|
||||
}
|
||||
|
||||
def _process_unit_cost(self, record: MutableMapping[str, Any]) -> MutableMapping[str, Any]:
|
||||
# resolve `cost` to root lvl as `number`
|
||||
unit_cost = record.get("unitCost", {})
|
||||
if unit_cost:
|
||||
record["cost"] = float(unit_cost.get("cost"))
|
||||
record["currency_code"] = unit_cost.get("currency_code")
|
||||
else:
|
||||
record["cost"] = None
|
||||
record["currency_code"] = None
|
||||
# clean up
|
||||
record.pop("unitCost", None)
|
||||
|
||||
return record
|
||||
|
||||
def record_process_components(self, record: MutableMapping[str, Any]) -> Iterable[MutableMapping[str, Any]]:
|
||||
"""
|
||||
Defines how to process collected components.
|
||||
"""
|
||||
|
||||
# resolve `cost` to root lvl as `number`
|
||||
unit_cost = record.get("unitCost", {})
|
||||
if unit_cost:
|
||||
record["cost"] = float(unit_cost.get("cost"))
|
||||
else:
|
||||
record["cost"] = None
|
||||
# clean up
|
||||
record.pop("unitCost", None)
|
||||
# unnest unit_cost to the root lvl
|
||||
record = self._process_unit_cost(record)
|
||||
# add empty `country_harmonized_system_codes` array, if missing for record
|
||||
if "countryHarmonizedSystemCodes" not in record.keys():
|
||||
record["country_harmonized_system_codes"] = []
|
||||
@@ -1111,8 +1211,15 @@ class InventoryLevel(ShopifyBulkQuery):
|
||||
available
|
||||
item {
|
||||
inventory_item_id: id
|
||||
inventoryHistoryUrl
|
||||
locationsCount {
|
||||
count
|
||||
}
|
||||
}
|
||||
updatedAt
|
||||
canDeactivate
|
||||
createdAt
|
||||
deactivationAlert
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1152,11 +1259,20 @@ class InventoryLevel(ShopifyBulkQuery):
|
||||
"updatedAt",
|
||||
]
|
||||
|
||||
item_fields: List[Field] = [
|
||||
Field(name="inventoryHistoryUrl", alias="inventory_history_url"),
|
||||
Field(name="id", alias="inventory_item_id"),
|
||||
Field(name="locationsCount", alias="locations_count", fields=["count"]),
|
||||
]
|
||||
|
||||
inventory_levels_fields: List[Field] = [
|
||||
"__typename",
|
||||
"id",
|
||||
Field(name="item", fields=[Field(name="id", alias="inventory_item_id")]),
|
||||
Field(name="updatedAt"),
|
||||
"canDeactivate",
|
||||
"createdAt",
|
||||
"deactivationAlert",
|
||||
"updatedAt",
|
||||
Field(name="item", fields=item_fields),
|
||||
]
|
||||
|
||||
def _quantities_query(self) -> Query:
|
||||
@@ -1203,8 +1319,12 @@ class InventoryLevel(ShopifyBulkQuery):
|
||||
# process quantities
|
||||
quantities = record.get("quantities", [])
|
||||
record["quantities"] = self._process_quantities(quantities)
|
||||
# resolve `inventory_item_id` to root lvl + resolve to int
|
||||
record["inventory_item_id"] = self.tools.resolve_str_id(record.get("item", {}).get("inventory_item_id"))
|
||||
item = record.get("item", {})
|
||||
if item:
|
||||
# resolve `inventory_item_id` to root lvl + resolve to int
|
||||
record["inventory_item_id"] = self.tools.resolve_str_id(item.get("inventory_item_id"))
|
||||
record["inventory_history_url"] = item.get("inventory_history_url")
|
||||
record["locations_count"] = item.get("locations_count")
|
||||
# add `location_id` from `__parentId`
|
||||
record["location_id"] = self.tools.resolve_str_id(record[BULK_PARENT_KEY])
|
||||
# make composite `id` from `location_id|inventory_item_id`
|
||||
@@ -1232,6 +1352,7 @@ class FulfillmentOrder(ShopifyBulkQuery):
|
||||
node {
|
||||
__typename
|
||||
id
|
||||
channelId
|
||||
assignedLocation {
|
||||
location {
|
||||
locationId: id
|
||||
@@ -1382,18 +1503,19 @@ class FulfillmentOrder(ShopifyBulkQuery):
|
||||
fulfillment_order_fields: List[Field] = [
|
||||
"__typename",
|
||||
"id",
|
||||
Field(name="assignedLocation", fields=assigned_location_fields),
|
||||
Field(name="destination", fields=destination_fields),
|
||||
Field(name="deliveryMethod", fields=delivery_method_fields),
|
||||
"fulfillAt",
|
||||
"fulfillBy",
|
||||
Field(name="internationalDuties", fields=["incoterm"]),
|
||||
Field(name="fulfillmentHolds", fields=["reason", "reasonNotes"]),
|
||||
Field(name="lineItems", fields=[Field(name="edges", fields=[Field(name="node", fields=line_items_fields)])]),
|
||||
"createdAt",
|
||||
"updatedAt",
|
||||
"requestStatus",
|
||||
"status",
|
||||
"channelId",
|
||||
Field(name="assignedLocation", fields=assigned_location_fields),
|
||||
Field(name="destination", fields=destination_fields),
|
||||
Field(name="deliveryMethod", fields=delivery_method_fields),
|
||||
Field(name="internationalDuties", fields=["incoterm"]),
|
||||
Field(name="fulfillmentHolds", fields=["reason", "reasonNotes"]),
|
||||
Field(name="lineItems", fields=[Field(name="edges", fields=[Field(name="node", fields=line_items_fields)])]),
|
||||
Field(name="supportedActions", fields=["action", "externalUrl"]),
|
||||
Field(name="merchantRequests", fields=[Field(name="edges", fields=[Field(name="node", fields=merchant_requests_fields)])]),
|
||||
]
|
||||
@@ -1562,6 +1684,9 @@ class Transaction(ShopifyBulkQuery):
|
||||
createdAt
|
||||
status
|
||||
processedAt
|
||||
accountNumber
|
||||
formattedGateway
|
||||
manuallyCapturable
|
||||
totalUnsettledSet {
|
||||
presentmentMoney {
|
||||
amount
|
||||
@@ -1572,6 +1697,31 @@ class Transaction(ShopifyBulkQuery):
|
||||
currency: currencyCode
|
||||
}
|
||||
}
|
||||
amountSet {
|
||||
shopMoney {
|
||||
amount
|
||||
currency: currencyCode
|
||||
}
|
||||
}
|
||||
fees {
|
||||
flatFeeName
|
||||
id
|
||||
rate
|
||||
rateName
|
||||
type
|
||||
amount {
|
||||
amount
|
||||
currency: currencyCode
|
||||
}
|
||||
flatFee {
|
||||
amount
|
||||
currency: currencyCode
|
||||
}
|
||||
taxAmount {
|
||||
amount
|
||||
currency: currencyCode
|
||||
}
|
||||
}
|
||||
paymentId
|
||||
paymentDetails {
|
||||
... on CardPaymentDetails {
|
||||
@@ -1596,9 +1746,14 @@ class Transaction(ShopifyBulkQuery):
|
||||
query_name = "orders"
|
||||
sort_key = "UPDATED_AT"
|
||||
|
||||
amount_fields: List[Field] = [
|
||||
"amount",
|
||||
Field(name="currencyCode", alias="currency"),
|
||||
]
|
||||
|
||||
total_unsettled_set_fields: List[Field] = [
|
||||
Field(name="presentmentMoney", fields=["amount", Field(name="currencyCode", alias="currency")]),
|
||||
Field(name="shopMoney", fields=["amount", Field(name="currencyCode", alias="currency")]),
|
||||
Field(name="presentmentMoney", fields=amount_fields),
|
||||
Field(name="shopMoney", fields=amount_fields),
|
||||
]
|
||||
|
||||
payment_details: List[InlineFragment] = [
|
||||
@@ -1618,36 +1773,76 @@ class Transaction(ShopifyBulkQuery):
|
||||
)
|
||||
]
|
||||
|
||||
fees_fields: List[Field] = [
|
||||
"id",
|
||||
"rate",
|
||||
"type",
|
||||
Field(name="flatFeeName", alias="flat_fee_name"),
|
||||
Field(name="rateName", alias="rate_name"),
|
||||
Field(name="amount", fields=amount_fields),
|
||||
Field(name="flatFee", alias="flat_fee", fields=amount_fields),
|
||||
Field(name="taxAmount", alias="tax_amount", fields=amount_fields),
|
||||
]
|
||||
|
||||
transaction_fields: List[Field] = [
|
||||
"id",
|
||||
"errorCode",
|
||||
"test",
|
||||
"kind",
|
||||
"amount",
|
||||
"createdAt",
|
||||
"status",
|
||||
"processedAt",
|
||||
"gateway",
|
||||
"paymentId",
|
||||
"accountNumber",
|
||||
"formattedGateway",
|
||||
"manuallyCapturable",
|
||||
Field(name="receiptJson", alias="receipt"),
|
||||
Field(name="parentTransaction", fields=[Field(name="id", alias="parentId")]),
|
||||
Field(name="authorizationCode", alias="authorization"),
|
||||
Field(name="totalUnsettledSet", fields=total_unsettled_set_fields),
|
||||
Field(name="amountSet", fields=[Field(name="shopMoney", alias="shop_money", fields=amount_fields)]),
|
||||
Field(name="fees", fields=fees_fields),
|
||||
Field(name="paymentDetails", fields=payment_details),
|
||||
]
|
||||
|
||||
query_nodes: List[Field] = [
|
||||
"__typename",
|
||||
"id",
|
||||
Field(name="currencyCode", alias="currency"),
|
||||
Field(
|
||||
name="transactions",
|
||||
fields=[
|
||||
"id",
|
||||
"errorCode",
|
||||
Field(name="parentTransaction", fields=[Field(name="id", alias="parentId")]),
|
||||
"test",
|
||||
"kind",
|
||||
"amount",
|
||||
Field(name="receiptJson", alias="receipt"),
|
||||
"gateway",
|
||||
Field(name="authorizationCode", alias="authorization"),
|
||||
"createdAt",
|
||||
"status",
|
||||
"processedAt",
|
||||
Field(name="totalUnsettledSet", fields=total_unsettled_set_fields),
|
||||
"paymentId",
|
||||
Field(name="paymentDetails", fields=payment_details),
|
||||
],
|
||||
),
|
||||
Field(name="transactions", fields=transaction_fields),
|
||||
]
|
||||
|
||||
record_composition = {
|
||||
"new_record": "Order",
|
||||
}
|
||||
|
||||
def _cast_amount_to_float(self, entity: MutableMapping[str, Any]) -> MutableMapping[str, Any]:
|
||||
return float(entity.get("amount", 0.0))
|
||||
|
||||
def _process_fees(self, fees: Iterable[MutableMapping[str, Any]]) -> Iterable[MutableMapping[str, Any]]:
|
||||
for fee in fees:
|
||||
# save the id before it's resolved
|
||||
fee["admin_graphql_api_id"] = fee.get("id")
|
||||
fee["id"] = self.tools.resolve_str_id(fee.get("id"))
|
||||
# cast `rate` to number
|
||||
fee["rate"] = float(fee.get("rate", 0.0))
|
||||
# cast `amount.amount` to number
|
||||
amount = fee.get("amount", {})
|
||||
if amount:
|
||||
fee["amount"]["amount"] = self._cast_amount_to_float(amount)
|
||||
# cast `flat_fee.amount` to number
|
||||
flat_fee = fee.get("flat_fee", {})
|
||||
if flat_fee:
|
||||
fee["flat_fee"]["amount"] = self._cast_amount_to_float(flat_fee)
|
||||
# cast `flat_fee.amount` to number
|
||||
tax_amount = fee.get("tax_amount", {})
|
||||
if tax_amount:
|
||||
fee["tax_amount"]["amount"] = self._cast_amount_to_float(tax_amount)
|
||||
|
||||
return fees
|
||||
|
||||
def process_transaction(self, record: MutableMapping[str, Any]) -> MutableMapping[str, Any]:
|
||||
# save the id before it's resolved
|
||||
record["admin_graphql_api_id"] = record.get("id")
|
||||
@@ -1665,6 +1860,10 @@ class Transaction(ShopifyBulkQuery):
|
||||
record["parent_id"] = self.tools.resolve_str_id(record.get("parent_id"))
|
||||
# remove leftovers
|
||||
record.pop("parentTransaction", None)
|
||||
# process `fees`
|
||||
fees = record.get("fees", [])
|
||||
if fees:
|
||||
record["fees"] = self._process_fees(fees)
|
||||
# field names to snake case
|
||||
total_unsettled_set = record.get("totalUnsettledSet", {})
|
||||
if total_unsettled_set:
|
||||
@@ -1674,6 +1873,12 @@ class Transaction(ShopifyBulkQuery):
|
||||
total_unsettled_set.get("presentmentMoney", {}).get("amount")
|
||||
)
|
||||
record["totalUnsettledSet"]["shop_money"]["amount"] = float(total_unsettled_set.get("shopMoney", {}).get("amount"))
|
||||
# field names to snake case
|
||||
amount_set = record.get("amountSet", {})
|
||||
if amount_set:
|
||||
record["amountSet"] = self.tools.fields_names_to_snake_case(amount_set)
|
||||
# nested str values to float
|
||||
record["amountSet"]["shop_money"]["amount"] = float(amount_set.get("shop_money", {}).get("amount"))
|
||||
payment_details = record.get("paymentDetails", {})
|
||||
if payment_details:
|
||||
record["paymentDetails"] = self.tools.fields_names_to_snake_case(payment_details)
|
||||
@@ -1752,6 +1957,67 @@ class Product(ShopifyBulkQuery):
|
||||
total_variants: variantsCount {
|
||||
total_variants: count
|
||||
}
|
||||
hasOnlyDefaultVariant
|
||||
hasOutOfStockVariants
|
||||
requiresSellingPlan
|
||||
priceRangeV2 {
|
||||
maxVariantPrice {
|
||||
amount
|
||||
currencyCode
|
||||
}
|
||||
minVariantPrice {
|
||||
amount
|
||||
currencyCode
|
||||
}
|
||||
}
|
||||
featuredImage {
|
||||
altText
|
||||
height
|
||||
id
|
||||
url
|
||||
width
|
||||
}
|
||||
seo {
|
||||
description
|
||||
title
|
||||
}
|
||||
featuredMedia {
|
||||
alt
|
||||
id
|
||||
mediaContentType
|
||||
status
|
||||
preview {
|
||||
image {
|
||||
id
|
||||
altText
|
||||
}
|
||||
status
|
||||
}
|
||||
mediaErrors {
|
||||
code
|
||||
details
|
||||
message
|
||||
}
|
||||
mediaWarnings {
|
||||
code
|
||||
message
|
||||
}
|
||||
}
|
||||
feedback {
|
||||
details {
|
||||
app {
|
||||
id
|
||||
}
|
||||
link {
|
||||
url
|
||||
}
|
||||
messages {
|
||||
field
|
||||
message
|
||||
}
|
||||
}
|
||||
summary
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1764,6 +2030,45 @@ class Product(ShopifyBulkQuery):
|
||||
images_fields: List[Field] = [Field(name="edges", fields=[Field(name="node", fields=["__typename", "id"])])]
|
||||
# variants property fields, we re-use the same field names as for the `images` property
|
||||
variants_fields: List[Field] = images_fields
|
||||
|
||||
amount_fields: List[Field] = [
|
||||
"amount",
|
||||
Field(name="currencyCode", alias="currency_code"),
|
||||
]
|
||||
|
||||
price_range_v2_fields: List[Field] = [
|
||||
Field(name="maxVariantPrice", alias="max_variant_price", fields=amount_fields),
|
||||
Field(name="minVariantPrice", alias="min_variant_price", fields=amount_fields),
|
||||
]
|
||||
|
||||
featured_image_fields: List[Field] = [
|
||||
"height",
|
||||
"id",
|
||||
"url",
|
||||
"width",
|
||||
Field(name="altText", alias="alt_text"),
|
||||
]
|
||||
|
||||
featured_media_fields: List[Field] = [
|
||||
"alt",
|
||||
"id",
|
||||
"status",
|
||||
Field(name="mediaContentType", alias="media_content_type"),
|
||||
Field(name="preview", fields=["status", Field(name="image", fields=["id", Field(name="altText", alias="alt_text")])]),
|
||||
Field(name="mediaErrors", alias="media_errors", fields=["code", "details", "message"]),
|
||||
Field(name="mediaWarnings", alias="media_warnings", fields=["code", "message"]),
|
||||
]
|
||||
|
||||
feedback_details_fields: List[Field] = [
|
||||
Field(name="app", fields=["id"]),
|
||||
Field(name="link", fields=["url"]),
|
||||
Field(name="messages", fields=["field", "message"]),
|
||||
]
|
||||
feedback_fields: List[Field] = [
|
||||
"summary",
|
||||
Field(name="details", fields=feedback_details_fields),
|
||||
]
|
||||
|
||||
# main query
|
||||
query_nodes: List[Field] = [
|
||||
"__typename",
|
||||
@@ -1787,6 +2092,14 @@ class Product(ShopifyBulkQuery):
|
||||
"onlineStoreUrl",
|
||||
"totalInventory",
|
||||
"tracksInventory",
|
||||
"hasOnlyDefaultVariant",
|
||||
"hasOutOfStockVariants",
|
||||
"requiresSellingPlan",
|
||||
Field(name="priceRangeV2", fields=price_range_v2_fields),
|
||||
Field(name="featuredImage", fields=featured_image_fields),
|
||||
Field(name="seo", fields=["description", "title"]),
|
||||
Field(name="featuredMedia", fields=featured_media_fields),
|
||||
Field(name="feedback", fields=feedback_fields),
|
||||
Field(name="variantsCount", alias="total_variants", fields=[Field(name="count", alias="total_variants")]),
|
||||
Field(name="mediaCount", alias="media_count", fields=[Field(name="count", alias="media_count")]),
|
||||
Field(name="options", fields=["id", "name", "values", "position"]),
|
||||
@@ -1821,6 +2134,17 @@ class Product(ShopifyBulkQuery):
|
||||
tags = record.get("tags", [])
|
||||
return ", ".join(tags) if tags else None
|
||||
|
||||
def _process_price_range_v2(self, price_range_v2: MutableMapping[str, Any]) -> MutableMapping[str, Any]:
|
||||
max_variant_price = price_range_v2.get("max_variant_price", {})
|
||||
min_variant_price = price_range_v2.get("min_variant_price", {})
|
||||
# cast the `amount` for each of the min/max object
|
||||
if max_variant_price:
|
||||
price_range_v2["max_variant_price"]["amount"] = float(max_variant_price.get("amount"))
|
||||
if min_variant_price:
|
||||
price_range_v2["min_variant_price"]["amount"] = float(min_variant_price.get("amount"))
|
||||
|
||||
return price_range_v2
|
||||
|
||||
def record_process_components(self, record: MutableMapping[str, Any]) -> Iterable[MutableMapping[str, Any]]:
|
||||
"""
|
||||
Defines how to process collected components.
|
||||
@@ -1847,6 +2171,10 @@ class Product(ShopifyBulkQuery):
|
||||
record["published_at"] = self.tools.from_iso8601_to_rfc3339(record, "publishedAt")
|
||||
record["updatedAt"] = self.tools.from_iso8601_to_rfc3339(record, "updatedAt")
|
||||
record["createdAt"] = self.tools.from_iso8601_to_rfc3339(record, "createdAt")
|
||||
# process `price_range_v2`
|
||||
price_range_v2 = record.get("priceRangeV2", {})
|
||||
if price_range_v2:
|
||||
record["priceRangeV2"] = self._process_price_range_v2(price_range_v2)
|
||||
|
||||
yield record
|
||||
|
||||
@@ -2079,6 +2407,9 @@ class ProductVariant(ShopifyBulkQuery):
|
||||
image {
|
||||
image_id: id
|
||||
}
|
||||
availableForSale
|
||||
displayName
|
||||
taxCode
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2120,6 +2451,9 @@ class ProductVariant(ShopifyBulkQuery):
|
||||
"weightUnit",
|
||||
"inventoryQuantity",
|
||||
"requiresShipping",
|
||||
"availableForSale",
|
||||
"displayName",
|
||||
"taxCode",
|
||||
Field(name="weight", alias="grams"),
|
||||
Field(name="image", fields=[Field(name="id", alias="image_id")]),
|
||||
Field(name="inventoryQuantity", alias="old_inventory_quantity"),
|
||||
|
||||
@@ -30,6 +30,7 @@ def records_per_slice(parent_records: List[Mapping[str, Any]], state_checkpoint_
|
||||
result.reverse()
|
||||
return result
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def logger():
|
||||
return logging.getLogger("airbyte")
|
||||
@@ -512,8 +513,8 @@ def metafield_jsonl_content_example():
|
||||
@pytest.fixture
|
||||
def filfillment_order_jsonl_content_example():
|
||||
return """{"__typename":"Order","id":"gid:\/\/shopify\/Order\/1"}
|
||||
{"__typename":"FulfillmentOrder","id":"gid:\/\/shopify\/FulfillmentOrder\/2","assignedLocation":{"address1":"Test","address2":null,"city":"Test","countryCode":"Test","name":"Test","phone":"","province":null,"zip":"00000","location":{"locationId":"gid:\/\/shopify\/Location\/123"}},"destination":{"id":"gid:\/\/shopify\/Destination\/777"},"deliveryMethod":{"id":"gid:\/\/shopify\/DeliveryMethod\/123","methodType":"SHIPPING","minDeliveryDateTime":"2023-04-13T12:00:00Z","maxDeliveryDateTime":"2023-04-13T12:00:00Z"},"fulfillAt":"2023-04-13T12:00:00Z","fulfillBy":null,"internationalDuties":null,"fulfillmentHolds":[{}],"createdAt":"2023-04-13T12:09:45Z","updatedAt":"2023-04-13T12:09:46Z","requestStatus":"UNSUBMITTED","status":"CLOSED","supportedActions":[{}],"__parentId":"gid:\/\/shopify\/Order\/1"}
|
||||
{"__typename":"FulfillmentOrderLineItem","id":"gid:\/\/shopify\/FulfillmentOrderLineItem\/3","inventoryItemId":"gid:\/\/shopify\/InventoryItem\/33","lineItem":{"lineItemId":"gid:\/\/shopify\/LineItem\/31","fulfillableQuantity":0,"quantity":1,"variant":{"variantId":"gid:\/\/shopify\/ProductVariant\/333"}},"__parentId":"gid:\/\/shopify\/FulfillmentOrder\/2"}
|
||||
{"__typename":"FulfillmentOrder","id":"gid:\/\/shopify\/FulfillmentOrder\/2","fulfillAt":"2023-04-24T18:00:00Z","fulfillBy":null,"createdAt":"2023-04-24T18:00:09Z","updatedAt":"2023-04-24T18:00:09Z","requestStatus":"UNSUBMITTED","status":"CLOSED","channelId":null,"assignedLocation":{"address1":"Heroiv UPA 72","address2":null,"city":"Lviv","countryCode":"UA","name":"Heroiv UPA 72","phone":"","province":null,"zip":"30100","location":{"locationId":"gid:\/\/shopify\/Location\/63590301885"}},"destination":null,"deliveryMethod":{"id":"gid:\/\/shopify\/DeliveryMethod\/442031046845","methodType":"SHIPPING","minDeliveryDateTime":null,"maxDeliveryDateTime":null},"internationalDuties":null,"fulfillmentHolds":[],"supportedActions":[],"__parentId":"gid:\/\/shopify\/Order\/1"}
|
||||
{"__typename":"FulfillmentOrderLineItem","id":"gid:\/\/shopify\/FulfillmentOrderLineItem\/3","inventoryItemId":"gid:\/\/shopify\/InventoryItem\/43653688524989","lineItem":{"lineItemId":"gid:\/\/shopify\/LineItem\/12247585521853","fulfillableQuantity":0,"quantity":1,"variant":{"variantId":"gid:\/\/shopify\/ProductVariant\/41561961824445"}},"__parentId":"gid:\/\/shopify\/FulfillmentOrder\/2"}
|
||||
{"__typename":"FulfillmentOrderMerchantRequest","id":"gid:\/\/shopify\/FulfillmentOrderMerchantRequest\/333","message":null,"kind":"FULFILLMENT_REQUEST","requestOptions":{"notify_customer":true},"__parentId":"gid:\/\/shopify\/FulfillmentOrder\/2"}\n"""
|
||||
|
||||
|
||||
@@ -525,7 +526,7 @@ def order_risks_jsonl_content_example():
|
||||
|
||||
@pytest.fixture
|
||||
def products_jsonl_content_example():
|
||||
return """{"__typename":"Product","id":"gid:\/\/shopify\/Product\/123","publishedAt":"2021-06-23T01:09:29Z","createdAt":"2021-06-23T01:09:29Z","status":"ACTIVE","vendor":"Blanda, O'Kon and Bartell","updatedAt":"2023-04-20T11:12:26Z","bodyHtml":"Gold and silver glitter iPhone 7 cases with geometric line patterns, stacked","productType":"Music","tags":["developer-tools-generator"],"handle":"gold-silver-iphone-7-case","templateSuffix":null,"title":"Gold Silver iPhone 7 Case","description":"Gold and silver glitter iPhone 7 cases with geometric line patterns, stacked","descriptionHtml":"Gold and silver glitter iPhone 7 cases with geometric line patterns, stacked","isGiftCard":false,"legacyResourceId":"6796218335421","onlineStorePreviewUrl":"https:\/\/airbyte-integration-test.myshopify.com\/products\/gold-silver-iphone-7-case","onlineStoreUrl":null,"totalInventory":58,"tracksInventory":true,"total_variants":{"total_variants":2},"media_count":{"media_count":1},"options":[{"id":"gid:\/\/shopify\/ProductOption\/444","name":"Title","values":["Plastic","indigo"],"position":1}]}
|
||||
return """{"__typename":"Product","id":"gid:\/\/shopify\/Product\/123","publishedAt":"2021-06-23T01:09:29Z","createdAt":"2021-06-23T01:09:29Z","status":"ACTIVE","vendor":"Blanda, O'Kon and Bartell","updatedAt":"2023-04-20T11:12:26Z","bodyHtml":"Gold and silver glitter iPhone 7 cases with geometric line patterns, stacked","productType":"Music","tags":["developer-tools-generator"],"handle":"gold-silver-iphone-7-case","templateSuffix":null,"title":"Gold Silver iPhone 7 Case","description":"Gold and silver glitter iPhone 7 cases with geometric line patterns, stacked","descriptionHtml":"Gold and silver glitter iPhone 7 cases with geometric line patterns, stacked","isGiftCard":false,"legacyResourceId":"123","onlineStorePreviewUrl":"https:\/\/airbyte-integration-test.myshopify.com\/products\/gold-silver-iphone-7-case","onlineStoreUrl":null,"totalInventory":58,"tracksInventory":true,"hasOnlyDefaultVariant":false,"hasOutOfStockVariants":false,"requiresSellingPlan":false,"priceRangeV2":{"max_variant_price":{"amount":"99.0","currency_code":"USD"},"min_variant_price":{"amount":"98.0","currency_code":"USD"}},"featuredImage":{"height":3709,"id":"gid:\/\/shopify\/ProductImage\/29301295579325","url":"https:\/\/cdn.shopify.com\/s\/files\/1\/0580\/3317\/6765\/products\/gold-silver-iphone-7-case.jpg?v=1624410569","width":5563,"alt_text":null},"seo":{"description":null,"title":null},"featuredMedia":{"alt":"","id":"gid:\/\/shopify\/MediaImage\/21562154123453","status":"READY","media_content_type":"IMAGE","preview":{"status":"READY","image":{"id":"gid:\/\/shopify\/ImageSource\/21570958426301","alt_text":""}},"media_errors":[],"media_warnings":[]},"feedback":null,"total_variants":{"total_variants":2},"media_count":{"media_count":1},"options":[{"id":"gid:\/\/shopify\/ProductOption\/8720175628477","name":"Title","values":["Plastic","indigo"],"position":1}]}
|
||||
{"__typename":"Image","id":"gid:\/\/shopify\/ProductImage\/111","__parentId":"gid:\/\/shopify\/Product\/123"}
|
||||
{"__typename":"ProductVariant","id":"gid:\/\/shopify\/ProductVariant\/111","__parentId":"gid:\/\/shopify\/Product\/123"}
|
||||
{"__typename":"ProductVariant","id":"gid:\/\/shopify\/ProductVariant\/222","__parentId":"gid:\/\/shopify\/Product\/123"}\n"""
|
||||
@@ -543,16 +544,16 @@ def product_images_jsonl_content_example():
|
||||
|
||||
@pytest.fixture
|
||||
def product_variants_jsonl_content_example():
|
||||
return """{"__typename":"ProductVariant","id":"gid:\/\/shopify\/ProductVariant\/123","title":"Test 234","price":"59.00","sku":"","position":3,"inventoryPolicy":"DENY","compareAtPrice":null,"inventoryManagement":"SHOPIFY","createdAt":"2023-04-14T10:29:27Z","updatedAt":"2023-10-27T16:56:39Z","taxable":true,"barcode":"","weight":0.0,"weightUnit":"GRAMS","inventoryQuantity":0,"requiresShipping":false,"grams":0.0,"image":null,"old_inventory_quantity":0,"product":{"product_id":"gid:\/\/shopify\/Product\/111"},"fulfillmentService":{"fulfillment_service":"manual"},"inventoryItem":{"inventory_item_id":"gid:\/\/shopify\/InventoryItem\/222"}}
|
||||
{"__typename":"ProductVariantPricePair","price":{"amount":"59.0","currencyCode":"USD"},"compareAtPrice":null,"__parentId":"gid:\/\/shopify\/ProductVariant\/123"}
|
||||
{"__typename":"ProductVariant","id":"gid:\/\/shopify\/ProductVariant\/456","title":"Test Variant","price":"113.00","sku":"123","position":4,"inventoryPolicy":"CONTINUE","compareAtPrice":"1.00","inventoryManagement":"SHOPIFY","createdAt":"2023-12-11T10:37:41Z","updatedAt":"2023-12-11T10:37:41Z","taxable":true,"barcode":"123","weight":127.0,"weightUnit":"GRAMS","inventoryQuantity":1,"requiresShipping":true,"grams":127.0,"image":{"image_id":"gid:\/\/shopify\/ProductImage\/123456"},"old_inventory_quantity":1,"product":{"product_id":"gid:\/\/shopify\/Product\/222"},"fulfillmentService":{"fulfillment_service":"manual"},"inventoryItem":{"inventory_item_id":"gid:\/\/shopify\/InventoryItem\/333"}}
|
||||
{"__typename":"ProductVariantPricePair","price":{"amount":"113.0","currencyCode":"USD"},"compareAtPrice":{"amount":"1.0","currencyCode":"USD"},"__parentId":"gid:\/\/shopify\/ProductVariant\/456"}\n"""
|
||||
return """{"__typename":"ProductVariant","id":"gid:\/\/shopify\/ProductVariant\/40091751448765","title":"Metal","price":"64.00","sku":"","position":1,"inventoryPolicy":"DENY","compareAtPrice":null,"inventoryManagement":"SHOPIFY","createdAt":"2021-06-23T06:04:41Z","updatedAt":"2023-10-27T16:56:50Z","taxable":true,"barcode":null,"weight":0.0,"weightUnit":"GRAMS","inventoryQuantity":6,"requiresShipping":false,"availableForSale":true,"displayName":"Waterproof iPhone Speaker - Metal","taxCode":"","grams":0.0,"image":null,"old_inventory_quantity":6,"product":{"product_id":"gid:\/\/shopify\/Product\/6796825198781"},"fulfillmentService":{"fulfillment_service":"manual"},"inventoryItem":{"inventory_item_id":"gid:\/\/shopify\/InventoryItem\/42186366255293"}}
|
||||
{"__typename":"ProductVariantPricePair","price":{"amount":"64.0","currencyCode":"USD"},"compareAtPrice":null,"__parentId":"gid:\/\/shopify\/ProductVariant\/40091751448765"}
|
||||
{"__typename":"ProductVariant","id":"gid:\/\/shopify\/ProductVariant\/41561955827901","title":"Test Variant 1","price":"19.00","sku":"","position":2,"inventoryPolicy":"DENY","compareAtPrice":null,"inventoryManagement":"SHOPIFY","createdAt":"2022-03-06T22:09:20Z","updatedAt":"2023-10-27T16:56:00Z","taxable":true,"barcode":"","weight":112.0,"weightUnit":"GRAMS","inventoryQuantity":2,"requiresShipping":true,"availableForSale":true,"displayName":"4 Ounce Soy Candle - Test Variant 1","taxCode":"","grams":112.0,"image":null,"old_inventory_quantity":2,"product":{"product_id":"gid:\/\/shopify\/Product\/6796220989629"},"fulfillmentService":{"fulfillment_service":"manual"},"inventoryItem":{"inventory_item_id":"gid:\/\/shopify\/InventoryItem\/43653682495677"}}
|
||||
{"__typename":"ProductVariantPricePair","price":{"amount":"19.0","currencyCode":"USD"},"compareAtPrice":null,"__parentId":"gid:\/\/shopify\/ProductVariant\/41561955827901"}\n"""
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def inventory_items_jsonl_content_example():
|
||||
return """{"__typename":"InventoryItem","id":"gid:\/\/shopify\/InventoryItem\/44871665713341","unitCost":null,"countryCodeOfOrigin":null,"harmonizedSystemCode":null,"provinceCodeOfOrigin":null,"updatedAt":"2023-04-14T10:29:27Z","createdAt":"2023-04-14T10:29:27Z","sku":"","tracked":true,"requiresShipping":false}
|
||||
{"__typename":"InventoryItem","id":"gid:\/\/shopify\/InventoryItem\/45419395743933","unitCost":{"cost":"29.0"},"countryCodeOfOrigin":"UA","harmonizedSystemCode":"330510","provinceCodeOfOrigin":null,"updatedAt":"2023-12-11T10:37:41Z","createdAt":"2023-12-11T10:37:41Z","sku":"123","tracked":true,"requiresShipping":true}\n"""
|
||||
return """{"__typename":"InventoryItem","id":"gid:\/\/shopify\/InventoryItem\/44871665713341","harmonizedSystemCode":null,"provinceCodeOfOrigin":null,"updatedAt":"2023-04-14T10:29:27Z","createdAt":"2023-04-14T10:29:27Z","sku":"","tracked":true,"requiresShipping":false,"duplicateSkuCount":0,"unitCost":{"cost":"60.0","currency_code":"USD"},"countryCodeOfOrigin":null}
|
||||
{"__typename":"InventoryItem","id":"gid:\/\/shopify\/InventoryItem\/45419395743933","harmonizedSystemCode":"330510","provinceCodeOfOrigin":null,"updatedAt":"2023-12-11T10:37:41Z","createdAt":"2023-12-11T10:37:41Z","sku":"123","tracked":true,"requiresShipping":true,"duplicateSkuCount":0,"unitCost":{"cost":"29.0","currency_code":"USD"},"countryCodeOfOrigin":"UA"}\n"""
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@@ -564,15 +565,15 @@ def customer_address_jsonl_content_example():
|
||||
@pytest.fixture
|
||||
def inventory_levels_jsonl_content_example():
|
||||
return """{"__typename":"Location","id":"gid:\/\/shopify\/Location\/63590301885"}
|
||||
{"__typename":"InventoryLevel","id":"gid:\/\/shopify\/InventoryLevel\/97912455357?inventory_item_id=42185200631997","item":{"inventory_item_id":"gid:\/\/shopify\/InventoryItem\/42185200631997"},"updatedAt":"2023-04-13T12:00:55Z","quantities":[{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=available","name":"available","quantity":15,"updatedAt":"2023-04-13T12:00:55Z"},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=incoming","name":"incoming","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=committed","name":"committed","quantity":0,"updatedAt":"2022-03-17T10:05:08Z"},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=damaged","name":"damaged","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=on_hand","name":"on_hand","quantity":15,"updatedAt":"2023-04-13T12:00:52Z"},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=quality_control","name":"quality_control","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=reserved","name":"reserved","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=safety_stock","name":"safety_stock","quantity":0,"updatedAt":null}],"__parentId":"gid:\/\/shopify\/Location\/63590301885"}
|
||||
{"__typename":"InventoryLevel","id":"gid:\/\/shopify\/InventoryLevel\/97912455357?inventory_item_id=42185218719933","item":{"inventory_item_id":"gid:\/\/shopify\/InventoryItem\/42185218719933"},"updatedAt":"2023-04-13T12:09:45Z","quantities":[{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=available","name":"available","quantity":8,"updatedAt":"2023-04-13T12:09:45Z"},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=incoming","name":"incoming","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=committed","name":"committed","quantity":2,"updatedAt":"2023-04-13T12:09:45Z"},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=damaged","name":"damaged","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=on_hand","name":"on_hand","quantity":10,"updatedAt":"2023-04-13T12:09:45Z"},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=quality_control","name":"quality_control","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=reserved","name":"reserved","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=safety_stock","name":"safety_stock","quantity":0,"updatedAt":null}],"__parentId":"gid:\/\/shopify\/Location\/63590301885"}\n"""
|
||||
{"__typename":"InventoryLevel","id":"gid:\/\/shopify\/InventoryLevel\/97912455357?inventory_item_id=42185200631997","canDeactivate":false,"createdAt":"2021-06-23T01:09:47Z","deactivationAlert":"Can't unstock from this location because it has committed inventory.","updatedAt":"2023-04-13T12:00:55Z","item":{"inventory_history_url":"https:\/\/airbyte-integration-test.myshopify.com\/admin\/products\/inventory\/42185200631997\/inventory_history","inventory_item_id":"gid:\/\/shopify\/InventoryItem\/42185200631997","locations_count":{"count":1}},"quantities":[{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=available","name":"available","quantity":15,"updatedAt":"2023-04-13T12:00:55Z"},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=incoming","name":"incoming","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=committed","name":"committed","quantity":0,"updatedAt":"2022-03-17T10:05:08Z"},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=damaged","name":"damaged","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=on_hand","name":"on_hand","quantity":15,"updatedAt":"2023-04-13T12:00:52Z"},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=quality_control","name":"quality_control","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=reserved","name":"reserved","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185200631997\u0026name=safety_stock","name":"safety_stock","quantity":0,"updatedAt":null}],"__parentId":"gid:\/\/shopify\/Location\/63590301885"}
|
||||
{"__typename":"InventoryLevel","id":"gid:\/\/shopify\/InventoryLevel\/97912455357?inventory_item_id=42185218719933","canDeactivate":false,"createdAt":"2021-06-23T01:10:48Z","deactivationAlert":"Can't unstock from this location because it has committed inventory.","updatedAt":"2023-04-13T12:09:45Z","item":{"inventory_history_url":"https:\/\/airbyte-integration-test.myshopify.com\/admin\/products\/inventory\/42185218719933\/inventory_history","inventory_item_id":"gid:\/\/shopify\/InventoryItem\/42185218719933","locations_count":{"count":1}},"quantities":[{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=available","name":"available","quantity":8,"updatedAt":"2023-04-13T12:09:45Z"},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=incoming","name":"incoming","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=committed","name":"committed","quantity":2,"updatedAt":"2023-04-13T12:09:45Z"},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=damaged","name":"damaged","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=on_hand","name":"on_hand","quantity":10,"updatedAt":"2023-04-13T12:09:45Z"},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=quality_control","name":"quality_control","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=reserved","name":"reserved","quantity":0,"updatedAt":null},{"id":"gid:\/\/shopify\/InventoryQuantity\/97912455357?inventory_item_id=42185218719933\u0026name=safety_stock","name":"safety_stock","quantity":0,"updatedAt":null}],"__parentId":"gid:\/\/shopify\/Location\/63590301885"}\n"""
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def discount_codes_jsonl_content_example():
|
||||
return """{"__typename":"DiscountCodeNode","id":"gid:\/\/shopify\/DiscountCodeNode\/945205379261","codeDiscount":{"updatedAt":"2023-12-07T11:40:44Z","createdAt":"2021-07-08T12:40:37Z","summary":"Free shipping on all products • Minimum purchase of $1.00 • For all countries","discountType":"SHIPPING"}}
|
||||
{"__typename":"DiscountRedeemCode","usageCount":0,"code":"TEST","id":"gid:\/\/shopify\/DiscountRedeemCode\/11545139282109","__parentId":"gid:\/\/shopify\/DiscountCodeNode\/945205379261"}
|
||||
{"__typename":"DiscountRedeemCode","usageCount":0,"code":"TEST2","id":"gid:\/\/shopify\/DiscountRedeemCode\/13175793582269","__parentId":"gid:\/\/shopify\/DiscountCodeNode\/945205379261"}\n"""
|
||||
return """{"__typename":"DiscountCodeNode","id":"gid:\/\/shopify\/DiscountCodeNode\/945205379261","codeDiscount":{"__typename":"DiscountCodeFreeShipping","updatedAt":"2023-12-07T11:40:44Z","createdAt":"2021-07-08T12:40:37Z","discountType":"SHIPPING","startsAt":"2021-07-08T12:40:13Z","endsAt":"2024-01-02T07:59:59Z","status":"EXPIRED","title":"HZAVNV2487WC","usageLimit":null,"appliesOncePerCustomer":false,"asyncUsageCount":0,"codesCount":{"count":2},"totalSales":null,"summary":"Free shipping on all products • Minimum purchase of $1.00 • For all countries"}}
|
||||
{"__typename":"DiscountRedeemCode","usageCount":0,"code":"HZAVNV2487WC","id":"gid:\/\/shopify\/DiscountRedeemCode\/11545139282109","createdBy":null,"__parentId":"gid:\/\/shopify\/DiscountCodeNode\/945205379261"}
|
||||
{"__typename":"DiscountRedeemCode","usageCount":0,"code":"SUMMERSALE10OFF","id":"gid:\/\/shopify\/DiscountRedeemCode\/13175793582269","createdBy":null,"__parentId":"gid:\/\/shopify\/DiscountCodeNode\/945205379261"}\n"""
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@@ -589,48 +590,7 @@ def collections_jsonl_content_example():
|
||||
|
||||
@pytest.fixture
|
||||
def transactions_jsonl_content_example():
|
||||
return (
|
||||
dumps(
|
||||
{
|
||||
"__typename": "Order",
|
||||
"id": "gid://shopify/Order/1",
|
||||
"currency": "USD",
|
||||
"transactions": [
|
||||
{
|
||||
"id": "gid://shopify/OrderTransaction/1",
|
||||
"errorCode": None,
|
||||
"parentTransaction": {"parentId": "gid://shopify/ParentOrderTransaction/0"},
|
||||
"test": True,
|
||||
"kind": "SALE",
|
||||
"amount": "102.00",
|
||||
"receipt": '{"paid_amount":"102.00"}',
|
||||
"gateway": "test",
|
||||
"authorization": "1234",
|
||||
"createdAt": "2030-07-02T07:51:49Z",
|
||||
"status": "SUCCESS",
|
||||
"processedAt": "2030-07-02T07:51:49Z",
|
||||
"totalUnsettledSet": {
|
||||
"presentmentMoney": {"amount": "0.0", "currency": "USD"},
|
||||
"shopMoney": {"amount": "0.0", "currency": "USD"},
|
||||
},
|
||||
"paymentId": "some_payment_id.1",
|
||||
"paymentDetails": {
|
||||
"avsResultCode": None,
|
||||
"cvvResultCode": None,
|
||||
"creditCardBin": "1",
|
||||
"creditCardCompany": "Test",
|
||||
"creditCardNumber": "•••• •••• •••• 1",
|
||||
"creditCardName": "Test Gateway",
|
||||
"creditCardWallet": None,
|
||||
"creditCardExpirationYear": 2023,
|
||||
"creditCardExpirationMonth": 11,
|
||||
},
|
||||
}
|
||||
],
|
||||
}
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
return """{"__typename":"Order","id":"gid:\/\/shopify\/Order\/4554821468349","currency":"USD","transactions":[{"id":"gid:\/\/shopify\/OrderTransaction\/5721110872253","errorCode":null,"test":true,"kind":"SALE","amount":"57.23","createdAt":"2023-06-15T12:16:52Z","status":"SUCCESS","processedAt":"2023-06-15T12:16:52Z","gateway":"bogus","paymentId":"c25048437719229.1","accountNumber":"•••• •••• •••• 1","formattedGateway":"(For Testing) Bogus Gateway","manuallyCapturable":false,"receipt":"{}","parentTransaction":null,"authorization":"53433","totalUnsettledSet":{"presentmentMoney":{"amount":"0.0","currency":"USD"},"shopMoney":{"amount":"0.0","currency":"USD"}},"amountSet":{"shop_money":{"amount":"57.23","currency":"USD"}},"fees":[],"paymentDetails":{"avsResultCode":null,"cvvResultCode":null,"creditCardBin":"1","creditCardCompany":"Bogus","creditCardNumber":"•••• •••• •••• 1","creditCardName":"Bogus Gateway","creditCardWallet":null,"creditCardExpirationYear":2025,"creditCardExpirationMonth":2}},{"id":"gid:\/\/shopify\/OrderTransaction\/5721170968765","errorCode":null,"test":true,"kind":"REFUND","amount":"57.23","createdAt":"2022-06-15T13:25:42Z","status":"SUCCESS","processedAt":"2022-06-15T13:25:42Z","gateway":"bogus","paymentId":"c25048437719229.2","accountNumber":"•••• •••• •••• 1","formattedGateway":"(For Testing) Bogus Gateway","manuallyCapturable":false,"receipt":"{}","parentTransaction":{"parentId":"gid:\/\/shopify\/OrderTransaction\/5721110872253"},"authorization":null,"totalUnsettledSet":{"presentmentMoney":{"amount":"0.0","currency":"USD"},"shopMoney":{"amount":"0.0","currency":"USD"}},"amountSet":{"shop_money":{"amount":"57.23","currency":"USD"}},"fees":[],"paymentDetails":{"avsResultCode":null,"cvvResultCode":null,"creditCardBin":"1","creditCardCompany":"Bogus","creditCardNumber":"•••• •••• •••• 1","creditCardName":"Bogus Gateway","creditCardWallet":null,"creditCardExpirationYear":2025,"creditCardExpirationMonth":2}}]}\n"""
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@@ -650,52 +610,46 @@ def metafield_parse_response_expected_result():
|
||||
def fulfillment_orders_response_expected_result():
|
||||
return {
|
||||
"id": 2,
|
||||
"assigned_location": {
|
||||
"address1": "Test",
|
||||
"address2": None,
|
||||
"city": "Test",
|
||||
"country_code": "Test",
|
||||
"name": "Test",
|
||||
"phone": "",
|
||||
"province": None,
|
||||
"zip": "00000",
|
||||
"location_id": 123,
|
||||
},
|
||||
"destination": {
|
||||
"id": 777,
|
||||
},
|
||||
"delivery_method": {
|
||||
"id": 123,
|
||||
"method_type": "SHIPPING",
|
||||
"min_delivery_date_time": "2023-04-13T12:00:00+00:00",
|
||||
"max_delivery_date_time": "2023-04-13T12:00:00+00:00",
|
||||
},
|
||||
"fulfill_at": "2023-04-13T12:00:00+00:00",
|
||||
"fulfill_at": "2023-04-24T18:00:00+00:00",
|
||||
"fulfill_by": None,
|
||||
"international_duties": None,
|
||||
"fulfillment_holds": [],
|
||||
"created_at": "2023-04-13T12:09:45+00:00",
|
||||
"updated_at": "2023-04-13T12:09:46+00:00",
|
||||
"created_at": "2023-04-24T18:00:09+00:00",
|
||||
"updated_at": "2023-04-24T18:00:09+00:00",
|
||||
"request_status": "UNSUBMITTED",
|
||||
"status": "CLOSED",
|
||||
"channel_id": None,
|
||||
"assigned_location": {
|
||||
"address1": "Heroiv UPA 72",
|
||||
"address2": None,
|
||||
"city": "Lviv",
|
||||
"country_code": "UA",
|
||||
"name": "Heroiv UPA 72",
|
||||
"phone": "",
|
||||
"province": None,
|
||||
"zip": "30100",
|
||||
"location_id": 63590301885,
|
||||
},
|
||||
"destination": None,
|
||||
"delivery_method": {"id": 442031046845, "method_type": "SHIPPING", "min_delivery_date_time": None, "max_delivery_date_time": None},
|
||||
"international_duties": None,
|
||||
"fulfillment_holds": [],
|
||||
"supported_actions": [],
|
||||
"admin_graphql_api_id": "gid://shopify/FulfillmentOrder/2",
|
||||
"shop_id": None,
|
||||
"order_id": 1,
|
||||
"assigned_location_id": 123,
|
||||
"assigned_location_id": 63590301885,
|
||||
"line_items": [
|
||||
{
|
||||
"id": 3,
|
||||
"inventory_item_id": 33,
|
||||
"inventory_item_id": 43653688524989,
|
||||
"shop_id": None,
|
||||
"fulfillment_order_id": 2,
|
||||
"quantity": 1,
|
||||
"line_item_id": 31,
|
||||
"line_item_id": 12247585521853,
|
||||
"fulfillable_quantity": 0,
|
||||
"variant_id": 333,
|
||||
},
|
||||
"variant_id": 41561961824445,
|
||||
}
|
||||
],
|
||||
"merchant_requests": [{"id": 333, "message": None, "kind": "FULFILLMENT_REQUEST", "request_options": {"notify_customer": True}}],
|
||||
"admin_graphql_api_id": "gid://shopify/FulfillmentOrder/2",
|
||||
"shop_url": "test_shop",
|
||||
}
|
||||
|
||||
@@ -713,53 +667,33 @@ def order_risks_response_expected_result():
|
||||
{
|
||||
"risk_level": "NONE",
|
||||
"facts": [
|
||||
{
|
||||
"description": "Card Verification Value (CVV) isn't available",
|
||||
"sentiment": "NEUTRAL"
|
||||
},
|
||||
{
|
||||
"description": "Billing address or credit card's address wasn't available",
|
||||
"sentiment": "NEUTRAL"
|
||||
},
|
||||
{"description": "Card Verification Value (CVV) isn't available", "sentiment": "NEUTRAL"},
|
||||
{"description": "Billing address or credit card's address wasn't available", "sentiment": "NEUTRAL"},
|
||||
{
|
||||
"description": "Billing address ZIP or postal code isn't available to match with credit card's registered address",
|
||||
"sentiment": "NEUTRAL"
|
||||
},
|
||||
{
|
||||
"description": "The payment method used isn't available",
|
||||
"sentiment": "NEUTRAL"
|
||||
},
|
||||
{
|
||||
"description": "Location of IP address used to place the order isn't available",
|
||||
"sentiment": "NEUTRAL"
|
||||
"sentiment": "NEUTRAL",
|
||||
},
|
||||
{"description": "The payment method used isn't available", "sentiment": "NEUTRAL"},
|
||||
{"description": "Location of IP address used to place the order isn't available", "sentiment": "NEUTRAL"},
|
||||
{
|
||||
"description": "Distance between shipping address and location of IP address isn't available",
|
||||
"sentiment": "NEUTRAL"
|
||||
"sentiment": "NEUTRAL",
|
||||
},
|
||||
{
|
||||
"description": "The billing country or the country of the IP used to place the order isn't available",
|
||||
"sentiment": "NEUTRAL"
|
||||
"sentiment": "NEUTRAL",
|
||||
},
|
||||
{
|
||||
"description": "Can't determine if a high risk internet connection was used because the IP address isn't available",
|
||||
"sentiment": "NEUTRAL"
|
||||
"sentiment": "NEUTRAL",
|
||||
},
|
||||
{
|
||||
"description": "There was 1 payment attempt",
|
||||
"sentiment": "POSITIVE"
|
||||
}
|
||||
{"description": "There was 1 payment attempt", "sentiment": "POSITIVE"},
|
||||
],
|
||||
"provider": None
|
||||
"provider": None,
|
||||
},
|
||||
{
|
||||
"risk_level": "HIGH",
|
||||
"facts": [
|
||||
{
|
||||
"description": "This order came from an anonymous proxy",
|
||||
"sentiment": "NEGATIVE"
|
||||
}
|
||||
],
|
||||
"facts": [{"description": "This order came from an anonymous proxy", "sentiment": "NEGATIVE"}],
|
||||
"provider": {
|
||||
"features": [],
|
||||
"description": None,
|
||||
@@ -784,11 +718,11 @@ def order_risks_response_expected_result():
|
||||
"provider_id": 5505221,
|
||||
"failed_requirements": [],
|
||||
"feedback": None,
|
||||
"admin_graphql_api_id": "gid://shopify/App/5505221"
|
||||
}
|
||||
}
|
||||
"admin_graphql_api_id": "gid://shopify/App/5505221",
|
||||
},
|
||||
},
|
||||
],
|
||||
"shop_url": "test_shop"
|
||||
"shop_url": "test_shop",
|
||||
}
|
||||
]
|
||||
|
||||
@@ -796,56 +730,59 @@ def order_risks_response_expected_result():
|
||||
@pytest.fixture
|
||||
def products_response_expected_result():
|
||||
return {
|
||||
"id": 123,
|
||||
"published_at": "2021-06-23T01:09:29+00:00",
|
||||
"created_at": "2021-06-23T01:09:29+00:00",
|
||||
"status": "ACTIVE",
|
||||
"vendor": "Blanda, O'Kon and Bartell",
|
||||
"updated_at": "2023-04-20T11:12:26+00:00",
|
||||
"body_html": "Gold and silver glitter iPhone 7 cases with geometric line patterns, stacked",
|
||||
"product_type": "Music",
|
||||
"tags": "developer-tools-generator",
|
||||
"handle": "gold-silver-iphone-7-case",
|
||||
"template_suffix": None,
|
||||
"title": "Gold Silver iPhone 7 Case",
|
||||
"description": "Gold and silver glitter iPhone 7 cases with geometric line patterns, stacked",
|
||||
"description_html": "Gold and silver glitter iPhone 7 cases with geometric line patterns, stacked",
|
||||
"is_gift_card": False,
|
||||
"legacy_resource_id": "6796218335421",
|
||||
"online_store_preview_url": "https://airbyte-integration-test.myshopify.com/products/gold-silver-iphone-7-case",
|
||||
"online_store_url": None,
|
||||
"total_inventory": 58,
|
||||
"tracks_inventory": True,
|
||||
"total_variants": 2,
|
||||
"media_count": 1,
|
||||
"options": [
|
||||
{
|
||||
"id": 444,
|
||||
"name": "Title",
|
||||
"values": [
|
||||
"Plastic",
|
||||
"indigo"
|
||||
],
|
||||
"position": 1,
|
||||
"product_id": 123
|
||||
}
|
||||
],
|
||||
"admin_graphql_api_id": "gid://shopify/Product/123",
|
||||
"images": [
|
||||
{
|
||||
"id": 111
|
||||
}
|
||||
],
|
||||
"variants": [
|
||||
{
|
||||
"id": 111
|
||||
},
|
||||
{
|
||||
"id": 222
|
||||
}
|
||||
],
|
||||
"shop_url": "test_shop"
|
||||
}
|
||||
"id": 123,
|
||||
"published_at": "2021-06-23T01:09:29+00:00",
|
||||
"created_at": "2021-06-23T01:09:29+00:00",
|
||||
"status": "ACTIVE",
|
||||
"vendor": "Blanda, O'Kon and Bartell",
|
||||
"updated_at": "2023-04-20T11:12:26+00:00",
|
||||
"body_html": "Gold and silver glitter iPhone 7 cases with geometric line patterns, stacked",
|
||||
"product_type": "Music",
|
||||
"tags": "developer-tools-generator",
|
||||
"handle": "gold-silver-iphone-7-case",
|
||||
"template_suffix": None,
|
||||
"title": "Gold Silver iPhone 7 Case",
|
||||
"description": "Gold and silver glitter iPhone 7 cases with geometric line patterns, stacked",
|
||||
"description_html": "Gold and silver glitter iPhone 7 cases with geometric line patterns, stacked",
|
||||
"is_gift_card": False,
|
||||
"legacy_resource_id": "123",
|
||||
"online_store_preview_url": "https://airbyte-integration-test.myshopify.com/products/gold-silver-iphone-7-case",
|
||||
"online_store_url": None,
|
||||
"total_inventory": 58,
|
||||
"tracks_inventory": True,
|
||||
"has_only_default_variant": False,
|
||||
"has_out_of_stock_variants": False,
|
||||
"requires_selling_plan": False,
|
||||
"price_range_v2": {
|
||||
"max_variant_price": {"amount": 99.0, "currency_code": "USD"},
|
||||
"min_variant_price": {"amount": 98.0, "currency_code": "USD"},
|
||||
},
|
||||
"featured_image": {
|
||||
"height": 3709,
|
||||
"id": "gid://shopify/ProductImage/29301295579325",
|
||||
"url": "https://cdn.shopify.com/s/files/1/0580/3317/6765/products/gold-silver-iphone-7-case.jpg?v=1624410569",
|
||||
"width": 5563,
|
||||
"alt_text": None,
|
||||
},
|
||||
"seo": {"description": None, "title": None},
|
||||
"featured_media": {
|
||||
"alt": "",
|
||||
"id": "gid://shopify/MediaImage/21562154123453",
|
||||
"status": "READY",
|
||||
"media_content_type": "IMAGE",
|
||||
"preview": {"status": "READY", "image": {"id": "gid://shopify/ImageSource/21570958426301", "alt_text": ""}},
|
||||
"media_errors": [],
|
||||
"media_warnings": [],
|
||||
},
|
||||
"feedback": None,
|
||||
"total_variants": 2,
|
||||
"media_count": 1,
|
||||
"options": [{"id": 8720175628477, "name": "Title", "values": ["Plastic", "indigo"], "position": 1, "product_id": 123}],
|
||||
"admin_graphql_api_id": "gid://shopify/Product/123",
|
||||
"images": [{"id": 111}],
|
||||
"variants": [{"id": 111}, {"id": 222}],
|
||||
"shop_url": "test_shop",
|
||||
}
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@@ -861,7 +798,7 @@ def product_images_response_expected_result():
|
||||
"width": 265,
|
||||
"admin_graphql_api_id": "gid://shopify/ProductImage/111",
|
||||
"product_id": 123,
|
||||
"shop_url": "test_shop"
|
||||
"shop_url": "test_shop",
|
||||
},
|
||||
{
|
||||
"created_at": "2021-06-23T01:09:47+00:00",
|
||||
@@ -873,8 +810,8 @@ def product_images_response_expected_result():
|
||||
"width": 2200,
|
||||
"admin_graphql_api_id": "gid://shopify/ProductImage/222",
|
||||
"product_id": 456,
|
||||
"shop_url": "test_shop"
|
||||
}
|
||||
"shop_url": "test_shop",
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
@@ -882,80 +819,65 @@ def product_images_response_expected_result():
|
||||
def product_variants_response_expected_result():
|
||||
return [
|
||||
{
|
||||
"id": 123,
|
||||
"title": "Test 234",
|
||||
"price": 59.00,
|
||||
"id": 40091751448765,
|
||||
"title": "Metal",
|
||||
"price": 64.0,
|
||||
"sku": "",
|
||||
"position": 3,
|
||||
"position": 1,
|
||||
"inventory_policy": "DENY",
|
||||
"compare_at_price": None,
|
||||
"inventory_management": "SHOPIFY",
|
||||
"created_at": "2023-04-14T10:29:27+00:00",
|
||||
"updated_at": "2023-10-27T16:56:39+00:00",
|
||||
"created_at": "2021-06-23T06:04:41+00:00",
|
||||
"updated_at": "2023-10-27T16:56:50+00:00",
|
||||
"taxable": True,
|
||||
"barcode": "",
|
||||
"barcode": None,
|
||||
"weight": 0.0,
|
||||
"weight_unit": "GRAMS",
|
||||
"inventory_quantity": 0,
|
||||
"inventory_quantity": 6,
|
||||
"requires_shipping": False,
|
||||
"available_for_sale": True,
|
||||
"display_name": "Waterproof iPhone Speaker - Metal",
|
||||
"tax_code": "",
|
||||
"grams": 0,
|
||||
"image_id": None,
|
||||
"old_inventory_quantity": 0,
|
||||
"old_inventory_quantity": 6,
|
||||
"fulfillment_service": "manual",
|
||||
"admin_graphql_api_id": "gid://shopify/ProductVariant/123",
|
||||
"presentment_prices": [
|
||||
{
|
||||
"price": {
|
||||
"amount": 59.0,
|
||||
"currency_code": "USD"
|
||||
},
|
||||
"compare_at_price": {
|
||||
"amount": None
|
||||
}
|
||||
}
|
||||
],
|
||||
"product_id": 111,
|
||||
"inventory_item_id": 222,
|
||||
"shop_url": "test_shop"
|
||||
"admin_graphql_api_id": "gid://shopify/ProductVariant/40091751448765",
|
||||
"presentment_prices": [{"price": {"amount": 64.0, "currency_code": "USD"}, "compare_at_price": {"amount": None}}],
|
||||
"product_id": 6796825198781,
|
||||
"inventory_item_id": 42186366255293,
|
||||
"image_id": None,
|
||||
"shop_url": "test_shop",
|
||||
},
|
||||
{
|
||||
"id": 456,
|
||||
"title": "Test Variant",
|
||||
"price": 113.00,
|
||||
"sku": "123",
|
||||
"position": 4,
|
||||
"inventory_policy": "CONTINUE",
|
||||
"compare_at_price": "1.00",
|
||||
"id": 41561955827901,
|
||||
"title": "Test Variant 1",
|
||||
"price": 19.0,
|
||||
"sku": "",
|
||||
"position": 2,
|
||||
"inventory_policy": "DENY",
|
||||
"compare_at_price": None,
|
||||
"inventory_management": "SHOPIFY",
|
||||
"created_at": "2023-12-11T10:37:41+00:00",
|
||||
"updated_at": "2023-12-11T10:37:41+00:00",
|
||||
"created_at": "2022-03-06T22:09:20+00:00",
|
||||
"updated_at": "2023-10-27T16:56:00+00:00",
|
||||
"taxable": True,
|
||||
"barcode": "123",
|
||||
"weight": 127.0,
|
||||
"barcode": "",
|
||||
"weight": 112.0,
|
||||
"weight_unit": "GRAMS",
|
||||
"inventory_quantity": 1,
|
||||
"inventory_quantity": 2,
|
||||
"requires_shipping": True,
|
||||
"grams": 127,
|
||||
"image_id": 123456,
|
||||
"old_inventory_quantity": 1,
|
||||
"available_for_sale": True,
|
||||
"display_name": "4 Ounce Soy Candle - Test Variant 1",
|
||||
"tax_code": "",
|
||||
"grams": 112,
|
||||
"old_inventory_quantity": 2,
|
||||
"fulfillment_service": "manual",
|
||||
"admin_graphql_api_id": "gid://shopify/ProductVariant/456",
|
||||
"presentment_prices": [
|
||||
{
|
||||
"price": {
|
||||
"amount": 113.0,
|
||||
"currency_code": "USD"
|
||||
},
|
||||
"compare_at_price": {
|
||||
"amount": 1.0,
|
||||
"currency_code": "USD"
|
||||
}
|
||||
}
|
||||
],
|
||||
"product_id": 222,
|
||||
"inventory_item_id": 333,
|
||||
"shop_url": "test_shop"
|
||||
}
|
||||
"admin_graphql_api_id": "gid://shopify/ProductVariant/41561955827901",
|
||||
"presentment_prices": [{"price": {"amount": 19.0, "currency_code": "USD"}, "compare_at_price": {"amount": None}}],
|
||||
"product_id": 6796220989629,
|
||||
"inventory_item_id": 43653682495677,
|
||||
"image_id": None,
|
||||
"shop_url": "test_shop",
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
@@ -964,7 +886,6 @@ def inventory_items_response_expected_result():
|
||||
return [
|
||||
{
|
||||
"id": 44871665713341,
|
||||
"country_code_of_origin": None,
|
||||
"harmonized_system_code": None,
|
||||
"province_code_of_origin": None,
|
||||
"updated_at": "2023-04-14T10:29:27+00:00",
|
||||
@@ -972,14 +893,16 @@ def inventory_items_response_expected_result():
|
||||
"sku": "",
|
||||
"tracked": True,
|
||||
"requires_shipping": False,
|
||||
"duplicate_sku_count": 0,
|
||||
"country_code_of_origin": None,
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryItem/44871665713341",
|
||||
"cost": None,
|
||||
"cost": 60.0,
|
||||
"currency_code": "USD",
|
||||
"country_harmonized_system_codes": [],
|
||||
"shop_url": "test_shop",
|
||||
},
|
||||
{
|
||||
"id": 45419395743933,
|
||||
"country_code_of_origin": "UA",
|
||||
"harmonized_system_code": "330510",
|
||||
"province_code_of_origin": None,
|
||||
"updated_at": "2023-12-11T10:37:41+00:00",
|
||||
@@ -987,8 +910,11 @@ def inventory_items_response_expected_result():
|
||||
"sku": "123",
|
||||
"tracked": True,
|
||||
"requires_shipping": True,
|
||||
"duplicate_sku_count": 0,
|
||||
"country_code_of_origin": "UA",
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryItem/45419395743933",
|
||||
"cost": 29.0,
|
||||
"currency_code": "USD",
|
||||
"country_harmonized_system_codes": [],
|
||||
"shop_url": "test_shop",
|
||||
},
|
||||
@@ -998,49 +924,49 @@ def inventory_items_response_expected_result():
|
||||
@pytest.fixture
|
||||
def customer_address_parse_response_expected_result():
|
||||
return [
|
||||
{
|
||||
"address1": "My Best Accent",
|
||||
"address2": "",
|
||||
"city": "Fair Lawn",
|
||||
"country": "United States",
|
||||
"country_code": "US",
|
||||
"company": "Test Company",
|
||||
"first_name": "New Test",
|
||||
"id": 123,
|
||||
"last_name": "Customer",
|
||||
"name": "New Test Customer",
|
||||
"phone": "",
|
||||
"province": "New Jersey",
|
||||
"province_code": "NJ",
|
||||
"zip": "07410",
|
||||
"customer_id": 123,
|
||||
"country_name": "United States",
|
||||
"default": True,
|
||||
"updated_at": "2023-04-24T13:53:48+00:00",
|
||||
"shop_url": "test_shop"
|
||||
},
|
||||
{
|
||||
"address1": None,
|
||||
"address2": None,
|
||||
"city": None,
|
||||
"country": None,
|
||||
"country_code": None,
|
||||
"company": None,
|
||||
"first_name": "MArcos",
|
||||
"id": 456,
|
||||
"last_name": "Millnitz",
|
||||
"name": "MArcos Millnitz",
|
||||
"phone": None,
|
||||
"province": None,
|
||||
"province_code": None,
|
||||
"zip": None,
|
||||
"customer_id": 456,
|
||||
"country_name": None,
|
||||
"default": True,
|
||||
"updated_at": "2023-07-11T20:07:45+00:00",
|
||||
"shop_url": "test_shop"
|
||||
}
|
||||
]
|
||||
{
|
||||
"address1": "My Best Accent",
|
||||
"address2": "",
|
||||
"city": "Fair Lawn",
|
||||
"country": "United States",
|
||||
"country_code": "US",
|
||||
"company": "Test Company",
|
||||
"first_name": "New Test",
|
||||
"id": 123,
|
||||
"last_name": "Customer",
|
||||
"name": "New Test Customer",
|
||||
"phone": "",
|
||||
"province": "New Jersey",
|
||||
"province_code": "NJ",
|
||||
"zip": "07410",
|
||||
"customer_id": 123,
|
||||
"country_name": "United States",
|
||||
"default": True,
|
||||
"updated_at": "2023-04-24T13:53:48+00:00",
|
||||
"shop_url": "test_shop",
|
||||
},
|
||||
{
|
||||
"address1": None,
|
||||
"address2": None,
|
||||
"city": None,
|
||||
"country": None,
|
||||
"country_code": None,
|
||||
"company": None,
|
||||
"first_name": "MArcos",
|
||||
"id": 456,
|
||||
"last_name": "Millnitz",
|
||||
"name": "MArcos Millnitz",
|
||||
"phone": None,
|
||||
"province": None,
|
||||
"province_code": None,
|
||||
"zip": None,
|
||||
"customer_id": 456,
|
||||
"country_name": None,
|
||||
"default": True,
|
||||
"updated_at": "2023-07-11T20:07:45+00:00",
|
||||
"shop_url": "test_shop",
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@@ -1048,6 +974,9 @@ def inventory_levels_response_expected_result():
|
||||
return [
|
||||
{
|
||||
"id": "63590301885|42185200631997",
|
||||
"can_deactivate": False,
|
||||
"created_at": "2021-06-23T01:09:47Z",
|
||||
"deactivation_alert": "Can't unstock from this location because it has committed inventory.",
|
||||
"updated_at": "2023-04-13T12:00:55+00:00",
|
||||
"quantities": [
|
||||
{
|
||||
@@ -1055,65 +984,70 @@ def inventory_levels_response_expected_result():
|
||||
"name": "available",
|
||||
"quantity": 15,
|
||||
"updatedAt": "2023-04-13T12:00:55+00:00",
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=available"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=available",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "incoming",
|
||||
"quantity": 0,
|
||||
"updatedAt": None,
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=incoming"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=incoming",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "committed",
|
||||
"quantity": 0,
|
||||
"updatedAt": "2022-03-17T10:05:08+00:00",
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=committed"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=committed",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "damaged",
|
||||
"quantity": 0,
|
||||
"updatedAt": None,
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=damaged"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=damaged",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "on_hand",
|
||||
"quantity": 15,
|
||||
"updatedAt": "2023-04-13T12:00:52+00:00",
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=on_hand"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=on_hand",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "quality_control",
|
||||
"quantity": 0,
|
||||
"updatedAt": None,
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=quality_control"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=quality_control",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "reserved",
|
||||
"quantity": 0,
|
||||
"updatedAt": None,
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=reserved"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=reserved",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "safety_stock",
|
||||
"quantity": 0,
|
||||
"updatedAt": None,
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=safety_stock"
|
||||
}
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185200631997&name=safety_stock",
|
||||
},
|
||||
],
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=42185200631997",
|
||||
"inventory_item_id": 42185200631997,
|
||||
"inventory_history_url": "https://airbyte-integration-test.myshopify.com/admin/products/inventory/42185200631997/inventory_history",
|
||||
"locations_count": {"count": 1},
|
||||
"location_id": 63590301885,
|
||||
"shop_url": "test_shop"
|
||||
"shop_url": "test_shop",
|
||||
},
|
||||
{
|
||||
"id": "63590301885|42185218719933",
|
||||
"can_deactivate": False,
|
||||
"created_at": "2021-06-23T01:10:48Z",
|
||||
"deactivation_alert": "Can't unstock from this location because it has committed inventory.",
|
||||
"updated_at": "2023-04-13T12:09:45+00:00",
|
||||
"quantities": [
|
||||
{
|
||||
@@ -1121,63 +1055,65 @@ def inventory_levels_response_expected_result():
|
||||
"name": "available",
|
||||
"quantity": 8,
|
||||
"updatedAt": "2023-04-13T12:09:45+00:00",
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=available"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=available",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "incoming",
|
||||
"quantity": 0,
|
||||
"updatedAt": None,
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=incoming"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=incoming",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "committed",
|
||||
"quantity": 2,
|
||||
"updatedAt": "2023-04-13T12:09:45+00:00",
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=committed"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=committed",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "damaged",
|
||||
"quantity": 0,
|
||||
"updatedAt": None,
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=damaged"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=damaged",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "on_hand",
|
||||
"quantity": 10,
|
||||
"updatedAt": "2023-04-13T12:09:45+00:00",
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=on_hand"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=on_hand",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "quality_control",
|
||||
"quantity": 0,
|
||||
"updatedAt": None,
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=quality_control"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=quality_control",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "reserved",
|
||||
"quantity": 0,
|
||||
"updatedAt": None,
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=reserved"
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=reserved",
|
||||
},
|
||||
{
|
||||
"id": 97912455357,
|
||||
"name": "safety_stock",
|
||||
"quantity": 0,
|
||||
"updatedAt": None,
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=safety_stock"
|
||||
}
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryQuantity/97912455357?inventory_item_id=42185218719933&name=safety_stock",
|
||||
},
|
||||
],
|
||||
"admin_graphql_api_id": "gid://shopify/InventoryLevel/97912455357?inventory_item_id=42185218719933",
|
||||
"inventory_item_id": 42185218719933,
|
||||
"inventory_history_url": "https://airbyte-integration-test.myshopify.com/admin/products/inventory/42185218719933/inventory_history",
|
||||
"locations_count": {"count": 1},
|
||||
"location_id": 63590301885,
|
||||
"shop_url": "test_shop"
|
||||
}
|
||||
"shop_url": "test_shop",
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
@@ -1186,26 +1122,48 @@ def discount_codes_response_expected_result():
|
||||
return [
|
||||
{
|
||||
"usage_count": 0,
|
||||
"code": "TEST",
|
||||
"code": "HZAVNV2487WC",
|
||||
"id": 11545139282109,
|
||||
"created_by": None,
|
||||
"admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/11545139282109",
|
||||
"price_rule_id": 945205379261,
|
||||
"typename": "DiscountCodeFreeShipping",
|
||||
"updated_at": "2023-12-07T11:40:44+00:00",
|
||||
"created_at": "2021-07-08T12:40:37+00:00",
|
||||
"summary": "Free shipping on all products • Minimum purchase of $1.00 • For all countries",
|
||||
"discount_type": "SHIPPING",
|
||||
"starts_at": "2021-07-08T12:40:13Z",
|
||||
"ends_at": "2024-01-02T07:59:59Z",
|
||||
"status": "EXPIRED",
|
||||
"title": "HZAVNV2487WC",
|
||||
"usage_limit": None,
|
||||
"applies_once_per_customer": False,
|
||||
"async_usage_count": 0,
|
||||
"codes_count": {"count": 2},
|
||||
"total_sales": None,
|
||||
"summary": "Free shipping on all products \u2022 Minimum purchase of $1.00 \u2022 For all countries",
|
||||
"shop_url": "test_shop",
|
||||
},
|
||||
{
|
||||
"usage_count": 0,
|
||||
"code": "TEST2",
|
||||
"code": "SUMMERSALE10OFF",
|
||||
"id": 13175793582269,
|
||||
"created_by": None,
|
||||
"admin_graphql_api_id": "gid://shopify/DiscountRedeemCode/13175793582269",
|
||||
"price_rule_id": 945205379261,
|
||||
"typename": "DiscountCodeFreeShipping",
|
||||
"updated_at": "2023-12-07T11:40:44+00:00",
|
||||
"created_at": "2021-07-08T12:40:37+00:00",
|
||||
"summary": "Free shipping on all products • Minimum purchase of $1.00 • For all countries",
|
||||
"discount_type": "SHIPPING",
|
||||
"starts_at": "2021-07-08T12:40:13Z",
|
||||
"ends_at": "2024-01-02T07:59:59Z",
|
||||
"status": "EXPIRED",
|
||||
"title": "HZAVNV2487WC",
|
||||
"usage_limit": None,
|
||||
"applies_once_per_customer": False,
|
||||
"async_usage_count": 0,
|
||||
"codes_count": {"count": 2},
|
||||
"total_sales": None,
|
||||
"summary": "Free shipping on all products \u2022 Minimum purchase of $1.00 \u2022 For all countries",
|
||||
"shop_url": "test_shop",
|
||||
},
|
||||
]
|
||||
@@ -1246,33 +1204,41 @@ def collections_response_expected_result():
|
||||
@pytest.fixture
|
||||
def transactions_response_expected_result():
|
||||
return {
|
||||
"id": 1,
|
||||
"id": 5721110872253,
|
||||
"error_code": None,
|
||||
"test": True,
|
||||
"kind": "SALE",
|
||||
"amount": 102.0,
|
||||
"receipt": '{"paid_amount":"102.00"}',
|
||||
"gateway": "test",
|
||||
"authorization": "1234",
|
||||
"created_at": "2030-07-02T07:51:49+00:00",
|
||||
"amount": 57.23,
|
||||
"created_at": "2023-06-15T12:16:52+00:00",
|
||||
"status": "SUCCESS",
|
||||
"processed_at": "2030-07-02T07:51:49+00:00",
|
||||
"total_unsettled_set": {"presentment_money": {"amount": 0.0, "currency": "USD"}, "shop_money": {"amount": 0.0, "currency": "USD"}},
|
||||
"payment_id": "some_payment_id.1",
|
||||
"processed_at": "2023-06-15T12:16:52+00:00",
|
||||
"gateway": "bogus",
|
||||
"payment_id": "c25048437719229.1",
|
||||
"account_number": "\u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 1",
|
||||
"formatted_gateway": "(For Testing) Bogus Gateway",
|
||||
"manually_capturable": False,
|
||||
"receipt": "{}",
|
||||
"authorization": "53433",
|
||||
"total_unsettled_set": {
|
||||
"presentment_money": {"amount": 0.0, "currency": "USD"},
|
||||
"shop_money": {"amount": 0.0, "currency": "USD"},
|
||||
},
|
||||
"amount_set": {"shop_money": {"amount": 57.23, "currency": "USD"}},
|
||||
"fees": [],
|
||||
"payment_details": {
|
||||
"avs_result_code": None,
|
||||
"cvv_result_code": None,
|
||||
"credit_card_bin": "1",
|
||||
"credit_card_company": "Test",
|
||||
"credit_card_number": "•••• •••• •••• 1",
|
||||
"credit_card_name": "Test Gateway",
|
||||
"credit_card_company": "Bogus",
|
||||
"credit_card_number": "\u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 1",
|
||||
"credit_card_name": "Bogus Gateway",
|
||||
"credit_card_wallet": None,
|
||||
"credit_card_expiration_year": 2023,
|
||||
"credit_card_expiration_month": 11,
|
||||
"credit_card_expiration_year": 2025,
|
||||
"credit_card_expiration_month": 2,
|
||||
},
|
||||
"order_id": 1,
|
||||
"order_id": 4554821468349,
|
||||
"currency": "USD",
|
||||
"admin_graphql_api_id": "gid://shopify/OrderTransaction/1",
|
||||
"parent_id": 0,
|
||||
"admin_graphql_api_id": "gid://shopify/OrderTransaction/5721110872253",
|
||||
"parent_id": None,
|
||||
"shop_url": "test_shop",
|
||||
}
|
||||
|
||||
@@ -201,8 +201,11 @@ def test_base_build_query(query_name, fields, filter_field, start, end, expected
|
||||
fields=[
|
||||
"__typename",
|
||||
"id",
|
||||
Field(name="item", fields=[Field(name="id", alias="inventory_item_id")]),
|
||||
Field(name="updatedAt"),
|
||||
"canDeactivate",
|
||||
"createdAt",
|
||||
"deactivationAlert",
|
||||
"updatedAt",
|
||||
Field(name="item", fields=[Field(name="inventoryHistoryUrl", alias="inventory_history_url"), Field(name="id", alias="inventory_item_id"), Field(name="locationsCount", alias="locations_count", fields=["count"])]),
|
||||
Query(
|
||||
name="quantities",
|
||||
arguments=[
|
||||
|
||||
@@ -212,6 +212,7 @@ For all `Shopify GraphQL BULK` api requests these limitations are applied: https
|
||||
|
||||
| Version | Date | Pull Request | Subject |
|
||||
| :------ |:-----------| :------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| 2.4.4 | 2024-06-19 | [39594](https://github.com/airbytehq/airbyte/pull/39594) | Extended the `Discount Codes`, `Fulfillment Orders`, `Inventory Items`, `Inventory Levels`, `Products`, `Product Variants` and `Transactions` stream schemas |
|
||||
| 2.4.3 | 2024-06-06 | [38084](https://github.com/airbytehq/airbyte/pull/38084) | add resiliency on some transient errors using the HttpClient |
|
||||
| 2.4.1 | 2024-06-20 | [39651](https://github.com/airbytehq/airbyte/pull/39651) | Update dependencies |
|
||||
| 2.4.0 | 2024-06-17 | [39527](https://github.com/airbytehq/airbyte/pull/39527) | Added new stream `Order Agreements` |
|
||||
|
||||
Reference in New Issue
Block a user