Method: KlaviyoAPI::FlowsApi#update_flow

Defined in:
lib/klaviyo-api-sdk/api/flows_api.rb

#update_flow(id, flow_update_query, opts = {}) ⇒ Hash<String, Object>

Update Flow Status Update the status of a flow with the given flow ID, and all actions in that flow.
*Rate limits*:
Burst: ‘3/s`
Steady: `60/m` Scopes: `flows:write`

Parameters:

  • id (String)

    ID of the Flow to update. Ex: XVTP5Q

  • flow_update_query (FlowUpdateQuery)
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Hash<String, Object>)


1569
1570
1571
1572
# File 'lib/klaviyo-api-sdk/api/flows_api.rb', line 1569

def update_flow(id, flow_update_query, opts = {})
  data, _status_code, _headers = update_flow_with_http_info(id, flow_update_query, opts)
  data
end