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
Key | Datatype | Required | Description |
---|
fields | string | | (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"}
Key | Datatype | Required | Description |
---|
Pardot-Business-Unit-Id | string | | |