| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

identifier

uuid

required

referralCampaign unique identifier

version

number

schema version number

companyUuid

uuid

required

status

string

enum

required

draftpublishedarchived

Allowed:

`draft``published``archived`

title

string

required

description

string

segmentUuids

array of uuids

segmentUuids
ADD uuid

positions

array of objects

positions
ADD object

locations

array of objects

locations
ADD object

default

boolean

falsetruefalse

messages

object

messagesobject

incentives

array of objects

incentives
ADD object

incentive

object

incentiveobject

reminder

object

reminderobject

duration

object

durationobject

draft

object

draftobject

limitAvailability

boolean

falsetruefalse

customAttributeUuid

uuid

# ``202      referralCampaign replaced. Wrapped in a JsonAPI root response.

# ``500      default error response

Updated3 months ago

* * *

ShellNodeRubyPHPPython

```

xxxxxxxxxx

curl --request PUT \

--url https://services.fountain.com/api/servicereferral/referralCampaigns/identifier \

--header 'accept: application/json' \

--header 'content-type: application/json' \

--data '{"status":"draft"}'
```

Click `Try It!` to start a request and see the response here! Or choose an example:

application/json

``202``500

Updated3 months ago
