Skip to content
Proud to collaborate with Microsoft for Startups

data.commerce.entity.query ​

Read rows from commerce_entity in the finance DB. Supports filtering by connection/provider/entity_type/external_ref/status, JSONB raw->>key filters, and incremental-sync since-cursor. UUID-only surface.

Read-only query over commerce_entity with paging + soft filters.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-commerce
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidNo——
organization_uuiduuidYes——
providerstringNo——
entity_typestringNo——
external_refstringNo——
commerce_entity_uuiduuidNo——
statusstringNo——
provider_updated_sincestringNo—ISO-8601 — provider_updated_at > this
include_deletedbooleanNo——
raw_filtersjsonNo—dict of raw->>key = value JSONB equality filters
limitintegerNo——
offsetintegerNo——
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuiduuidNo——
organization_uuiduuidYes——
providerstringNo——
entity_typestringNo——
external_refstringNo——
commerce_entity_uuiduuidNo——
statusstringNo——
provider_updated_sincestringNo—ISO-8601 — provider_updated_at > this
include_deletedbooleanNo——
raw_filtersjsonNo—dict of raw->>key = value JSONB equality filters
limitintegerNo——
offsetintegerNo——
actorstringNo——
itemsjsonYes—List of commerce_entity rows (UUID-keyed)
item_countintegerYes——
total_countintegerNo—Total matching rows ignoring limit/offset
has_morebooleanYes——
queried_atstringYes——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepjsonNo——
failed_layerjsonNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—completeQuery commerce_entity rows
completedNoYesYes—Query succeeded
failedNoYesNo—Query failed

State Diagram ​

Transitions ​

FromActionToDescription
pendingcompletecompleted—
pendingfailfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "data.commerce.entity.query",
  "initial_data": {
    "organization_uuid": "value"
  }
}