Skip to main content
PATCH
/
2026-01
/
marketing-solutions
/
marketplace-performance-outcomes
/
budgets
/
{budgetId}
/2026-01/marketing-solutions/marketplace-performance-outcomes/budgets/{budgetId}
curl --request PATCH \
  --url https://api.criteo.com/2026-01/marketing-solutions/marketplace-performance-outcomes/budgets/{budgetId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": "<string>",
  "campaignIds": [
    123
  ],
  "endDate": "<string>",
  "isSuspended": true,
  "startDate": "2023-11-07T05:31:56Z"
}
'
import requests

url = "https://api.criteo.com/2026-01/marketing-solutions/marketplace-performance-outcomes/budgets/{budgetId}"

payload = {
"amount": "<string>",
"campaignIds": [123],
"endDate": "<string>",
"isSuspended": True,
"startDate": "2023-11-07T05:31:56Z"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.patch(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
amount: '<string>',
campaignIds: [123],
endDate: '<string>',
isSuspended: true,
startDate: '2023-11-07T05:31:56Z'
})
};

fetch('https://api.criteo.com/2026-01/marketing-solutions/marketplace-performance-outcomes/budgets/{budgetId}', 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.criteo.com/2026-01/marketing-solutions/marketplace-performance-outcomes/budgets/{budgetId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'amount' => '<string>',
'campaignIds' => [
123
],
'endDate' => '<string>',
'isSuspended' => true,
'startDate' => '2023-11-07T05:31:56Z'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"strings"
"net/http"
"io"
)

func main() {

url := "https://api.criteo.com/2026-01/marketing-solutions/marketplace-performance-outcomes/budgets/{budgetId}"

payload := strings.NewReader("{\n \"amount\": \"<string>\",\n \"campaignIds\": [\n 123\n ],\n \"endDate\": \"<string>\",\n \"isSuspended\": true,\n \"startDate\": \"2023-11-07T05:31:56Z\"\n}")

req, _ := http.NewRequest("PATCH", url, payload)

req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.patch("https://api.criteo.com/2026-01/marketing-solutions/marketplace-performance-outcomes/budgets/{budgetId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"amount\": \"<string>\",\n \"campaignIds\": [\n 123\n ],\n \"endDate\": \"<string>\",\n \"isSuspended\": true,\n \"startDate\": \"2023-11-07T05:31:56Z\"\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.criteo.com/2026-01/marketing-solutions/marketplace-performance-outcomes/budgets/{budgetId}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"amount\": \"<string>\",\n \"campaignIds\": [\n 123\n ],\n \"endDate\": \"<string>\",\n \"isSuspended\": true,\n \"startDate\": \"2023-11-07T05:31:56Z\"\n}"

response = http.request(request)
puts response.read_body
{
  "id": "16501666",
  "sellerId": "10656107",
  "campaignIds": [
    436017
  ],
  "budgetType": "Capped",
  "amount": 462.47,
  "endDate": "2026-04-30",
  "spend": 117.59,
  "status": "Current",
  "isSuspended": false
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

budgetId
string<int64>
required

Id of the budget

Body

application/json

Base data used to update a seller's budget

amount
string
campaignIds
integer<int32>[]
endDate
string
isSuspended
boolean
startDate
string<date-time>

Response

200 - application/json

Success

A budget defines spending constraints for a seller across one or more campaigns. Each seller can have one active budget per time period.

amount
number<double> | null

Budget amount in the advertiser's currency

budgetType
string

Type of budget: 'Daily' (daily cap), 'Capped' (lifetime with fixed amount), or 'Uncapped' (lifetime with no limit)

campaignIds
integer<int32>[]

List of campaign IDs this budget applies to

endDate
string

End date of the budget period (format: YYYY-MM-DD), or empty string if open-ended

id
string

Unique budget identifier

isSuspended
boolean

Whether the budget has been manually suspended by the partner

sellerId
string

Identifier of the seller this budget belongs to

spend
number<double> | null

Amount spent against this budget so far, or null if not available

startDate
string<date>

Start date of the budget period (format: YYYY-MM-DD)

status
enum<string>

Status of a seller budget

Available options:
Archived,
Current,
Scheduled