curl --request DELETE \
--url https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId} \
--header 'Authorization: <api-key>'import requests
url = "https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId}"
headers = {"Authorization": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: '<api-key>'}};
fetch('https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"action_id": "<string>",
"action_type": "FULFILL_REWARD",
"component_ids": [
"<string>"
],
"component_references": [
{
"component_id": "<string>",
"socket_names": [
"<string>"
]
}
],
"enabled": true,
"quality": "ALWAYS",
"amount": 123,
"code": "<string>",
"event_time": "2025-10-24T09:00:00.000Z",
"image": "<string>",
"instructions": "<string>",
"link": "<string>",
"message": "<string>",
"partner_reward_id": "<string>",
"reward_id": "<string>",
"success": "<string>"
}Delete a fulfill-reward action
Removes the fulfill-reward action from the specified campaign controller. Returns the deleted action record.
curl --request DELETE \
--url https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId} \
--header 'Authorization: <api-key>'import requests
url = "https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId}"
headers = {"Authorization": "<api-key>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: '<api-key>'}};
fetch('https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "DELETE",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.delete("https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.extole.io/v2/campaigns/{campaignId}/controllers/{controllerId}/actions/fulfill-rewards/{actionId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"action_id": "<string>",
"action_type": "FULFILL_REWARD",
"component_ids": [
"<string>"
],
"component_references": [
{
"component_id": "<string>",
"socket_names": [
"<string>"
]
}
],
"enabled": true,
"quality": "ALWAYS",
"amount": 123,
"code": "<string>",
"event_time": "2025-10-24T09:00:00.000Z",
"image": "<string>",
"instructions": "<string>",
"link": "<string>",
"message": "<string>",
"partner_reward_id": "<string>",
"reward_id": "<string>",
"success": "<string>"
}Response
Successful response
The enabled as configured: a literal value, or an expression (type:string) when defined dynamically. Buildtime expressions use ControllerBuildtimeContext.
The fulfillment amount, stored for reference only. It does not override the reward’s actual amount. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use RewardActionContext.
The reward code, that could be used in order to redeem the reward. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use RewardActionContext.
The event time as configured: a literal value, or an expression (type:string) when defined dynamically. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use RewardActionContext.
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?Z$"2025-10-24T09:00:00.000Z"
An image associated with the reward. E.g.: a brand image. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use RewardActionContext.
Instructions on how to redeem the reward. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use RewardActionContext.
A link associated with the reward. E.g.: a reward redemption link. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use RewardActionContext.
The partner’s reward identifier. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use RewardActionContext.
Was this page helpful?
