SponsoredProductAds V1
Update campaign
Changed onPartially updates a campaign using JSON Merge Patch (RFC 7386). Only include the fields you want to change; omitted fields remain unchanged. Setting a nullable field to null clears its value.
patch/v1/sponsored-product-ads/campaigns/{campaignId}
Request
- Base URLhttps://api.otto.market
- URLhttps://api.otto.market/v1/sponsored-product-ads/campaigns/{campaignId}
- AuthHTTP bearer
Path parameters
campaignIdstring uuid required
Example:00000001-0000-4000-8000-000000000001
Unique campaign identifier.
Request body
Example request
{
"name": "My awesome campaign",
"startDate": "2026-04-28",
"endDate": "2026-10-28"
}Response
Campaign update accepted.
Example response
{
"_links": {
"self": {
"href": "https://api.otto.market/v1/sponsored-product-ads/campaigns/00000001-0000-4000-8000-000000000001"
},
"change-request": {
"href": "https://api.otto.market/v1/sponsored-product-ads/campaigns/00000001-0000-4000-8000-000000000001"
}
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking