POST /affiliate/landing_pg

Updates the landing page for affiliates.

Body Required

  • affiliate_dock_title string
  • affiliate_dock_description string
  • referrer_coupon string

Body Required

  • affiliate_dock_title string
  • affiliate_dock_description string
  • referrer_coupon string

Responses

  • 200 application/json

    Resposne with a text message field.

    Hide response attribute Show response attribute object
    • text string Required

      Response text

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • code string Required
    • message string Required
POST /affiliate/landing_pg
curl \
 --request POST 'https://my.interserver.net/apiv2/affiliate/landing_pg' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"referrer_coupon":"exclusiveoffer","affiliate_dock_title":"Exclusive offer to viewers","affiliate_dock_description":"Use this coupon when placing an order to get the first month of hosting for only 1 penny."}'
curl \
 --request POST 'https://my.interserver.net/apiv2/affiliate/landing_pg' \
 --header "X-API-KEY: $API_KEY" \
 --header "Content-Type: multipart/form-data" \
 --form "referrer_coupon=exclusiveoffer" \
 --form "affiliate_dock_title=Exclusive offer to viewers" \
 --form "affiliate_dock_description=Use this coupon when placing an order to get the first month of hosting for only 1 penny."
Request examples
{
  "referrer_coupon": "exclusiveoffer",
  "affiliate_dock_title": "Exclusive offer to viewers",
  "affiliate_dock_description": "Use this coupon when placing an order to get the first month of hosting for only 1 penny."
}
Response examples (200)
{
  "text": "You were successfull."
}
Response examples (401)
{
  "code": "string",
  "message": "string"
}