Edit a chargeback workflow
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type, including the request body. |
Path Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| chargebackWorkflowId | Chargeback workflow id | integer (int32) | Required |
Request Body
ChargebackWorkflowEdit
| Property | Description | Type | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| chargebackWorkflowInfo | Name given to the chargeback workflow Required Must be between 0 and 64 characters | string | |||||||||||||||
| chargebackWorkflowSteps | List of chargeback workflow steps with details Order of the steps in the list determines the steps in the workflow. Cannot be Empty Required (defined) | ChargebackWorkflowStepEdit[] | |||||||||||||||
|
ChargebackWorkflowStepEdit properties
|
|||||||||||||||||
Example Request Body
{ "chargebackWorkflowInfo": "string", "chargebackWorkflowSteps": [
{ "chargebackWorkflowStepDescription": "string", "chargebackWorkflowStepId": 1, "chargebackWorkflowStepInfo": "string", "chargebackWorkflowStepType": "string"
}
]
}
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
ChargebackWorkflowResponse
| Property | Description | Type | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| chargebackWorkflowId | Identifier for the chargeback workflow | integer (int32) | ||||||||||||||||||
| chargebackWorkflowInfo | Name given to the chargeback workflow | string | ||||||||||||||||||
| chargebackWorkflowSteps | List of workflow steps with details | ChargebackWorkflowStep[] | ||||||||||||||||||
|
ChargebackWorkflowStep properties
|
||||||||||||||||||||
Example Response
{ "chargebackWorkflowId": 1, "chargebackWorkflowInfo": "string", "chargebackWorkflowSteps": [
{ "chargebackWorkflowStepDescription": "string", "chargebackWorkflowStepId": 1, "chargebackWorkflowStepInfo": "string", "chargebackWorkflowStepOrder": 1, "chargebackWorkflowStepType": "string"
}
]
}