airbyte-agent-shopify 0.1.3__tar.gz → 0.1.13__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- airbyte_agent_shopify-0.1.13/AUTH.md +95 -0
- airbyte_agent_shopify-0.1.13/CHANGELOG.md +71 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/PKG-INFO +44 -10
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/README.md +43 -9
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/REFERENCE.md +321 -373
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/__init__.py +6 -6
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/auth_strategies.py +1 -3
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/connector_model_loader.py +138 -8
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/executor/local_executor.py +4 -4
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/introspection.py +222 -10
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/schema/base.py +34 -2
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/schema/components.py +5 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/schema/extensions.py +71 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/schema/security.py +0 -1
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/types.py +1 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/connector.py +94 -32
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/connector_model.py +1 -2
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/pyproject.toml +1 -1
- airbyte_agent_shopify-0.1.3/CHANGELOG.md +0 -21
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/.gitignore +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/__init__.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/__init__.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/auth_template.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/cloud_utils/__init__.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/cloud_utils/client.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/constants.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/exceptions.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/executor/__init__.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/executor/hosted_executor.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/executor/models.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/extensions.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/http/__init__.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/http/adapters/__init__.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/http/adapters/httpx_adapter.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/http/config.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/http/exceptions.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/http/protocols.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/http/response.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/http_client.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/logging/__init__.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/logging/logger.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/logging/types.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/observability/__init__.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/observability/config.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/observability/models.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/observability/redactor.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/observability/session.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/performance/__init__.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/performance/instrumentation.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/performance/metrics.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/schema/__init__.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/schema/connector.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/schema/operations.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/secrets.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/telemetry/__init__.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/telemetry/config.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/telemetry/events.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/telemetry/tracker.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/utils.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/_vendored/connector_sdk/validation.py +0 -0
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/models.py +65 -65
- {airbyte_agent_shopify-0.1.3 → airbyte_agent_shopify-0.1.13}/airbyte_agent_shopify/types.py +0 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# Shopify authentication and configuration
|
|
2
|
+
|
|
3
|
+
This page documents the authentication and configuration options for the Shopify agent connector.
|
|
4
|
+
|
|
5
|
+
## Authentication
|
|
6
|
+
|
|
7
|
+
### Open source execution
|
|
8
|
+
|
|
9
|
+
In open source mode, you provide API credentials directly to the connector.
|
|
10
|
+
|
|
11
|
+
#### OAuth
|
|
12
|
+
This authentication method isn't available for this connector.
|
|
13
|
+
|
|
14
|
+
#### Token
|
|
15
|
+
|
|
16
|
+
| Field Name | Type | Required | Description |
|
|
17
|
+
|------------|------|----------|-------------|
|
|
18
|
+
| `api_key` | `str` | Yes | Your Shopify Admin API access token |
|
|
19
|
+
| `shop` | `str` | Yes | Your Shopify store name (e.g., 'my-store' from my-store.myshopify.com) |
|
|
20
|
+
|
|
21
|
+
```python
|
|
22
|
+
from airbyte_agent_shopify import ShopifyConnector
|
|
23
|
+
from airbyte_agent_shopify.models import ShopifyAuthConfig
|
|
24
|
+
|
|
25
|
+
connector = ShopifyConnector(
|
|
26
|
+
auth_config=ShopifyAuthConfig(
|
|
27
|
+
api_key="<Your Shopify Admin API access token>",
|
|
28
|
+
shop="<Your Shopify store name (e.g., 'my-store' from my-store.myshopify.com)>"
|
|
29
|
+
)
|
|
30
|
+
)
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Hosted execution
|
|
34
|
+
|
|
35
|
+
In hosted mode, you first create a connector via the Airbyte API (providing your OAuth or Token credentials), then execute operations using either the Python SDK or API. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/quickstarts/tutorial-hosted).
|
|
36
|
+
|
|
37
|
+
#### OAuth
|
|
38
|
+
This authentication method isn't available for this connector.
|
|
39
|
+
|
|
40
|
+
#### Token
|
|
41
|
+
|
|
42
|
+
Create a connector with Token credentials:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
curl -X POST 'https://api.airbyte.ai/v1/integrations/connectors' \
|
|
46
|
+
-H 'Authorization: Bearer <SCOPED_TOKEN>' \
|
|
47
|
+
-H 'Content-Type: application/json' \
|
|
48
|
+
-d '{
|
|
49
|
+
"external_user_id": "<EXTERNAL_USER_ID>",
|
|
50
|
+
"connector_type": "Shopify",
|
|
51
|
+
"credentials": {
|
|
52
|
+
"api_key": "<Your Shopify Admin API access token>",
|
|
53
|
+
"shop": "<Your Shopify store name (e.g., 'my-store' from my-store.myshopify.com)>"
|
|
54
|
+
}
|
|
55
|
+
}'
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
#### Execution
|
|
59
|
+
|
|
60
|
+
After creating the connector, execute operations using either the Python SDK or API.
|
|
61
|
+
|
|
62
|
+
**Python SDK**
|
|
63
|
+
|
|
64
|
+
```python
|
|
65
|
+
from airbyte_agent_shopify import ShopifyConnector
|
|
66
|
+
|
|
67
|
+
connector = ShopifyConnector(
|
|
68
|
+
external_user_id="<your_external_user_id>",
|
|
69
|
+
airbyte_client_id="<your-client-id>",
|
|
70
|
+
airbyte_client_secret="<your-client-secret>"
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
@agent.tool_plain # assumes you're using Pydantic AI
|
|
74
|
+
@ShopifyConnector.tool_utils
|
|
75
|
+
async def shopify_execute(entity: str, action: str, params: dict | None = None):
|
|
76
|
+
return await connector.execute(entity, action, params or {})
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**API**
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
curl -X POST 'https://api.airbyte.ai/api/v1/connectors/sources/<connector_id>/execute' \
|
|
83
|
+
-H 'Authorization: Bearer <SCOPED_TOKEN>' \
|
|
84
|
+
-H 'Content-Type: application/json' \
|
|
85
|
+
-d '{"entity": "<entity>", "action": "<action>", "params": {}}'
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
## Configuration
|
|
90
|
+
|
|
91
|
+
The Shopify connector requires the following configuration variables. These variables are used to construct the base API URL. Pass them via the `config` parameter when initializing the connector.
|
|
92
|
+
|
|
93
|
+
| Variable | Type | Required | Default | Description |
|
|
94
|
+
|----------|------|----------|---------|-------------|
|
|
95
|
+
| `shop` | `string` | Yes | my-store | Your Shopify store name (e.g., 'my-store' from my-store.myshopify.com) |
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Shopify changelog
|
|
2
|
+
|
|
3
|
+
## [0.1.13] - 2026-01-27
|
|
4
|
+
- Updated connector definition (YAML version 0.1.2)
|
|
5
|
+
- Source commit: c9b05509
|
|
6
|
+
- SDK version: 0.1.0
|
|
7
|
+
|
|
8
|
+
## [0.1.12] - 2026-01-27
|
|
9
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
10
|
+
- Source commit: 4bded58d
|
|
11
|
+
- SDK version: 0.1.0
|
|
12
|
+
|
|
13
|
+
## [0.1.11] - 2026-01-26
|
|
14
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
15
|
+
- Source commit: 74809153
|
|
16
|
+
- SDK version: 0.1.0
|
|
17
|
+
|
|
18
|
+
## [0.1.10] - 2026-01-26
|
|
19
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
20
|
+
- Source commit: b73c71e0
|
|
21
|
+
- SDK version: 0.1.0
|
|
22
|
+
|
|
23
|
+
## [0.1.9] - 2026-01-24
|
|
24
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
25
|
+
- Source commit: 609c1d86
|
|
26
|
+
- SDK version: 0.1.0
|
|
27
|
+
|
|
28
|
+
## [0.1.8] - 2026-01-23
|
|
29
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
30
|
+
- Source commit: 416466da
|
|
31
|
+
- SDK version: 0.1.0
|
|
32
|
+
|
|
33
|
+
## [0.1.7] - 2026-01-23
|
|
34
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
35
|
+
- Source commit: f17cdd8c
|
|
36
|
+
- SDK version: 0.1.0
|
|
37
|
+
|
|
38
|
+
## [0.1.6] - 2026-01-22
|
|
39
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
40
|
+
- Source commit: 49e6dfe9
|
|
41
|
+
- SDK version: 0.1.0
|
|
42
|
+
|
|
43
|
+
## [0.1.5] - 2026-01-22
|
|
44
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
45
|
+
- Source commit: b27328e2
|
|
46
|
+
- SDK version: 0.1.0
|
|
47
|
+
|
|
48
|
+
## [0.1.4] - 2026-01-22
|
|
49
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
50
|
+
- Source commit: 1da193dd
|
|
51
|
+
- SDK version: 0.1.0
|
|
52
|
+
|
|
53
|
+
## [0.1.3] - 2026-01-22
|
|
54
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
55
|
+
- Source commit: c713ec48
|
|
56
|
+
- SDK version: 0.1.0
|
|
57
|
+
|
|
58
|
+
## [0.1.2] - 2026-01-21
|
|
59
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
60
|
+
- Source commit: c7dab975
|
|
61
|
+
- SDK version: 0.1.0
|
|
62
|
+
|
|
63
|
+
## [0.1.1] - 2026-01-19
|
|
64
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
65
|
+
- Source commit: 529cebb7
|
|
66
|
+
- SDK version: 0.1.0
|
|
67
|
+
|
|
68
|
+
## [0.1.0] - 2026-01-17
|
|
69
|
+
- Updated connector definition (YAML version 0.1.1)
|
|
70
|
+
- Source commit: 7c6c8361
|
|
71
|
+
- SDK version: 0.1.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: airbyte-agent-shopify
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.13
|
|
4
4
|
Summary: Airbyte Shopify Connector for AI platforms
|
|
5
5
|
Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
|
|
6
6
|
Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
|
|
@@ -75,16 +75,48 @@ uv pip install airbyte-agent-shopify
|
|
|
75
75
|
|
|
76
76
|
## Usage
|
|
77
77
|
|
|
78
|
+
Connectors can run in open source or hosted mode.
|
|
79
|
+
|
|
80
|
+
### Open source
|
|
81
|
+
|
|
82
|
+
In open source mode, you provide API credentials directly to the connector.
|
|
83
|
+
|
|
78
84
|
```python
|
|
79
|
-
from airbyte_agent_shopify import ShopifyConnector
|
|
85
|
+
from airbyte_agent_shopify import ShopifyConnector
|
|
86
|
+
from airbyte_agent_shopify.models import ShopifyAuthConfig
|
|
80
87
|
|
|
81
88
|
connector = ShopifyConnector(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
89
|
+
auth_config=ShopifyAuthConfig(
|
|
90
|
+
api_key="<Your Shopify Admin API access token>",
|
|
91
|
+
shop="<Your Shopify store name (e.g., 'my-store' from my-store.myshopify.com)>"
|
|
92
|
+
)
|
|
86
93
|
)
|
|
87
|
-
|
|
94
|
+
|
|
95
|
+
@agent.tool_plain # assumes you're using Pydantic AI
|
|
96
|
+
@ShopifyConnector.tool_utils
|
|
97
|
+
async def shopify_execute(entity: str, action: str, params: dict | None = None):
|
|
98
|
+
return await connector.execute(entity, action, params or {})
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
### Hosted
|
|
102
|
+
|
|
103
|
+
In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead.
|
|
104
|
+
|
|
105
|
+
This example assumes you've already authenticated your connector with Airbyte. See [Authentication](AUTH.md) to learn more about authenticating. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/quickstarts/tutorial-hosted).
|
|
106
|
+
|
|
107
|
+
```python
|
|
108
|
+
from airbyte_agent_shopify import ShopifyConnector
|
|
109
|
+
|
|
110
|
+
connector = ShopifyConnector(
|
|
111
|
+
external_user_id="<your_external_user_id>",
|
|
112
|
+
airbyte_client_id="<your-client-id>",
|
|
113
|
+
airbyte_client_secret="<your-client-secret>"
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
@agent.tool_plain # assumes you're using Pydantic AI
|
|
117
|
+
@ShopifyConnector.tool_utils
|
|
118
|
+
async def shopify_execute(entity: str, action: str, params: dict | None = None):
|
|
119
|
+
return await connector.execute(entity, action, params or {})
|
|
88
120
|
```
|
|
89
121
|
|
|
90
122
|
|
|
@@ -128,12 +160,14 @@ This connector supports the following entities and actions.
|
|
|
128
160
|
| Fulfillment Orders | [List](./REFERENCE.md#fulfillment-orders-list), [Get](./REFERENCE.md#fulfillment-orders-get) |
|
|
129
161
|
|
|
130
162
|
|
|
163
|
+
For all authentication options, see the connector's [authentication documentation](AUTH.md).
|
|
164
|
+
|
|
131
165
|
For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).
|
|
132
166
|
|
|
133
167
|
For the service's official API docs, see the [Shopify API reference](https://shopify.dev/docs/api/admin-rest).
|
|
134
168
|
|
|
135
169
|
## Version information
|
|
136
170
|
|
|
137
|
-
- **Package version:** 0.1.
|
|
138
|
-
- **Connector version:** 0.1.
|
|
139
|
-
- **Generated with Connector SDK commit SHA:**
|
|
171
|
+
- **Package version:** 0.1.13
|
|
172
|
+
- **Connector version:** 0.1.2
|
|
173
|
+
- **Generated with Connector SDK commit SHA:** c9b05509eb899e313055660f378d9c1f1e9129c7
|
|
@@ -42,16 +42,48 @@ uv pip install airbyte-agent-shopify
|
|
|
42
42
|
|
|
43
43
|
## Usage
|
|
44
44
|
|
|
45
|
+
Connectors can run in open source or hosted mode.
|
|
46
|
+
|
|
47
|
+
### Open source
|
|
48
|
+
|
|
49
|
+
In open source mode, you provide API credentials directly to the connector.
|
|
50
|
+
|
|
45
51
|
```python
|
|
46
|
-
from airbyte_agent_shopify import ShopifyConnector
|
|
52
|
+
from airbyte_agent_shopify import ShopifyConnector
|
|
53
|
+
from airbyte_agent_shopify.models import ShopifyAuthConfig
|
|
47
54
|
|
|
48
55
|
connector = ShopifyConnector(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
56
|
+
auth_config=ShopifyAuthConfig(
|
|
57
|
+
api_key="<Your Shopify Admin API access token>",
|
|
58
|
+
shop="<Your Shopify store name (e.g., 'my-store' from my-store.myshopify.com)>"
|
|
59
|
+
)
|
|
53
60
|
)
|
|
54
|
-
|
|
61
|
+
|
|
62
|
+
@agent.tool_plain # assumes you're using Pydantic AI
|
|
63
|
+
@ShopifyConnector.tool_utils
|
|
64
|
+
async def shopify_execute(entity: str, action: str, params: dict | None = None):
|
|
65
|
+
return await connector.execute(entity, action, params or {})
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
### Hosted
|
|
69
|
+
|
|
70
|
+
In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead.
|
|
71
|
+
|
|
72
|
+
This example assumes you've already authenticated your connector with Airbyte. See [Authentication](AUTH.md) to learn more about authenticating. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/quickstarts/tutorial-hosted).
|
|
73
|
+
|
|
74
|
+
```python
|
|
75
|
+
from airbyte_agent_shopify import ShopifyConnector
|
|
76
|
+
|
|
77
|
+
connector = ShopifyConnector(
|
|
78
|
+
external_user_id="<your_external_user_id>",
|
|
79
|
+
airbyte_client_id="<your-client-id>",
|
|
80
|
+
airbyte_client_secret="<your-client-secret>"
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
@agent.tool_plain # assumes you're using Pydantic AI
|
|
84
|
+
@ShopifyConnector.tool_utils
|
|
85
|
+
async def shopify_execute(entity: str, action: str, params: dict | None = None):
|
|
86
|
+
return await connector.execute(entity, action, params or {})
|
|
55
87
|
```
|
|
56
88
|
|
|
57
89
|
|
|
@@ -95,12 +127,14 @@ This connector supports the following entities and actions.
|
|
|
95
127
|
| Fulfillment Orders | [List](./REFERENCE.md#fulfillment-orders-list), [Get](./REFERENCE.md#fulfillment-orders-get) |
|
|
96
128
|
|
|
97
129
|
|
|
130
|
+
For all authentication options, see the connector's [authentication documentation](AUTH.md).
|
|
131
|
+
|
|
98
132
|
For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).
|
|
99
133
|
|
|
100
134
|
For the service's official API docs, see the [Shopify API reference](https://shopify.dev/docs/api/admin-rest).
|
|
101
135
|
|
|
102
136
|
## Version information
|
|
103
137
|
|
|
104
|
-
- **Package version:** 0.1.
|
|
105
|
-
- **Connector version:** 0.1.
|
|
106
|
-
- **Generated with Connector SDK commit SHA:**
|
|
138
|
+
- **Package version:** 0.1.13
|
|
139
|
+
- **Connector version:** 0.1.2
|
|
140
|
+
- **Generated with Connector SDK commit SHA:** c9b05509eb899e313055660f378d9c1f1e9129c7
|