Scheduled Tasks

Update a scheduled task

Changed on

Use when pausing or resuming a scheduled task. Only the enabled field can be changed.

put/tasks/scheduled/{id}

Request

  • Base URL
    https://us.api.flexprice.io/v1
  • URL
    https://us.api.flexprice.io/v1/tasks/scheduled/{id}
  • Auth
    API key in header x-api-key

Path parameters

idstring required

Scheduled Task ID

Request body

enabledboolean required

Response

OK

connection_idstring
created_atstring date-time
enabledboolean
entity_type'events' | 'invoice' | 'credit_topups' | 'wallet_debits' | 'credit_usage' | 'usage_analytics' | 'revenue_facts'
environment_idstring
idstring
interval'15MIN' | '30MIN' | 'custom' | 'hourly' | 'daily'
statusstring
tenant_idstring
updated_atstring date-time

Changes

    • warning

      added the new wallet_debits enum value to the response property for the response status

    • warning

      added the new revenue_facts enum value to the response property for the response status