@friggframework/core 2.0.0--canary.690.08cd07e.0 → 2.0.0--canary.693.d8859c2.0
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.
- package/CLAUDE.md +0 -28
- package/README.md +0 -105
- package/application/commands/integration-commands.js +10 -20
- package/application/commands/scheduler-commands.js +7 -11
- package/application/commands/user-commands.js +5 -17
- package/application/index.js +2 -6
- package/core/Worker.js +7 -31
- package/core/create-handler.js +0 -9
- package/credential/repositories/credential-repository-documentdb.js +0 -34
- package/credential/repositories/credential-repository-interface.js +0 -15
- package/credential/repositories/credential-repository-mongo.js +0 -23
- package/credential/repositories/credential-repository-postgres.js +0 -28
- package/database/config.js +24 -48
- package/database/documentdb-utils.js +0 -2
- package/database/encryption/encryption-schema-registry.js +12 -93
- package/database/prisma.js +2 -4
- package/errors/index.js +4 -0
- package/errors/mapping-already-exists-error.js +14 -0
- package/generated/prisma-mongodb/edge.js +38 -33
- package/generated/prisma-mongodb/index-browser.js +35 -30
- package/generated/prisma-mongodb/index.d.ts +1880 -3191
- package/generated/prisma-mongodb/index.js +38 -33
- package/generated/prisma-mongodb/package.json +1 -1
- package/generated/prisma-mongodb/schema.prisma +50 -86
- package/generated/prisma-mongodb/wasm.js +38 -33
- package/generated/prisma-postgresql/edge.js +38 -33
- package/generated/prisma-postgresql/index-browser.js +35 -30
- package/generated/prisma-postgresql/index.d.ts +2050 -3390
- package/generated/prisma-postgresql/index.js +38 -33
- package/generated/prisma-postgresql/package.json +1 -1
- package/generated/prisma-postgresql/schema.prisma +48 -81
- package/generated/prisma-postgresql/wasm.js +38 -33
- package/handlers/WEBHOOKS.md +29 -0
- package/handlers/app-definition-loader.js +19 -128
- package/handlers/app-handler-helpers.js +3 -25
- package/handlers/backend-utils.js +25 -31
- package/handlers/middleware/admin-auth.js +1 -14
- package/handlers/routers/auth.js +10 -46
- package/handlers/routers/health.js +4 -13
- package/handlers/routers/integration-defined-routers.js +92 -144
- package/handlers/routers/integration-webhook-routers.js +64 -102
- package/handlers/workers/integration-defined-workers.js +2 -5
- package/index.js +3 -65
- package/infrastructure/scheduler/index.js +6 -19
- package/infrastructure/scheduler/scheduler-service-factory.js +7 -55
- package/integrations/data-defined/README.md +169 -0
- package/integrations/data-defined/canonical.js +11 -0
- package/integrations/data-defined/capabilities/acmeerp.capabilities.json +608 -0
- package/integrations/data-defined/capabilities/asana.capabilities.json +265 -0
- package/integrations/data-defined/capabilities/calendly.capabilities.json +385 -0
- package/integrations/data-defined/capabilities/docusign.capabilities.json +314 -0
- package/integrations/data-defined/capabilities/fathom.capabilities.json +228 -0
- package/integrations/data-defined/capabilities/github.capabilities.json +563 -0
- package/integrations/data-defined/capabilities/hubspot.capabilities.json +715 -0
- package/integrations/data-defined/capabilities/jira.capabilities.json +376 -0
- package/integrations/data-defined/capabilities/klaviyo.capabilities.json +475 -0
- package/integrations/data-defined/capabilities/linear.capabilities.json +324 -0
- package/integrations/data-defined/capabilities/netsuite.capabilities.json +491 -0
- package/integrations/data-defined/capabilities/notion.capabilities.json +208 -0
- package/integrations/data-defined/capabilities/phone.capabilities.json +470 -0
- package/integrations/data-defined/capabilities/pipedrive.capabilities.json +388 -0
- package/integrations/data-defined/capabilities/quickbooks.capabilities.json +615 -0
- package/integrations/data-defined/capabilities/salesforce.capabilities.json +507 -0
- package/integrations/data-defined/capabilities/shopify.capabilities.json +1082 -0
- package/integrations/data-defined/capabilities/slack.capabilities.json +363 -0
- package/integrations/data-defined/capabilities/stripe.capabilities.json +580 -0
- package/integrations/data-defined/capabilities/webflow.capabilities.json +196 -0
- package/integrations/data-defined/capabilities/zendesk.capabilities.json +409 -0
- package/integrations/data-defined/compile.js +77 -0
- package/integrations/data-defined/config-form.js +110 -0
- package/integrations/data-defined/data-defined-integration.js +366 -0
- package/integrations/data-defined/examples/acme-erp-quickbooks.definition.json +467 -0
- package/integrations/data-defined/examples/asana-slack.definition.json +220 -0
- package/integrations/data-defined/examples/calendly-salesforce.definition.json +459 -0
- package/integrations/data-defined/examples/docusign-salesforce.definition.json +305 -0
- package/integrations/data-defined/examples/fathom-hubspot-notion.definition.json +575 -0
- package/integrations/data-defined/examples/github-linear.definition.json +316 -0
- package/integrations/data-defined/examples/hubspot-slack.definition.json +409 -0
- package/integrations/data-defined/examples/klaviyo-hubspot.definition.json +339 -0
- package/integrations/data-defined/examples/phone-hubspot.definition.json +637 -0
- package/integrations/data-defined/examples/pipedrive-hubspot.definition.json +136 -0
- package/integrations/data-defined/examples/pipedrive-phone.definition.json +340 -0
- package/integrations/data-defined/examples/records/phone-hubspot.definition-version.json +652 -0
- package/integrations/data-defined/examples/records/phone-hubspot.integration.json +86 -0
- package/integrations/data-defined/examples/records/phone-hubspot.mappings.json +39 -0
- package/integrations/data-defined/examples/records/phone-hubspot.workflow-run.json +62 -0
- package/integrations/data-defined/examples/shopify-klaviyo.definition.json +488 -0
- package/integrations/data-defined/examples/shopify-netsuite.definition.json +622 -0
- package/integrations/data-defined/examples/stripe-quickbooks.definition.json +476 -0
- package/integrations/data-defined/examples/webflow-hubspot-slack.definition.json +262 -0
- package/integrations/data-defined/examples/zendesk-jira.definition.json +604 -0
- package/integrations/data-defined/expressions.js +225 -0
- package/integrations/data-defined/index.js +39 -0
- package/integrations/data-defined/interpreter.js +89 -0
- package/integrations/data-defined/manifests.js +125 -0
- package/integrations/data-defined/repositories/definition-version-repository.js +67 -0
- package/integrations/data-defined/repositories/workflow-run-repository.js +59 -0
- package/integrations/data-defined/router.js +97 -0
- package/integrations/data-defined/runtime.js +208 -0
- package/integrations/data-defined/schema/capability-manifest.v0.1.schema.json +377 -0
- package/integrations/data-defined/schema/installation.v0.1.schema.json +83 -0
- package/integrations/data-defined/schema/integration-definition.v0.1.schema.json +848 -0
- package/integrations/data-defined/schema/records.md +98 -0
- package/integrations/data-defined/schema-check.js +58 -0
- package/integrations/data-defined/scripts/validate.js +66 -0
- package/integrations/data-defined/steps.js +89 -0
- package/integrations/data-defined/transforms.js +91 -0
- package/integrations/data-defined/use-cases/definition-use-cases.js +187 -0
- package/integrations/data-defined/validate.js +370 -0
- package/integrations/data-defined/versioning.js +161 -0
- package/integrations/data-defined/webhooks.js +119 -0
- package/integrations/index.js +0 -1
- package/integrations/integration-base.js +29 -0
- package/integrations/integration-router.js +101 -131
- package/integrations/repositories/integration-mapping-repository-documentdb.js +50 -0
- package/integrations/repositories/integration-mapping-repository-interface.js +15 -0
- package/integrations/repositories/integration-mapping-repository-mongo.js +29 -0
- package/integrations/repositories/integration-mapping-repository-postgres.js +30 -0
- package/integrations/repositories/integration-mapping-repository.js +29 -0
- package/integrations/repositories/integration-repository-documentdb.js +3 -35
- package/integrations/repositories/integration-repository-interface.js +1 -17
- package/integrations/repositories/integration-repository-mongo.js +77 -60
- package/integrations/repositories/integration-repository-postgres.js +76 -62
- package/integrations/repositories/process-repository-mongo.js +1 -1
- package/integrations/tests/doubles/test-integration-repository.js +1 -12
- package/integrations/use-cases/create-integration.js +20 -55
- package/integrations/use-cases/get-integrations-for-user.js +40 -80
- package/integrations/use-cases/index.js +1 -7
- package/integrations/utils/map-integration-dto.js +14 -43
- package/modules/index.js +0 -14
- package/modules/module-factory.js +0 -12
- package/modules/module.js +2 -53
- package/modules/repositories/module-repository-documentdb.js +6 -51
- package/modules/repositories/module-repository-interface.js +2 -19
- package/modules/repositories/module-repository-mongo.js +74 -67
- package/modules/repositories/module-repository-postgres.js +74 -66
- package/modules/repositories/module-repository.js +1 -2
- package/modules/requester/requester.js +5 -35
- package/modules/use-cases/get-entities-for-user.js +13 -26
- package/modules/use-cases/get-entity-options-by-id.js +4 -10
- package/modules/use-cases/get-entity-options-by-type.js +1 -1
- package/modules/use-cases/get-module-instance-from-type.js +1 -1
- package/modules/use-cases/get-module.js +4 -10
- package/modules/use-cases/process-authorization-callback.js +19 -53
- package/modules/use-cases/refresh-entity-options.js +4 -10
- package/modules/use-cases/test-module-auth.js +4 -10
- package/package.json +6 -6
- package/prisma-mongodb/schema.prisma +50 -86
- package/prisma-postgresql/migrations/20261018000000_add_data_defined_integrations/migration.sql +66 -0
- package/prisma-postgresql/schema.prisma +48 -81
- package/queues/index.js +0 -25
- package/types/index.d.ts +0 -2
- package/user/repositories/user-repository-documentdb.js +2 -27
- package/user/repositories/user-repository-interface.js +0 -18
- package/user/repositories/user-repository-mongo.js +0 -24
- package/user/repositories/user-repository-postgres.js +0 -18
- package/user/use-cases/authenticate-user.js +1 -7
- package/user/use-cases/get-user-from-adopter-jwt.js +124 -95
- package/user/use-cases/get-user-from-x-frigg-headers.js +80 -83
- package/user/user.js +1 -64
- package/credential/use-cases/credential-operations-for-user.js +0 -202
- package/credential/use-cases/reauthorize-credential-for-user.js +0 -73
- package/database/organization-where.js +0 -18
- package/database/unique-violation.js +0 -25
- package/extensions/bootstrap-runner.js +0 -43
- package/extensions/extension-loader.js +0 -187
- package/extensions/index.js +0 -41
- package/extensions/initialize-app.js +0 -123
- package/extensions/route-mounter.js +0 -103
- package/extensions/schema-composer.js +0 -188
- package/infrastructure/scheduler/netlify-scheduler-adapter.js +0 -216
- package/infrastructure/scheduler/scheduled-job-repository.js +0 -118
- package/integrations/repositories/integration-not-found.js +0 -14
- package/integrations/schedule-config.js +0 -80
- package/integrations/use-cases/dispatch-ongoing-syncs.js +0 -100
- package/integrations/use-cases/integration-operations-for-user.js +0 -256
- package/integrations/use-cases/resolve-integration-ownership.js +0 -177
- package/management-api/create-management-api-router.js +0 -49
- package/management-api/error-response.js +0 -116
- package/management-api/management-api-config.js +0 -151
- package/management-api/meta-router.js +0 -76
- package/management-api/openapi/build-openapi.js +0 -144
- package/management-api/openapi/components.js +0 -415
- package/management-api/openapi/v1-operations.js +0 -83
- package/management-api/openapi/v2-operations.js +0 -264
- package/management-api/route-registry.js +0 -411
- package/management-api/test-support/http-client.js +0 -39
- package/management-api/use-cases/get-management-api-meta.js +0 -57
- package/management-api/v1-deprecation.js +0 -120
- package/management-api/v2/create-v2-router.js +0 -85
- package/management-api/v2/dependencies.js +0 -281
- package/management-api/v2/dto.js +0 -143
- package/management-api/v2/handlers/authorization.js +0 -94
- package/management-api/v2/handlers/credentials.js +0 -33
- package/management-api/v2/handlers/entities.js +0 -77
- package/management-api/v2/handlers/integrations.js +0 -128
- package/management-api/v2/handlers/proxy.js +0 -34
- package/management-api/v2/request.js +0 -85
- package/management-api/v2/test-support/fake-dependencies.js +0 -103
- package/modules/domain/authorization-session.js +0 -144
- package/modules/entity-scope.js +0 -15
- package/modules/entity-type-registry.js +0 -311
- package/modules/proxy/proxy-bases.js +0 -169
- package/modules/proxy/proxy-errors.js +0 -31
- package/modules/proxy/proxy-path.js +0 -183
- package/modules/proxy/proxy-policy.js +0 -277
- package/modules/repositories/authorization-session-repository-documentdb.js +0 -112
- package/modules/repositories/authorization-session-repository-factory.js +0 -31
- package/modules/repositories/authorization-session-repository-interface.js +0 -47
- package/modules/repositories/authorization-session-repository-prisma.js +0 -87
- package/modules/repositories/entity-not-found.js +0 -18
- package/modules/requester/proxy-request.js +0 -245
- package/modules/scope-config.js +0 -192
- package/modules/scope-policy.js +0 -112
- package/modules/scope-resolution.js +0 -288
- package/modules/scope-visibility.js +0 -247
- package/modules/tests/doubles/in-memory-authorization-session-repository.js +0 -45
- package/modules/tests/doubles/ownership-matching.js +0 -18
- package/modules/use-cases/authorize-entity-for-user.js +0 -61
- package/modules/use-cases/create-entity-from-credential.js +0 -113
- package/modules/use-cases/entity-operations-for-user.js +0 -162
- package/modules/use-cases/entity-types.js +0 -139
- package/modules/use-cases/execute-entity-proxy-request.js +0 -331
- package/modules/use-cases/get-authorization-requirements.js +0 -100
- package/modules/use-cases/get-entity-module-for-user.js +0 -113
- package/modules/use-cases/manage-access.js +0 -21
- package/modules/use-cases/multi-step-authorization.js +0 -329
- package/prisma-postgresql/migrations/20261003000000_add_authorization_session/migration.sql +0 -28
- package/prisma-postgresql/migrations/20261015000000_add_organization_membership/migration.sql +0 -26
- package/prisma-postgresql/migrations/20261016000000_add_entity_integration_organization/migration.sql +0 -25
- package/prisma-postgresql/migrations/20261017000000_add_scheduled_job/migration.sql +0 -28
- package/providers/index.js +0 -23
- package/providers/resolve-provider.js +0 -93
- package/providers/runtime-detection.js +0 -124
- package/queues/providers/index.js +0 -11
- package/queues/providers/netlify-background-provider.js +0 -150
- package/queues/providers/qstash-queue-provider.js +0 -219
- package/queues/providers/sqs-queue-provider.js +0 -70
- package/queues/queue-client-interface.js +0 -55
- package/queues/queue-message-auth.js +0 -193
- package/queues/queue-provider-factory.js +0 -101
- package/queues/queue-provider.js +0 -65
- package/queues/sqs-queue-client.js +0 -81
- package/types/modules/index.d.ts +0 -214
- package/types/user/index.d.ts +0 -134
- package/user/adopter-jwt-config.js +0 -177
- package/user/adopter-jwt-errors.js +0 -59
- package/user/adopter-token-verifier.js +0 -122
- package/user/app-user-helpers.js +0 -97
- package/user/create-user-authentication.js +0 -64
- package/user/membership.js +0 -51
- package/user/repositories/organization-membership-record.js +0 -19
- package/user/repositories/organization-membership-repository-documentdb.js +0 -106
- package/user/repositories/organization-membership-repository-factory.js +0 -42
- package/user/repositories/organization-membership-repository-interface.js +0 -57
- package/user/repositories/organization-membership-repository-mongo.js +0 -13
- package/user/repositories/organization-membership-repository-postgres.js +0 -29
- package/user/repositories/organization-membership-repository-prisma.js +0 -81
- package/user/tests/doubles/adopter-jwt-fixtures.js +0 -220
- package/user/use-cases/ensure-organization-membership.js +0 -92
- package/user/use-cases/find-individual-users-by-organization.js +0 -54
|
@@ -0,0 +1,1082 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://friggframework.org/schemas/capability-manifest/v0.1.json",
|
|
3
|
+
"module": "shopify",
|
|
4
|
+
"label": "Shopify",
|
|
5
|
+
"package": "@friggframework/api-module-shopify",
|
|
6
|
+
"version": "3.1.0",
|
|
7
|
+
"auth": "oauth2",
|
|
8
|
+
"objects": {
|
|
9
|
+
"customer": {
|
|
10
|
+
"label": "Customer",
|
|
11
|
+
"fields": [
|
|
12
|
+
{
|
|
13
|
+
"name": "id",
|
|
14
|
+
"type": "id",
|
|
15
|
+
"readOnly": true
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "email",
|
|
19
|
+
"type": "email",
|
|
20
|
+
"tag": "contact.email"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "first_name",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"tag": "person.givenName"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "last_name",
|
|
29
|
+
"type": "string",
|
|
30
|
+
"tag": "person.familyName"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "phone",
|
|
34
|
+
"type": "phone",
|
|
35
|
+
"tag": "contact.phone"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "tags",
|
|
39
|
+
"type": "string",
|
|
40
|
+
"tag": "record.tags"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "note",
|
|
44
|
+
"type": "text"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "email_marketing_consent.state",
|
|
48
|
+
"type": "enum",
|
|
49
|
+
"tag": "contact.emailConsent",
|
|
50
|
+
"values": [
|
|
51
|
+
"subscribed",
|
|
52
|
+
"not_subscribed",
|
|
53
|
+
"pending",
|
|
54
|
+
"unsubscribed",
|
|
55
|
+
"redacted",
|
|
56
|
+
"invalid"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "default_address.company",
|
|
61
|
+
"type": "string",
|
|
62
|
+
"tag": "organization.name"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "default_address.address1",
|
|
66
|
+
"type": "string",
|
|
67
|
+
"tag": "address.line1"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "default_address.city",
|
|
71
|
+
"type": "string",
|
|
72
|
+
"tag": "address.locality"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "default_address.province_code",
|
|
76
|
+
"type": "string",
|
|
77
|
+
"tag": "address.region"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "default_address.zip",
|
|
81
|
+
"type": "string",
|
|
82
|
+
"tag": "address.postalCode"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "default_address.country_code",
|
|
86
|
+
"type": "string",
|
|
87
|
+
"tag": "address.country"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "orders_count",
|
|
91
|
+
"type": "number",
|
|
92
|
+
"tag": "customer.orderCount",
|
|
93
|
+
"readOnly": true
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "total_spent",
|
|
97
|
+
"type": "number",
|
|
98
|
+
"tag": "customer.lifetimeValue",
|
|
99
|
+
"readOnly": true
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "created_at",
|
|
103
|
+
"type": "datetime",
|
|
104
|
+
"tag": "record.createdAt",
|
|
105
|
+
"readOnly": true
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "updated_at",
|
|
109
|
+
"type": "datetime",
|
|
110
|
+
"tag": "record.updatedAt",
|
|
111
|
+
"readOnly": true
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"order": {
|
|
116
|
+
"label": "Order",
|
|
117
|
+
"fields": [
|
|
118
|
+
{
|
|
119
|
+
"name": "id",
|
|
120
|
+
"type": "id",
|
|
121
|
+
"readOnly": true
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "name",
|
|
125
|
+
"type": "string",
|
|
126
|
+
"tag": "order.number",
|
|
127
|
+
"readOnly": true
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "order_number",
|
|
131
|
+
"type": "number",
|
|
132
|
+
"readOnly": true
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "email",
|
|
136
|
+
"type": "email",
|
|
137
|
+
"tag": "contact.email"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "created_at",
|
|
141
|
+
"type": "datetime",
|
|
142
|
+
"tag": "order.createdAt",
|
|
143
|
+
"readOnly": true
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "processed_at",
|
|
147
|
+
"type": "datetime"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "currency",
|
|
151
|
+
"type": "string",
|
|
152
|
+
"tag": "order.currency"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "financial_status",
|
|
156
|
+
"type": "enum",
|
|
157
|
+
"tag": "order.paymentStatus",
|
|
158
|
+
"values": [
|
|
159
|
+
"pending",
|
|
160
|
+
"authorized",
|
|
161
|
+
"partially_paid",
|
|
162
|
+
"paid",
|
|
163
|
+
"partially_refunded",
|
|
164
|
+
"refunded",
|
|
165
|
+
"voided"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "fulfillment_status",
|
|
170
|
+
"type": "enum",
|
|
171
|
+
"tag": "order.fulfillmentStatus",
|
|
172
|
+
"values": [
|
|
173
|
+
"unfulfilled",
|
|
174
|
+
"partial",
|
|
175
|
+
"fulfilled",
|
|
176
|
+
"restocked"
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "subtotal_price",
|
|
181
|
+
"type": "number",
|
|
182
|
+
"tag": "order.subtotal"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "total_discounts",
|
|
186
|
+
"type": "number",
|
|
187
|
+
"tag": "order.discount"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "total_tax",
|
|
191
|
+
"type": "number",
|
|
192
|
+
"tag": "order.tax"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "total_price",
|
|
196
|
+
"type": "number",
|
|
197
|
+
"tag": "order.total"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "total_shipping_price_set.shop_money.amount",
|
|
201
|
+
"type": "number",
|
|
202
|
+
"tag": "order.shipping"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "customer.id",
|
|
206
|
+
"type": "string"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "line_items",
|
|
210
|
+
"type": "lineItem[]",
|
|
211
|
+
"tag": "order.lineItems"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "discount_codes",
|
|
215
|
+
"type": "json"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "shipping_address.name",
|
|
219
|
+
"type": "string",
|
|
220
|
+
"tag": "person.fullName"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "shipping_address.address1",
|
|
224
|
+
"type": "string",
|
|
225
|
+
"tag": "address.line1"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"name": "shipping_address.city",
|
|
229
|
+
"type": "string",
|
|
230
|
+
"tag": "address.locality"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "shipping_address.province_code",
|
|
234
|
+
"type": "string",
|
|
235
|
+
"tag": "address.region"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "shipping_address.zip",
|
|
239
|
+
"type": "string",
|
|
240
|
+
"tag": "address.postalCode"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "shipping_address.country_code",
|
|
244
|
+
"type": "string",
|
|
245
|
+
"tag": "address.country"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "note",
|
|
249
|
+
"type": "text"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "tags",
|
|
253
|
+
"type": "string",
|
|
254
|
+
"tag": "record.tags"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "source_name",
|
|
258
|
+
"type": "string"
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
},
|
|
262
|
+
"fulfillment": {
|
|
263
|
+
"label": "Fulfillment",
|
|
264
|
+
"fields": [
|
|
265
|
+
{
|
|
266
|
+
"name": "id",
|
|
267
|
+
"type": "id",
|
|
268
|
+
"readOnly": true
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "order_id",
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "status",
|
|
276
|
+
"type": "enum",
|
|
277
|
+
"values": [
|
|
278
|
+
"pending",
|
|
279
|
+
"open",
|
|
280
|
+
"success",
|
|
281
|
+
"cancelled",
|
|
282
|
+
"error",
|
|
283
|
+
"failure"
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "tracking_company",
|
|
288
|
+
"type": "string",
|
|
289
|
+
"tag": "shipment.carrier"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "tracking_number",
|
|
293
|
+
"type": "string",
|
|
294
|
+
"tag": "shipment.trackingNumber"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "tracking_url",
|
|
298
|
+
"type": "string",
|
|
299
|
+
"tag": "shipment.trackingUrl"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "created_at",
|
|
303
|
+
"type": "datetime",
|
|
304
|
+
"readOnly": true
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
"refund": {
|
|
309
|
+
"label": "Refund",
|
|
310
|
+
"fields": [
|
|
311
|
+
{
|
|
312
|
+
"name": "id",
|
|
313
|
+
"type": "id",
|
|
314
|
+
"readOnly": true
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "order_id",
|
|
318
|
+
"type": "string"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "created_at",
|
|
322
|
+
"type": "datetime",
|
|
323
|
+
"readOnly": true
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "note",
|
|
327
|
+
"type": "text"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "refund_line_items",
|
|
331
|
+
"type": "json"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "transactions",
|
|
335
|
+
"type": "json"
|
|
336
|
+
}
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
"checkout": {
|
|
340
|
+
"label": "Abandoned checkout",
|
|
341
|
+
"fields": [
|
|
342
|
+
{
|
|
343
|
+
"name": "id",
|
|
344
|
+
"type": "id",
|
|
345
|
+
"readOnly": true
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "token",
|
|
349
|
+
"type": "string"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "email",
|
|
353
|
+
"type": "email",
|
|
354
|
+
"tag": "contact.email"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "abandoned_checkout_url",
|
|
358
|
+
"type": "string"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"name": "total_price",
|
|
362
|
+
"type": "number",
|
|
363
|
+
"tag": "order.total"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"name": "currency",
|
|
367
|
+
"type": "string",
|
|
368
|
+
"tag": "order.currency"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"name": "line_items",
|
|
372
|
+
"type": "lineItem[]",
|
|
373
|
+
"tag": "order.lineItems"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"name": "customer.id",
|
|
377
|
+
"type": "string"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "created_at",
|
|
381
|
+
"type": "datetime",
|
|
382
|
+
"readOnly": true
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"name": "completed_at",
|
|
386
|
+
"type": "datetime",
|
|
387
|
+
"readOnly": true
|
|
388
|
+
}
|
|
389
|
+
]
|
|
390
|
+
},
|
|
391
|
+
"inventoryLevel": {
|
|
392
|
+
"label": "Inventory level",
|
|
393
|
+
"fields": [
|
|
394
|
+
{
|
|
395
|
+
"name": "inventory_item_id",
|
|
396
|
+
"type": "id"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"name": "location_id",
|
|
400
|
+
"type": "string"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "available",
|
|
404
|
+
"type": "number",
|
|
405
|
+
"tag": "inventory.available"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"name": "updated_at",
|
|
409
|
+
"type": "datetime",
|
|
410
|
+
"readOnly": true
|
|
411
|
+
}
|
|
412
|
+
]
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
"events": {
|
|
416
|
+
"order.created": {
|
|
417
|
+
"delivery": "webhook",
|
|
418
|
+
"subscribe": "webhook.create",
|
|
419
|
+
"description": "Shopify topic orders/create. The payload is the resource itself.",
|
|
420
|
+
"object": "order",
|
|
421
|
+
"payload": {
|
|
422
|
+
"id": 5612789014562,
|
|
423
|
+
"admin_graphql_api_id": "gid://shopify/Order/5612789014562",
|
|
424
|
+
"name": "#1042",
|
|
425
|
+
"order_number": 1042,
|
|
426
|
+
"email": "dana.reyes@example.com",
|
|
427
|
+
"created_at": "2026-10-18T09:14:22-05:00",
|
|
428
|
+
"processed_at": "2026-10-18T09:14:21-05:00",
|
|
429
|
+
"currency": "USD",
|
|
430
|
+
"financial_status": "paid",
|
|
431
|
+
"fulfillment_status": null,
|
|
432
|
+
"subtotal_price": "128.00",
|
|
433
|
+
"total_discounts": "12.80",
|
|
434
|
+
"total_tax": "9.50",
|
|
435
|
+
"total_price": "139.70",
|
|
436
|
+
"total_shipping_price_set": {
|
|
437
|
+
"shop_money": {
|
|
438
|
+
"amount": "15.00",
|
|
439
|
+
"currency_code": "USD"
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
"discount_codes": [
|
|
443
|
+
{
|
|
444
|
+
"code": "FALL10",
|
|
445
|
+
"amount": "12.80",
|
|
446
|
+
"type": "percentage"
|
|
447
|
+
}
|
|
448
|
+
],
|
|
449
|
+
"note": "Gift wrap please",
|
|
450
|
+
"tags": "wholesale",
|
|
451
|
+
"source_name": "web",
|
|
452
|
+
"customer": {
|
|
453
|
+
"id": 7012345678901,
|
|
454
|
+
"email": "dana.reyes@example.com",
|
|
455
|
+
"first_name": "Dana",
|
|
456
|
+
"last_name": "Reyes"
|
|
457
|
+
},
|
|
458
|
+
"line_items": [
|
|
459
|
+
{
|
|
460
|
+
"id": 13579246801,
|
|
461
|
+
"variant_id": 44012345678,
|
|
462
|
+
"product_id": 8123456789,
|
|
463
|
+
"sku": "TW-MUG-12",
|
|
464
|
+
"title": "Acme Mug",
|
|
465
|
+
"variant_title": "12 oz / Slate",
|
|
466
|
+
"quantity": 2,
|
|
467
|
+
"price": "32.00",
|
|
468
|
+
"total_discount": "6.40"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"id": 13579246802,
|
|
472
|
+
"variant_id": 44012345690,
|
|
473
|
+
"product_id": 8123456790,
|
|
474
|
+
"sku": "TW-PRESS-01",
|
|
475
|
+
"title": "Pour-over Press",
|
|
476
|
+
"variant_title": null,
|
|
477
|
+
"quantity": 1,
|
|
478
|
+
"price": "64.00",
|
|
479
|
+
"total_discount": "6.40"
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
"shipping_address": {
|
|
483
|
+
"name": "Dana Reyes",
|
|
484
|
+
"address1": "501 Congress Ave",
|
|
485
|
+
"city": "Austin",
|
|
486
|
+
"province_code": "TX",
|
|
487
|
+
"zip": "78701",
|
|
488
|
+
"country_code": "US",
|
|
489
|
+
"phone": "+15125550142"
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"match": "orders/create",
|
|
493
|
+
"headers": {
|
|
494
|
+
"x-shopify-topic": "orders/create",
|
|
495
|
+
"x-shopify-webhook-id": "b54557e4-order-created",
|
|
496
|
+
"x-shopify-shop-domain": "acme.myshopify.com"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"order.paid": {
|
|
500
|
+
"delivery": "webhook",
|
|
501
|
+
"subscribe": "webhook.create",
|
|
502
|
+
"description": "Shopify topic orders/paid. The payload is the resource itself.",
|
|
503
|
+
"object": "order",
|
|
504
|
+
"payload": {
|
|
505
|
+
"id": 5612789014562,
|
|
506
|
+
"admin_graphql_api_id": "gid://shopify/Order/5612789014562",
|
|
507
|
+
"name": "#1042",
|
|
508
|
+
"order_number": 1042,
|
|
509
|
+
"email": "dana.reyes@example.com",
|
|
510
|
+
"created_at": "2026-10-18T09:14:22-05:00",
|
|
511
|
+
"processed_at": "2026-10-18T09:14:21-05:00",
|
|
512
|
+
"currency": "USD",
|
|
513
|
+
"financial_status": "paid",
|
|
514
|
+
"fulfillment_status": null,
|
|
515
|
+
"subtotal_price": "128.00",
|
|
516
|
+
"total_discounts": "12.80",
|
|
517
|
+
"total_tax": "9.50",
|
|
518
|
+
"total_price": "139.70",
|
|
519
|
+
"total_shipping_price_set": {
|
|
520
|
+
"shop_money": {
|
|
521
|
+
"amount": "15.00",
|
|
522
|
+
"currency_code": "USD"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
"discount_codes": [
|
|
526
|
+
{
|
|
527
|
+
"code": "FALL10",
|
|
528
|
+
"amount": "12.80",
|
|
529
|
+
"type": "percentage"
|
|
530
|
+
}
|
|
531
|
+
],
|
|
532
|
+
"note": "Gift wrap please",
|
|
533
|
+
"tags": "wholesale",
|
|
534
|
+
"source_name": "web",
|
|
535
|
+
"customer": {
|
|
536
|
+
"id": 7012345678901,
|
|
537
|
+
"email": "dana.reyes@example.com",
|
|
538
|
+
"first_name": "Dana",
|
|
539
|
+
"last_name": "Reyes"
|
|
540
|
+
},
|
|
541
|
+
"line_items": [
|
|
542
|
+
{
|
|
543
|
+
"id": 13579246801,
|
|
544
|
+
"variant_id": 44012345678,
|
|
545
|
+
"product_id": 8123456789,
|
|
546
|
+
"sku": "TW-MUG-12",
|
|
547
|
+
"title": "Acme Mug",
|
|
548
|
+
"variant_title": "12 oz / Slate",
|
|
549
|
+
"quantity": 2,
|
|
550
|
+
"price": "32.00",
|
|
551
|
+
"total_discount": "6.40"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"id": 13579246802,
|
|
555
|
+
"variant_id": 44012345690,
|
|
556
|
+
"product_id": 8123456790,
|
|
557
|
+
"sku": "TW-PRESS-01",
|
|
558
|
+
"title": "Pour-over Press",
|
|
559
|
+
"variant_title": null,
|
|
560
|
+
"quantity": 1,
|
|
561
|
+
"price": "64.00",
|
|
562
|
+
"total_discount": "6.40"
|
|
563
|
+
}
|
|
564
|
+
],
|
|
565
|
+
"shipping_address": {
|
|
566
|
+
"name": "Dana Reyes",
|
|
567
|
+
"address1": "501 Congress Ave",
|
|
568
|
+
"city": "Austin",
|
|
569
|
+
"province_code": "TX",
|
|
570
|
+
"zip": "78701",
|
|
571
|
+
"country_code": "US",
|
|
572
|
+
"phone": "+15125550142"
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"match": "orders/paid",
|
|
576
|
+
"headers": {
|
|
577
|
+
"x-shopify-topic": "orders/paid",
|
|
578
|
+
"x-shopify-webhook-id": "b54557e4-order-paid",
|
|
579
|
+
"x-shopify-shop-domain": "acme.myshopify.com"
|
|
580
|
+
}
|
|
581
|
+
},
|
|
582
|
+
"order.updated": {
|
|
583
|
+
"delivery": "webhook",
|
|
584
|
+
"subscribe": "webhook.create",
|
|
585
|
+
"description": "Shopify topic orders/updated. The payload is the resource itself.",
|
|
586
|
+
"object": "order",
|
|
587
|
+
"payload": {
|
|
588
|
+
"id": 5612789014562,
|
|
589
|
+
"admin_graphql_api_id": "gid://shopify/Order/5612789014562",
|
|
590
|
+
"name": "#1042",
|
|
591
|
+
"order_number": 1042,
|
|
592
|
+
"email": "dana.reyes@example.com",
|
|
593
|
+
"created_at": "2026-10-18T09:14:22-05:00",
|
|
594
|
+
"processed_at": "2026-10-18T09:14:21-05:00",
|
|
595
|
+
"currency": "USD",
|
|
596
|
+
"financial_status": "paid",
|
|
597
|
+
"fulfillment_status": null,
|
|
598
|
+
"subtotal_price": "128.00",
|
|
599
|
+
"total_discounts": "12.80",
|
|
600
|
+
"total_tax": "9.50",
|
|
601
|
+
"total_price": "139.70",
|
|
602
|
+
"total_shipping_price_set": {
|
|
603
|
+
"shop_money": {
|
|
604
|
+
"amount": "15.00",
|
|
605
|
+
"currency_code": "USD"
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
"discount_codes": [
|
|
609
|
+
{
|
|
610
|
+
"code": "FALL10",
|
|
611
|
+
"amount": "12.80",
|
|
612
|
+
"type": "percentage"
|
|
613
|
+
}
|
|
614
|
+
],
|
|
615
|
+
"note": "Gift wrap please",
|
|
616
|
+
"tags": "wholesale, gift",
|
|
617
|
+
"source_name": "web",
|
|
618
|
+
"customer": {
|
|
619
|
+
"id": 7012345678901,
|
|
620
|
+
"email": "dana.reyes@example.com",
|
|
621
|
+
"first_name": "Dana",
|
|
622
|
+
"last_name": "Reyes"
|
|
623
|
+
},
|
|
624
|
+
"line_items": [
|
|
625
|
+
{
|
|
626
|
+
"id": 13579246801,
|
|
627
|
+
"variant_id": 44012345678,
|
|
628
|
+
"product_id": 8123456789,
|
|
629
|
+
"sku": "TW-MUG-12",
|
|
630
|
+
"title": "Acme Mug",
|
|
631
|
+
"variant_title": "12 oz / Slate",
|
|
632
|
+
"quantity": 2,
|
|
633
|
+
"price": "32.00",
|
|
634
|
+
"total_discount": "6.40"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"id": 13579246802,
|
|
638
|
+
"variant_id": 44012345690,
|
|
639
|
+
"product_id": 8123456790,
|
|
640
|
+
"sku": "TW-PRESS-01",
|
|
641
|
+
"title": "Pour-over Press",
|
|
642
|
+
"variant_title": null,
|
|
643
|
+
"quantity": 1,
|
|
644
|
+
"price": "64.00",
|
|
645
|
+
"total_discount": "6.40"
|
|
646
|
+
}
|
|
647
|
+
],
|
|
648
|
+
"shipping_address": {
|
|
649
|
+
"name": "Dana Reyes",
|
|
650
|
+
"address1": "501 Congress Ave",
|
|
651
|
+
"city": "Austin",
|
|
652
|
+
"province_code": "TX",
|
|
653
|
+
"zip": "78701",
|
|
654
|
+
"country_code": "US",
|
|
655
|
+
"phone": "+15125550142"
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
"match": "orders/updated",
|
|
659
|
+
"headers": {
|
|
660
|
+
"x-shopify-topic": "orders/updated",
|
|
661
|
+
"x-shopify-webhook-id": "b54557e4-order-updated",
|
|
662
|
+
"x-shopify-shop-domain": "acme.myshopify.com"
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
"customer.created": {
|
|
666
|
+
"delivery": "webhook",
|
|
667
|
+
"subscribe": "webhook.create",
|
|
668
|
+
"description": "Shopify topic customers/create. The payload is the resource itself.",
|
|
669
|
+
"object": "customer",
|
|
670
|
+
"payload": {
|
|
671
|
+
"id": 7012345678901,
|
|
672
|
+
"email": "dana.reyes@example.com",
|
|
673
|
+
"first_name": "Dana",
|
|
674
|
+
"last_name": "Reyes",
|
|
675
|
+
"phone": "+15125550142",
|
|
676
|
+
"tags": "wholesale, vip",
|
|
677
|
+
"note": null,
|
|
678
|
+
"orders_count": 7,
|
|
679
|
+
"total_spent": "1240.55",
|
|
680
|
+
"created_at": "2025-03-02T11:20:00-05:00",
|
|
681
|
+
"updated_at": "2026-10-18T09:14:23-05:00",
|
|
682
|
+
"email_marketing_consent": {
|
|
683
|
+
"state": "subscribed",
|
|
684
|
+
"opt_in_level": "confirmed_opt_in",
|
|
685
|
+
"consent_updated_at": "2025-03-02T11:20:00-05:00"
|
|
686
|
+
},
|
|
687
|
+
"default_address": {
|
|
688
|
+
"company": "Reyes Coffee Co",
|
|
689
|
+
"address1": "501 Congress Ave",
|
|
690
|
+
"city": "Austin",
|
|
691
|
+
"province_code": "TX",
|
|
692
|
+
"zip": "78701",
|
|
693
|
+
"country_code": "US"
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
"match": "customers/create",
|
|
697
|
+
"headers": {
|
|
698
|
+
"x-shopify-topic": "customers/create",
|
|
699
|
+
"x-shopify-webhook-id": "b54557e4-customer-created",
|
|
700
|
+
"x-shopify-shop-domain": "acme.myshopify.com"
|
|
701
|
+
}
|
|
702
|
+
},
|
|
703
|
+
"customer.updated": {
|
|
704
|
+
"delivery": "webhook",
|
|
705
|
+
"subscribe": "webhook.create",
|
|
706
|
+
"description": "Shopify topic customers/update. The payload is the resource itself.",
|
|
707
|
+
"object": "customer",
|
|
708
|
+
"payload": {
|
|
709
|
+
"id": 7012345678901,
|
|
710
|
+
"email": "dana.reyes@example.com",
|
|
711
|
+
"first_name": "Dana",
|
|
712
|
+
"last_name": "Reyes",
|
|
713
|
+
"phone": "+15125550142",
|
|
714
|
+
"tags": "wholesale, vip, net30",
|
|
715
|
+
"note": null,
|
|
716
|
+
"orders_count": 7,
|
|
717
|
+
"total_spent": "1240.55",
|
|
718
|
+
"created_at": "2025-03-02T11:20:00-05:00",
|
|
719
|
+
"updated_at": "2026-10-18T09:14:23-05:00",
|
|
720
|
+
"email_marketing_consent": {
|
|
721
|
+
"state": "subscribed",
|
|
722
|
+
"opt_in_level": "confirmed_opt_in",
|
|
723
|
+
"consent_updated_at": "2025-03-02T11:20:00-05:00"
|
|
724
|
+
},
|
|
725
|
+
"default_address": {
|
|
726
|
+
"company": "Reyes Coffee Co",
|
|
727
|
+
"address1": "501 Congress Ave",
|
|
728
|
+
"city": "Austin",
|
|
729
|
+
"province_code": "TX",
|
|
730
|
+
"zip": "78701",
|
|
731
|
+
"country_code": "US"
|
|
732
|
+
}
|
|
733
|
+
},
|
|
734
|
+
"match": "customers/update",
|
|
735
|
+
"headers": {
|
|
736
|
+
"x-shopify-topic": "customers/update",
|
|
737
|
+
"x-shopify-webhook-id": "b54557e4-customer-updated",
|
|
738
|
+
"x-shopify-shop-domain": "acme.myshopify.com"
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
"fulfillment.created": {
|
|
742
|
+
"delivery": "webhook",
|
|
743
|
+
"subscribe": "webhook.create",
|
|
744
|
+
"description": "Shopify topic fulfillments/create. The payload is the resource itself.",
|
|
745
|
+
"object": "fulfillment",
|
|
746
|
+
"payload": {
|
|
747
|
+
"id": 4987654321098,
|
|
748
|
+
"order_id": 5612789014562,
|
|
749
|
+
"status": "success",
|
|
750
|
+
"tracking_company": "UPS",
|
|
751
|
+
"tracking_number": "1Z999AA10123456784",
|
|
752
|
+
"tracking_url": "https://www.ups.com/track?tracknum=1Z999AA10123456784",
|
|
753
|
+
"created_at": "2026-10-19T14:02:00-05:00",
|
|
754
|
+
"line_items": [
|
|
755
|
+
{
|
|
756
|
+
"id": 13579246801,
|
|
757
|
+
"quantity": 2
|
|
758
|
+
}
|
|
759
|
+
]
|
|
760
|
+
},
|
|
761
|
+
"match": "fulfillments/create",
|
|
762
|
+
"headers": {
|
|
763
|
+
"x-shopify-topic": "fulfillments/create",
|
|
764
|
+
"x-shopify-webhook-id": "b54557e4-fulfillment-created",
|
|
765
|
+
"x-shopify-shop-domain": "acme.myshopify.com"
|
|
766
|
+
}
|
|
767
|
+
},
|
|
768
|
+
"refund.created": {
|
|
769
|
+
"delivery": "webhook",
|
|
770
|
+
"subscribe": "webhook.create",
|
|
771
|
+
"description": "Shopify topic refunds/create. The payload is the resource itself.",
|
|
772
|
+
"object": "refund",
|
|
773
|
+
"payload": {
|
|
774
|
+
"id": 929361462,
|
|
775
|
+
"order_id": 5612789014562,
|
|
776
|
+
"created_at": "2026-10-21T10:30:00-05:00",
|
|
777
|
+
"note": "Mug arrived chipped",
|
|
778
|
+
"refund_line_items": [
|
|
779
|
+
{
|
|
780
|
+
"id": 104689539,
|
|
781
|
+
"line_item_id": 13579246801,
|
|
782
|
+
"quantity": 1,
|
|
783
|
+
"restock_type": "return",
|
|
784
|
+
"subtotal": 28.8,
|
|
785
|
+
"total_tax": 2.38,
|
|
786
|
+
"line_item": {
|
|
787
|
+
"sku": "TW-MUG-12",
|
|
788
|
+
"title": "Acme Mug"
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
],
|
|
792
|
+
"transactions": [
|
|
793
|
+
{
|
|
794
|
+
"id": 389404469,
|
|
795
|
+
"kind": "refund",
|
|
796
|
+
"gateway": "shopify_payments",
|
|
797
|
+
"status": "success",
|
|
798
|
+
"amount": "31.18",
|
|
799
|
+
"currency": "USD"
|
|
800
|
+
}
|
|
801
|
+
]
|
|
802
|
+
},
|
|
803
|
+
"match": "refunds/create",
|
|
804
|
+
"headers": {
|
|
805
|
+
"x-shopify-topic": "refunds/create",
|
|
806
|
+
"x-shopify-webhook-id": "b54557e4-refund-created",
|
|
807
|
+
"x-shopify-shop-domain": "acme.myshopify.com"
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
"inventory.updated": {
|
|
811
|
+
"delivery": "webhook",
|
|
812
|
+
"subscribe": "webhook.create",
|
|
813
|
+
"description": "Shopify topic inventory_levels/update. The payload is the resource itself.",
|
|
814
|
+
"object": "inventoryLevel",
|
|
815
|
+
"payload": {
|
|
816
|
+
"inventory_item_id": 46012345678,
|
|
817
|
+
"location_id": 61234567890,
|
|
818
|
+
"available": 3,
|
|
819
|
+
"updated_at": "2026-10-18T09:14:23-05:00",
|
|
820
|
+
"admin_graphql_api_id": "gid://shopify/InventoryLevel/61234567890?inventory_item_id=46012345678"
|
|
821
|
+
},
|
|
822
|
+
"match": "inventory_levels/update",
|
|
823
|
+
"headers": {
|
|
824
|
+
"x-shopify-topic": "inventory_levels/update",
|
|
825
|
+
"x-shopify-webhook-id": "b54557e4-inventory-updated",
|
|
826
|
+
"x-shopify-shop-domain": "acme.myshopify.com"
|
|
827
|
+
}
|
|
828
|
+
},
|
|
829
|
+
"checkout.abandoned": {
|
|
830
|
+
"delivery": "poll",
|
|
831
|
+
"object": "checkout",
|
|
832
|
+
"description": "Polled from GET /checkouts.json. Shopify sends no webhook when a checkout is abandoned; a checkout with an email and no completed_at after an hour counts as abandoned.",
|
|
833
|
+
"payload": {
|
|
834
|
+
"id": 35112233445566,
|
|
835
|
+
"token": "example-checkout-token",
|
|
836
|
+
"email": "dana.reyes@example.com",
|
|
837
|
+
"abandoned_checkout_url": "https://acme-goods.myshopify.com/58912/checkouts/b1946ac9/recover?key=7c2f",
|
|
838
|
+
"total_price": "64.00",
|
|
839
|
+
"currency": "USD",
|
|
840
|
+
"customer": {
|
|
841
|
+
"id": 7012345678901
|
|
842
|
+
},
|
|
843
|
+
"line_items": [
|
|
844
|
+
{
|
|
845
|
+
"variant_id": 44012345690,
|
|
846
|
+
"sku": "TW-PRESS-01",
|
|
847
|
+
"title": "Pour-over Press",
|
|
848
|
+
"quantity": 1,
|
|
849
|
+
"price": "64.00"
|
|
850
|
+
}
|
|
851
|
+
],
|
|
852
|
+
"created_at": "2026-10-18T20:41:00-05:00",
|
|
853
|
+
"completed_at": null
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
},
|
|
857
|
+
"webhook": {
|
|
858
|
+
"scope": "installation",
|
|
859
|
+
"topic": "{{headers.x-shopify-topic}}",
|
|
860
|
+
"eventId": "{{headers.x-shopify-webhook-id}}",
|
|
861
|
+
"verify": "verifyWebhookSignature"
|
|
862
|
+
},
|
|
863
|
+
"capabilities": {
|
|
864
|
+
"order.get": {
|
|
865
|
+
"kind": "read",
|
|
866
|
+
"method": "getOrder",
|
|
867
|
+
"input": {
|
|
868
|
+
"id": {
|
|
869
|
+
"type": "string",
|
|
870
|
+
"required": true
|
|
871
|
+
},
|
|
872
|
+
"fields": {
|
|
873
|
+
"type": "string"
|
|
874
|
+
}
|
|
875
|
+
},
|
|
876
|
+
"output": "order"
|
|
877
|
+
},
|
|
878
|
+
"order.list": {
|
|
879
|
+
"kind": "read",
|
|
880
|
+
"method": "listOrders",
|
|
881
|
+
"input": {
|
|
882
|
+
"status": {
|
|
883
|
+
"type": "string"
|
|
884
|
+
},
|
|
885
|
+
"created_at_min": {
|
|
886
|
+
"type": "string"
|
|
887
|
+
},
|
|
888
|
+
"updated_at_min": {
|
|
889
|
+
"type": "string"
|
|
890
|
+
},
|
|
891
|
+
"limit": {
|
|
892
|
+
"type": "number"
|
|
893
|
+
},
|
|
894
|
+
"page_info": {
|
|
895
|
+
"type": "string"
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
"output": "page<order>"
|
|
899
|
+
},
|
|
900
|
+
"order.update": {
|
|
901
|
+
"kind": "write",
|
|
902
|
+
"method": "updateOrder",
|
|
903
|
+
"input": {
|
|
904
|
+
"id": {
|
|
905
|
+
"type": "string",
|
|
906
|
+
"required": true
|
|
907
|
+
},
|
|
908
|
+
"order": {
|
|
909
|
+
"type": "object",
|
|
910
|
+
"required": true
|
|
911
|
+
}
|
|
912
|
+
},
|
|
913
|
+
"output": "order"
|
|
914
|
+
},
|
|
915
|
+
"order.fulfillmentOrders": {
|
|
916
|
+
"kind": "read",
|
|
917
|
+
"method": "listFulfillmentOrders",
|
|
918
|
+
"input": {
|
|
919
|
+
"orderId": {
|
|
920
|
+
"type": "string",
|
|
921
|
+
"required": true
|
|
922
|
+
}
|
|
923
|
+
},
|
|
924
|
+
"output": "fulfillmentOrder[]"
|
|
925
|
+
},
|
|
926
|
+
"fulfillment.create": {
|
|
927
|
+
"kind": "write",
|
|
928
|
+
"method": "createFulfillment",
|
|
929
|
+
"input": {
|
|
930
|
+
"fulfillmentOrderId": {
|
|
931
|
+
"type": "string",
|
|
932
|
+
"required": true
|
|
933
|
+
},
|
|
934
|
+
"trackingInfo": {
|
|
935
|
+
"type": "object"
|
|
936
|
+
},
|
|
937
|
+
"notifyCustomer": {
|
|
938
|
+
"type": "boolean"
|
|
939
|
+
}
|
|
940
|
+
},
|
|
941
|
+
"output": "fulfillment"
|
|
942
|
+
},
|
|
943
|
+
"customer.get": {
|
|
944
|
+
"kind": "read",
|
|
945
|
+
"method": "getCustomer",
|
|
946
|
+
"input": {
|
|
947
|
+
"id": {
|
|
948
|
+
"type": "string",
|
|
949
|
+
"required": true
|
|
950
|
+
}
|
|
951
|
+
},
|
|
952
|
+
"output": "customer"
|
|
953
|
+
},
|
|
954
|
+
"customer.list": {
|
|
955
|
+
"kind": "read",
|
|
956
|
+
"method": "listCustomers",
|
|
957
|
+
"input": {
|
|
958
|
+
"updated_at_min": {
|
|
959
|
+
"type": "string"
|
|
960
|
+
},
|
|
961
|
+
"limit": {
|
|
962
|
+
"type": "number"
|
|
963
|
+
},
|
|
964
|
+
"page_info": {
|
|
965
|
+
"type": "string"
|
|
966
|
+
}
|
|
967
|
+
},
|
|
968
|
+
"output": "page<customer>"
|
|
969
|
+
},
|
|
970
|
+
"customer.search": {
|
|
971
|
+
"kind": "search",
|
|
972
|
+
"method": "searchCustomers",
|
|
973
|
+
"input": {
|
|
974
|
+
"query": {
|
|
975
|
+
"type": "string",
|
|
976
|
+
"required": true
|
|
977
|
+
}
|
|
978
|
+
},
|
|
979
|
+
"output": "customer[]"
|
|
980
|
+
},
|
|
981
|
+
"customer.create": {
|
|
982
|
+
"kind": "write",
|
|
983
|
+
"method": "createCustomer",
|
|
984
|
+
"input": {
|
|
985
|
+
"customer": {
|
|
986
|
+
"type": "object",
|
|
987
|
+
"required": true
|
|
988
|
+
}
|
|
989
|
+
},
|
|
990
|
+
"output": "customer"
|
|
991
|
+
},
|
|
992
|
+
"customer.update": {
|
|
993
|
+
"kind": "write",
|
|
994
|
+
"method": "updateCustomer",
|
|
995
|
+
"input": {
|
|
996
|
+
"id": {
|
|
997
|
+
"type": "string",
|
|
998
|
+
"required": true
|
|
999
|
+
},
|
|
1000
|
+
"customer": {
|
|
1001
|
+
"type": "object",
|
|
1002
|
+
"required": true
|
|
1003
|
+
}
|
|
1004
|
+
},
|
|
1005
|
+
"output": "customer"
|
|
1006
|
+
},
|
|
1007
|
+
"checkout.list": {
|
|
1008
|
+
"kind": "read",
|
|
1009
|
+
"method": "listAbandonedCheckouts",
|
|
1010
|
+
"input": {
|
|
1011
|
+
"created_at_min": {
|
|
1012
|
+
"type": "string"
|
|
1013
|
+
},
|
|
1014
|
+
"limit": {
|
|
1015
|
+
"type": "number"
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
"output": "checkout[]"
|
|
1019
|
+
},
|
|
1020
|
+
"variant.byInventoryItem": {
|
|
1021
|
+
"kind": "read",
|
|
1022
|
+
"method": "getVariantByInventoryItemId",
|
|
1023
|
+
"input": {
|
|
1024
|
+
"inventoryItemId": {
|
|
1025
|
+
"type": "string",
|
|
1026
|
+
"required": true
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
"output": "variant"
|
|
1030
|
+
},
|
|
1031
|
+
"location.list": {
|
|
1032
|
+
"kind": "read",
|
|
1033
|
+
"method": "listLocations",
|
|
1034
|
+
"input": {},
|
|
1035
|
+
"output": "location[]"
|
|
1036
|
+
},
|
|
1037
|
+
"webhook.create": {
|
|
1038
|
+
"kind": "subscribe",
|
|
1039
|
+
"method": "createWebhook",
|
|
1040
|
+
"input": {
|
|
1041
|
+
"topic": {
|
|
1042
|
+
"type": "string",
|
|
1043
|
+
"required": true
|
|
1044
|
+
},
|
|
1045
|
+
"address": {
|
|
1046
|
+
"type": "string",
|
|
1047
|
+
"required": true
|
|
1048
|
+
},
|
|
1049
|
+
"format": {
|
|
1050
|
+
"type": "string"
|
|
1051
|
+
}
|
|
1052
|
+
},
|
|
1053
|
+
"output": "webhook"
|
|
1054
|
+
},
|
|
1055
|
+
"webhook.delete": {
|
|
1056
|
+
"kind": "delete",
|
|
1057
|
+
"method": "deleteWebhook",
|
|
1058
|
+
"input": {
|
|
1059
|
+
"id": {
|
|
1060
|
+
"type": "string",
|
|
1061
|
+
"required": true
|
|
1062
|
+
}
|
|
1063
|
+
},
|
|
1064
|
+
"output": "void"
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
"options": {
|
|
1068
|
+
"location": {
|
|
1069
|
+
"capability": "location.list",
|
|
1070
|
+
"label": "{{item.name}}",
|
|
1071
|
+
"value": "$.item.id"
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
"ui": {
|
|
1075
|
+
"placements": [
|
|
1076
|
+
"admin.customer-details.block",
|
|
1077
|
+
"admin.order-details.block",
|
|
1078
|
+
"admin.product-details.block"
|
|
1079
|
+
],
|
|
1080
|
+
"renderer": "frigg-shopify-admin-extension"
|
|
1081
|
+
}
|
|
1082
|
+
}
|