Skip to content
Proud to collaborate with Microsoft for Startups

bling.fetch-product ​

Fetches one page of products from Bling via LTIP. Returns the page's items in state_data plus has_next_page so a paginating DAG can resume.

Single-page product fetch from Bling.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-bling
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization that owns the connection
connection_uuiduuidYes—Bling CloudConnection UUID
pageintegerNo—1-indexed page number. Default 1.
limiteintegerNo—Items per page. Default 100 (Bling max).
sincestringNo—ISO date — only products altered on/after this date.
actorstringNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization that owns the connection
connection_uuiduuidYes—Bling CloudConnection UUID
pageintegerNo—1-indexed page number. Default 1.
limiteintegerNo—Items per page. Default 100 (Bling max).
sincestringNo—ISO date — only products altered on/after this date.
actorstringNo——
itemsjsonNo—List of Product contracts (model_dump) returned by this page
item_countintegerNo—Number of items returned by this page
has_next_pagebooleanNo—True when item_count == limite; caller should fetch page+1
fetched_atstringNo——
failure_reasonstringNo——
failed_atstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepjsonNo——
failed_layerjsonNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—fetchFetch request received
completedNoYesYes—Page fetched
failedNoYesNo—Fetch failed

State Diagram ​

Transitions ​

FromActionToDescription
initiatedfetchcompleted—
initiatedfailfailed—

Business Errors ​

CodeMessage Template
BLING_CONNECTION_NOT_FOUNDBling connection {connection_uuid} not found in organization
BLING_CONNECTION_WRONG_PROVIDERConnection {connection_uuid} is not a Bling connection

API Usage ​

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

{
  "workflow_type": "bling.fetch-product",
  "initial_data": {
    "organization_uuid": "value",
    "connection_uuid": "value"
  }
}