Skip to content
Proud to collaborate with Microsoft for Startups

abacatepay.product.create ​

Create a catalog product (one-time or subscription cycle).

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-abacatepay
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID
cloud_connection_uuiduuidYes—Organization-scoped AbacatePay connection UUID
workflow_run_idstringNo—Engine-stamped parent DAG run id
external_idstringYes—Caller catalog externalId
namestringYes—Product name
priceintegerYes—Price in centavos
currencystringNo—Currency code; must be BRL
descriptionstringNo—Product description
image_urlstringNo—Product image URL
cyclestringNo—Subscription cycle: WEEKLY

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID
cloud_connection_uuiduuidYes—Organization-scoped AbacatePay connection UUID
workflow_run_idstringNo—Engine-stamped parent DAG run id
product_refstringYes—Provider product id
external_idstringYes—Caller catalog externalId
productjsonYes—Normalized product payload
created_atstringYes—ISO-8601 create timestamp
failure_reasonstringNo—Safe terminal failure reason
failure_typestringNo—Stable failure classification
failed_actionstringNo—Action that failed
failed_stepjsonNo—Failed DAG step envelope
failed_layerintegerNo—One-based failed DAG layer
failed_at_statestringNo—State where failure occurred
errorstringNo—Safe unexpected error
error_typestringNo—Unexpected exception class
failed_atstringNo—ISO-8601 failure timestamp
provider_request_refstringNo—Safe provider request reference
retryablebooleanNo—Whether the failure is retryable
namestringYes—Product name
priceintegerYes—Price in centavos
currencystringNo—Currency code; must be BRL
descriptionstringNo—Product description
image_urlstringNo—Product image URL
cyclestringNo—Subscription cycle: WEEKLY

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "abacatepay.product.create",
  "initial_data": {
    "organization_uuid": "value",
    "cloud_connection_uuid": "value",
    "external_id": "value",
    "name": "value"
  }
}