Request

PUT /pub/v1/marketing/segment

Request body

The resource sent in the request body is  Create a static segment of subscribers — Request. It contains the following writable properties:

{
    "externalId": "string",
    "name": "string",
    "preference": "uuid"
}

Properties

Name Type Description Additional
externalId string

External ID

Optional
name string

Name

Optional
preference uuid

Preference category

Optional

Authorization

This request requires the use of one of following authorisation methods: API key

Response

The following HTTP status codes may be returned:

Status code Description Resource
200 OK

Result model for creating the static segment

Result model for creating the static segment (Create a static segment of subscribers)
400 Bad Request

Error while checking incoming data or implementing the method

412 Precondition Failed

No CRM license