kf connector

Install, configure, rotate, and replay tenant connectors.

kf connector activate-as-shopify-fulfillment-service

Register Karman as a Shopify FulfillmentService against the bound shop.

Register Karman as a Shopify FulfillmentService against the bound shop. Sets connector_bindings.custom_fields.shopifyAsFulfillmentService=true and stores the partner-returned fulfillment_service_id and location_id so destinations can route shipment writes. Emits connector.fulfillment_service.activated. Risk class R3.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--binding-id <value>yesBinding id.
--shopify-fulfillment-service-id <value>yesShopify fulfillment service id.
--shopify-location-id <value>yesShopify location id.
--callback-url <value>yesCallback url.

Example

kf connector activate-as-shopify-fulfillment-service --tenant tnt_demo --actor-type USER --actor-id usr_sam --binding-id <value> --shopify-fulfillment-service-id <value> --shopify-location-id <value> --callback-url <value>

kf connector add-shopify-shop

Attach a secondary Shopify shop to an existing tenant binding (multi-shop).

Attach a secondary Shopify shop to an existing tenant binding (multi-shop). Requires an active primary Shopify binding for the tenant. Stores only a secret-store reference and emits connector.shop.added. Risk class R4 because the command accepts caller-managed connector credentials.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--shop-domain <value>yesShop domain.
--access-token-secret-ref-stdinyesRead Access token secret ref. from stdin.
--scope <value>yesScope.
--installed-by-actor-id <value>yesInstalled by actor id.

Example

kf connector add-shopify-shop --tenant tnt_demo --actor-type USER --actor-id usr_sam --shop-domain <value> --access-token-secret-ref-stdin --scope <value> --installed-by-actor-id <value>

kf connector deactivate-as-shopify-fulfillment-service

Deregister Karman as a Shopify FulfillmentService.

Deregister Karman as a Shopify FulfillmentService. Clears the binding's fulfillment-service custom fields. Emits connector.fulfillment_service.deactivated. Risk class R3.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--binding-id <value>yesBinding id.

Example

kf connector deactivate-as-shopify-fulfillment-service --tenant tnt_demo --actor-type USER --actor-id usr_sam --binding-id <value>

kf connector ignore-shopify-drift-event

Operator-driven dismiss for a Shopify drift inbox row.

Operator-driven dismiss for a Shopify drift inbox row. Emits connector.shopify.drift.ignored referencing the original drift event id; the drift inbox subtracts these from the recorded feed so dismissed rows drop off the operator view. Round 6 P1.6.3. Risk R2.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--binding-id <value>yesBinding id.
--drift-event-id <value>yesDrift event id.
--aggregate-type <value>yesAggregate type.
--partner-aggregate-id <value>yesPartner aggregate id.
--dismissed-reason <value>noDismissed reason.

Example

kf connector ignore-shopify-drift-event --tenant tnt_demo --actor-type USER --actor-id usr_sam --binding-id <value> --drift-event-id <value> --aggregate-type <value> --partner-aggregate-id <value>

kf connector install-shopify

Install (or reinstall) a Shopify connector binding after successful OAuth or custom-app credential entry.

Install (or reinstall) a Shopify connector binding after successful OAuth or custom-app credential entry. Stores only a secret-store reference, not the raw access token. Emits connector.shopify.installed on first install and connector.shopify.reinstalled on subsequent runs, and enqueues an INGEST_CONNECTOR_RUN job inside the same transaction. Risk class R4; grant connector.binding:write.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--shop-domain <value>yesShop domain.
--access-token-secret-ref-stdinyesRead Access token secret ref. from stdin.
--scope <value>yesScope.
--installed-by-actor-id <value>yesInstalled by actor id.

Example

kf connector install-shopify --tenant tnt_demo --actor-type USER --actor-id usr_sam --shop-domain <value> --access-token-secret-ref-stdin --scope <value> --installed-by-actor-id <value>

kf connector process-gdpr-data-request

Inbound Shopify customers/data_request route.

Inbound Shopify customers/data_request route. Records the request and emits gdpr.data_request.completed with an artifactRef pointing at the encrypted export bundle. Does not email the customer; that is the merchant's responsibility. Risk class R3; the webhook dispatcher files an approval request instead of executing without approval.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--binding-id <value>yesBinding id.
--provider <value>noProvider.
--partner-customer-id <value>yesPartner customer id.
--partner-customer-email <value>noPartner customer email.
--partner-orders-requested <value>noPartner orders requested.
--received-on <value>yesISO date/time

Example

kf connector process-gdpr-data-request --tenant tnt_demo --actor-type USER --actor-id usr_sam --binding-id <value> --partner-customer-id <value> --received-on <value>

kf connector record-webhook-receipt

Record a generic inbound connector webhook receipt after signature verification and transition it to processed, deferred, ignored, or failed.

Record a generic inbound connector webhook receipt after signature verification and transition it to processed, deferred, ignored, or failed. Used by payment providers such as Adyen so webhook proof, replay, and command receipts are provider-neutral.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--binding-id <value>yesBinding id.
--connector-key <value>yesConnector key.
--provider <value>yesProvider.
--external-account-ref <value>noExternal account ref.
--delivery-id <value>yesDelivery id.
--topic <value>yesTopic.
--provider-event-id <value>noProvider event id.
--provider-reference <value>noProvider reference.
--body-hash <value>yesBody hash.
--replay-fingerprint <value>yesReplay fingerprint.
--hmac-verified <value>yesHmac verified.
--raw-payload-ref <value>noRaw payload ref.
--received-on <value>noISO date/time
--status <value>yesStatus.
--last-error <value>noLast error.

Example

kf connector record-webhook-receipt --tenant tnt_demo --actor-type USER --actor-id usr_sam --binding-id <value> --connector-key <value> --provider <value> --delivery-id <value> --topic <value> --body-hash <value> --replay-fingerprint <value> --hmac-verified <value> --status <value>

kf connector redact-customer-data

Inbound Shopify customers/redact route.

Inbound Shopify customers/redact route. Tombstones the resolved Karman party (status=ERASED, name fields set to __redacted__) and marks every Party-scoped custom_field with field_group=REDACTED. Risk class R3; the webhook dispatcher files an approval request instead of executing without approval.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--binding-id <value>yesBinding id.
--provider <value>noProvider.
--partner-customer-id <value>yesPartner customer id.
--partner-customer-email <value>noPartner customer email.
--received-on <value>yesISO date/time

Example

kf connector redact-customer-data --tenant tnt_demo --actor-type USER --actor-id usr_sam --binding-id <value> --partner-customer-id <value> --received-on <value>

kf connector redact-shop-data

Inbound Shopify shop/redact route.

Inbound Shopify shop/redact route. Mass-mutation that flips the binding to REVOKED, redacts every party scoped to the bound shop, and marks every Party/Address/ContactPoint custom field as REDACTED. Risk class R4: never auto-executed; requires explicit operator approval which is recorded as operatorApprovalReceiptId on the input.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--binding-id <value>yesBinding id.
--provider <value>noProvider.
--partner-shop-id <value>yesPartner shop id.
--shop-domain <value>yesShop domain.
--received-on <value>yesISO date/time
--operator-approval-receipt-id <value>yesOperator approval receipt id.

Example

kf connector redact-shop-data --tenant tnt_demo --actor-type USER --actor-id usr_sam --binding-id <value> --partner-shop-id <value> --shop-domain <value> --received-on <value> --operator-approval-receipt-id <value>

kf connector register-amazon-us-binding

Register (or reinstall) an Amazon US (SP-API) connector binding after a successful LWA handshake.

Register (or reinstall) an Amazon US (SP-API) connector binding after a successful LWA handshake. Stores only secret-store references (refresh token, LWA client id/secret, optional IAM keys and role ARN), never raw credentials. Activates the core.connector.amazon-us feature module in the same transaction so tenant discovery surfaces see Amazon as ACTIVE. Emits connector.amazon_us.installed on first install and connector.amazon_us.reinstalled on subsequent runs, and enqueues an INGEST_CONNECTOR_RUN job inside the same transaction. Risk class R4; grant connector.binding:write to operators and partner agents who onboard sellers.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--seller-id <value>yesSeller id.
--marketplace-ids <value>yesMarketplace ids.
--refresh-token-secret-ref-stdinyesRead Refresh token secret ref. from stdin.
--lwa-client-id-secret-ref-stdinyesRead Lwa client id secret ref. from stdin.
--lwa-client-secret-ref-stdinyesRead Lwa client secret ref. from stdin.
--iam-role-arn <value>noIam role arn.
--iam-access-key-id-secret-ref-stdinnoRead Iam access key id secret ref. from stdin.
--iam-secret-access-key-ref-stdinnoRead Iam secret access key ref. from stdin.
--region <value>noRegion.
--scope <value>yesScope.
--installed-by-actor-id <value>yesInstalled by actor id.

Example

kf connector register-amazon-us-binding --tenant tnt_demo --actor-type USER --actor-id usr_sam --seller-id <value> --marketplace-ids <value> --refresh-token-secret-ref-stdin --lwa-client-id-secret-ref-stdin --lwa-client-secret-ref-stdin --scope <value> --installed-by-actor-id <value>

kf connector replay-sync

Operator-initiated replay of a connector ingestion run.

Operator-initiated replay of a connector ingestion run. Enqueues an INGEST_CONNECTOR_RUN job for the given binding, bypassing schedule cadence. Idempotent per metadata.idempotencyKey.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--binding-id <value>yesBinding id.
--run-type <value>yesRun type.
--entity-scope <value>noEntity scope.
--observed-from <value>noISO date/time
--observed-to <value>noISO date/time

Example

kf connector replay-sync --tenant tnt_demo --actor-type USER --actor-id usr_sam --binding-id <value> --run-type <value>

kf connector rotate-shopify-token

Replace the access-token secret reference on a Shopify connector binding.

Replace the access-token secret reference on a Shopify connector binding. Used by both the OAuth re-grant flow (public-app installs) and the operator paste-token flow (custom-app installs). Emits connector.token.rotated. Risk class R4 because the command accepts caller-managed connector credentials.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--binding-id <value>yesBinding id.
--access-token-secret-ref-stdinyesRead Access token secret ref. from stdin.
--scope <value>noScope.
--rotated-by-actor-id <value>yesRotated by actor id.

Example

kf connector rotate-shopify-token --tenant tnt_demo --actor-type USER --actor-id usr_sam --binding-id <value> --access-token-secret-ref-stdin --rotated-by-actor-id <value>

kf connector uninstall-shopify

Mark a Shopify connector binding REVOKED.

Mark a Shopify connector binding REVOKED. Single entry point for the inbound app/uninstalled webhook and operator-driven uninstall. Pauses jobs, invalidates secrets, and emits connector.binding_revoked. Idempotent on already-revoked bindings. Risk class R2.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--binding-id <value>yesBinding id.
--reason <value>yesReason.
--detail <value>noDetail.

Example

kf connector uninstall-shopify --tenant tnt_demo --actor-type USER --actor-id usr_sam --binding-id <value> --reason <value>

kf connector upsert-transform-profile

Create or update a tenant TransformProfile in tenant_configs.ingestion.transformProfiles.

Create or update a tenant TransformProfile in tenant_configs.ingestion.transformProfiles. Single write path shared by the operator-console mapping UI and the mapping-author agent (unified-connector-interface invariant). Idempotent on metadata.idempotencyKey; bumps the catalog row's version on each commit. Approval-gated (R2 with requiresApproval) so agent-proposed mappings get human sign-off by default; a per-tenant policy may later auto-approve high-confidence proposals once trust is established.

FlagRequiredDescription
--tenant <id>yesTarget tenant id.
--environment <id>noTarget environment id; defaults to the active profile environment.
--actor-type <type>yesActor type (USER, SYSTEM, CONNECTOR, AGENT, SERVICE).
--actor-id <id>yesActor id.
--idempotency-key <key>noIdempotency key for safe retries. Generated when omitted.
--profile-id <value>yesProfile id.
--profile <value>yesProfile.
--proposed-by <value>yesProposed by.
--rationale <value>noRationale.

Example

kf connector upsert-transform-profile --tenant tnt_demo --actor-type USER --actor-id usr_sam --profile-id <value> --profile <value> --proposed-by <value>
Privacy choices

This controls app-managed marketing analytics: cookie-free Plausible, optional Cloudflare Web Analytics, and first-party event logs with session-only UTM attribution. The site works without it.

Read the privacy notice