Skip to documentation
NikoHealth integration

Create Sales Order

Perform Create Sales Order through NikoHealth.

View as Markdown
nikohealth_create_sales_order
writenikohealth

Use in a workflow

Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.

{
  "_group": "NikoHealth",
  "params": {},
  "handler": "nikohealth_create_sales_order"
}

Action contracts and connections · Run recovery

Inputs

  • document_id
    expressionrequired
    Document Id

    Required literal value or workflow expression.

  • patient_id
    expressionrequired
    Patient Id

    Required literal value or workflow expression.

  • service_location_id
    text
    Service Location Id

    Optional text value.

  • service_location_id_select
    selectdynamic options
    Service Location Id Select

    Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.

  • notes
    expression
    Notes

    Optional literal value or workflow expression.

  • order_tag_ids
    expression
    Order Tag Ids

    Optional literal value or workflow expression.

  • order_tag_ids_select
    multi_selectdynamic options
    Order Tag Ids Select

    Optional list of selected values. Retrieve allowed values from the dynamic options endpoint.

  • duplicate_window_days
    number
    Duplicate Window Days

    Optional numeric value.

Outputs

  • successSuccess
  • document_idDocument Id
  • order_idOrder Id
  • order_urlOrder Url
  • resourceResource
  • patient_idPatient Id
  • service_location_idService Location Id
  • item_countItem Count
  • tag_idsTag Ids
  • persisted_order_countPersisted Order Count
  • provider_resolution_warningProvider Resolution Warning
  • generic_fallback_warningGeneric Fallback Warning
  • start_date_warningStart Date Warning
  • order_date_warningOrder Date Warning
  • order_gapsOrder Gaps
  • product_gapsProduct Gaps
  • therapy_modalitiesTherapy Modalities
  • has_non_estim_productsHas Non Estim Products
  • modality_unknownModality Unknown
  • modality_tagModality Tag
  • failure_categoryFailure Category
  • review_reasonReview Reason
  • messageMessage
  • errorError

Output schema completeness: best_effort_declared

Safety

External effect
write
Confirmation recommended
No
Retry safe
No
Dry run supported
No

Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

Input schema
{
  "type": "object",
  "required": [
    "document_id",
    "patient_id"
  ],
  "properties": {
    "notes": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "patient_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "order_tag_ids": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "service_location_id": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "order_tag_ids_select": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional list of selected values. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "multi_select"
    },
    "duplicate_window_days": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "service_location_id_select": {
      "type": "string",
      "description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "message": {},
    "success": {},
    "tag_ids": {},
    "order_id": {},
    "resource": {},
    "order_url": {},
    "item_count": {},
    "order_gaps": {},
    "patient_id": {},
    "document_id": {},
    "modality_tag": {},
    "product_gaps": {},
    "review_reason": {},
    "failure_category": {},
    "modality_unknown": {},
    "order_date_warning": {},
    "start_date_warning": {},
    "therapy_modalities": {},
    "service_location_id": {},
    "persisted_order_count": {},
    "has_non_estim_products": {},
    "generic_fallback_warning": {},
    "provider_resolution_warning": {}
  },
  "additionalProperties": true
}
View all NikoHealth actions