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

#### URL Expired

The URL for this request expired after 30 days.

### Schema

- **identifier**: uuid (required)
- **referralCampaign**: unique identifier
- **version**: number (schema version number)
- **companyUuid**: uuid (required)
- **status**: string (required, enum: draft, published, archived)
- **title**: string (required)
- **description**: string
- **segmentUuids**: array of uuids (ADD uuid)
- **positions**: array of objects (ADD object)
- **locations**: array of objects (ADD object)
- **default**: boolean (true/false)
- **messages**: object
- **incentives**: array of objects (ADD object)
- **incentive**: object
- **reminder**: object
- **duration**: object
- **draft**: object
- **limitAvailability**: boolean (true/false)
- **customAttributeUuid**: uuid

### Example CURL Command

```bash
curl --request PATCH \
     --url https://services.fountain.com/api/servicereferral/referralCampaigns/identifier \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"status":"draft"}'
```

### Responses

- **202**: updated referralCampaign. Wrapped in a JsonAPI root response.
- **500**: default error response.
