Parameters
siteId
- Type: int32
- Required: Yes
- Description: The Site's ID
channelId
- Type: int32
- Required: Yes
- Description: The Channel's ID
priority
- Type: int32
- Required: Yes
- Description: Also known as affinity. This is different from the Priority associated with Channels. See here for info.
Response Structure
200
object
- SiteId: integer
- ChannelId: integer
- FixedPaymentAmount: string
- Priority: integer
Example CURL Request
curl -X PUT -H "X-Adzerk-ApiKey:$ADZERK_API_KEY" -H "Content-Type:application/json" "https://api.kevel.co/v1/channelSite" --data-binary '{"SiteId":12345,"ChannelId":67890,"Priority":10}'
Example JSON Response
{
"SiteId": 12345,
"ChannelId": 67890,
"FixedPaymentAmount": null,
"Priority": 10
}