Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎉 Source Shopify: add pages, price rules and discount codes streams #4009

Merged
merged 11 commits into from
Jun 24, 2021
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"sourceDefinitionId": "9da77001-af33-4bcd-be46-6252bf9342b9",
"name": "Shopify",
"dockerRepository": "airbyte/source-shopify",
"dockerImageTag": "0.1.5",
"dockerImageTag": "0.1.6",
"documentationUrl": "https://docs.airbyte.io/integrations/sources/shopify"
}
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
- sourceDefinitionId: 9da77001-af33-4bcd-be46-6252bf9342b9
name: Shopify
dockerRepository: airbyte/source-shopify
dockerImageTag: 0.1.5
dockerImageTag: 0.1.6
documentationUrl: https://docs.airbyte.io/integrations/sources/shopify
- sourceDefinitionId: 9845d17a-45f1-4070-8a60-50914b1c8e2b
name: HTTP Request
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-shopify/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ RUN pip install .
ENV AIRBYTE_ENTRYPOINT "python /airbyte/integration_code/main.py"
ENTRYPOINT ["python", "/airbyte/integration_code/main.py"]

LABEL io.airbyte.version=0.1.5
LABEL io.airbyte.version=0.1.6
LABEL io.airbyte.name=airbyte/source-shopify
Original file line number Diff line number Diff line change
@@ -1,32 +1,41 @@
{
"orders": {
"id": 2497723957406
"id": 2497723957406484
},
"collects": {
"id": 17279451103367
"id": 1727945110336789
},
"products": {
"id": 5059311534215
"id": 505931153421589
},
"customers": {
"id": 3664773775518
"id": 366477377551899
},
"metafields": {
"id": 11269168529474
"id": 1126916852947498
},
"transactions": {
"id": 3125579481246
"id": 312557948124698
},
"order_refunds": {
"id": 639978373255
"id": 63997837325598
},
"custom_collections": {
"id": 153276284994
"id": 15327628499498
},
"abandoned_checkouts": {
"id": 14254866366622
"id": 142548663666229
},
"order_risks": {
"id": 5933004390558
"id": 593300439055898
},
"pages": {
"id": 131092082366699
},
"price_rules": {
"id": 935355809987999
},
"discount_codes": {
"id": 980808098689434
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3401,6 +3401,253 @@
"sync_mode": "incremental",
"cursor_field": ["id"],
"destination_sync_mode": "append"
},
{
"stream" : {
"name": "pages",
"json_schema": {
"type": "object",
"properties": {
"author": {
"type": ["null","string"]
},
"body_html": {
"body_html": ["null","string"]
},
"created_at": {
"type": ["null","string"],
"format": "date-time"
},
"handle": {
"type": ["null","string"]
},
"id": {
"type": ["null","integer"]
},
"published_at": {
"type": ["null","string"],
"format": "date-time"
},
"shop_id": {
"type": ["null","integer"]
},
"template_suffix": {
"type": ["null","string"]
},
"title": {
"type": ["null","string"]
},
"updated_at": {
"type": ["null","string"],
"format": "date-time"
}
}
},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["id"]
},
"sync_mode": "incremental",
"cursor_field": ["id"],
"destination_sync_mode": "append"
},
{
"stream" : {
"name": "price_rules",
"json_schema": {
"type": "object",
"properties": {
"allocation_method": {
"type": ["null","string"]
},
"created_at": {
"type": ["null","string"],
"format": "date-time"
},
"updated_at": {
"type": ["null","string"],
"format": "date-time"
},
"customer_selection": {
"type": ["null","string"]
},
"ends_at": {
"type": ["null","string"],
"format": "date-time"
},
"entitled_collection_ids": {
"items": {
"type": ["null","integer"]
},
"type": ["null","array"]
},
"entitled_country_ids": {
"items": {
"type": ["null","integer"]
},
"type": ["null","array"]
},
"entitled_product_ids": {
"items": {
"type": ["null","integer"]
},
"type": ["null","array"]
},
"entitled_variant_ids": {
"items": {
"type": ["null","integer"]
},
"type": ["null","array"]
},
"id": {
"type": ["null","integer"]
},
"once_per_customer": {
"type": ["null","boolean"]
},
"prerequisite_customer_ids": {
"items": {
"type": ["null","string"]
},
"type": ["null","array"]
},
"prerequisite_quantity_range": {
"properties": {
"greater_than_or_equal_to": {
"type": ["null","integer"]
}
},
"type": ["null","object"]
},
"prerequisite_saved_search_ids": {
"items": {
"type": ["null","integer"]
},
"type": ["null","array"]
},
"prerequisite_shipping_price_range": {
"properties": {
"less_than_or_equal_to": {
"type": ["null","number"]
}
},
"type": ["null","object"]
},
"prerequisite_subtotal_range": {
"properties": {
"greater_than_or_equal_to": {
"type": ["null","number"]
}
},
"type": ["null","object"]
},
"prerequisite_to_entitlement_purchase": {
"properties": {
"prerequisite_amount": {
"type": ["null","number"]
}
},
"type": ["null","object"]
},
"starts_at": {
"type": ["null","string"],
"format": "date-time"
},
"target_selection": {
"type": ["null","string"]
},
"target_type": {
"type": ["null","string"]
},
"title": {
"type": ["null","string"]
},
"usage_limit": {
"type": ["null","integer"]
},
"prerequisite_product_ids": {
"items": {
"type": ["null","integer"]
},
"type": ["null","array"]
},
"prerequisite_variant_ids": {
"items": {
"type": ["null","integer"]
},
"type": ["null","array"]
},
"prerequisite_collection_ids": {
"items": {
"type": ["null","integer"]
},
"type": ["null","array"]
},
"value": {
"type": ["null","number"]
},
"value_type": {
"type": ["null","string"]
},
"prerequisite_to_entitlement_quantity_ratio": {
"properties": {
"prerequisite_quantity": {
"type": ["null","integer"]
},
"entitled_quantity": {
"type": ["null","integer"]
}
},
"type": ["null","object"]
},
"allocation_limit": {
"type": ["null","integer"]
}
}
},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["id"]
},
"sync_mode": "incremental",
"cursor_field": ["id"],
"destination_sync_mode": "append"
},
{
"stream" : {
"name": "discount_codes",
"json_schema": {
"type": "object",
"properties": {
"id": {
"type": ["null","integer"]
},
"price_rule_id": {
"type": ["null","integer"]
},
"code": {
"type": ["null","string"]
},
"usage_count": {
"type": ["null","integer"]
},
"created_at": {
"type": ["null","string"],
"format": "date-time"
},
"updated_at": {
"type": ["null","string"],
"format": "date-time"
}
}
},
"supported_sync_modes": ["full_refresh", "incremental"],
"source_defined_cursor": true,
"default_cursor_field": ["id"]
},
"sync_mode": "incremental",
"cursor_field": ["id"],
"destination_sync_mode": "append"
}
]
}
Loading