Update

PATCH https://{{domain}}/api/v5/objects/custom-redirects/:id?fields=id,salesforceId,folderId,name,destinationUrl,campaignId,trackerDomainId,vanityUrlPath,vanityUrl,trackedUrl,url,gaSource,gaMedium,gaTerm,gaContent,gaCampaign,bitlyIsPersonalized,bitlyShortUrl,createdAt,updatedAt,createdById,updatedById,isDeleted

Request Params

KeyDatatypeRequiredDescription
fieldsstring(required) CustomRedirect fields to return

Request Body

{"folderId"=>0, "name"=>"name value", "destinationUrl"=>"https://example.com/url/path.html", "campaignId"=>0, "trackerDomainId"=>0, "vanityUrlPath"=>"https://example.com/url/path.html", "gaSource"=>"gaSource value", "gaMedium"=>"gaMedium value", "gaTerm"=>"gaTerm value", "gaContent"=>"gaContent value", "gaCampaign"=>"gaCampaign value"}

HEADERS

KeyDatatypeRequiredDescription
Pardot-Business-Unit-Idstring