Skip to main content
POST
Publish the next version of the company's cancel flow

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
reasons
object[]
required

Every customer reason code once, in the order customers see them.

offers_by_reason
object
required

Customer reason code to the save offers it shows, at most two of distinct types.

expected_version
integer
required

The version the flow was read at

Required range: x >= 0

Response

Published

retention_flow
object
required
offer_types
object[]
required
status
enum<integer>
required
Available options:
200,
201
meta
object
required