Update a list
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/lists/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '{}'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://beta.creatorcore.co/api/v2/lists/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/lists/{id}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"list": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"slug": "<string>",
"favorited": true,
"importedRateDeliverableTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"shareSettings": {
"enableListView": true,
"enableGridView": true,
"enableApprovals": true,
"enableFeedback": true,
"showLocation": true,
"showAverageViews": true,
"showRates": true,
"showListRatesTotal": true,
"showEngRate": true,
"showAge": true,
"showAudienceDemographics": true,
"showMediaKit": true,
"showTags": true,
"showNotes": true,
"showTotalAudience": true,
"platforms": [
"<string>"
]
},
"createdBy": "<string>",
"createdByName": "<string>",
"owner": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"avatarUrl": "<string>"
},
"categories": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"color": "#1F3CEF",
"sortOrder": 123,
"visible": true
}
],
"budget": "<string>",
"currency": "AED",
"partnerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"partner": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"logo": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"folders": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
]
}
}Lists
Update a list
Updates list metadata (name, slug, description, and related fields).
PATCH
/
api
/
v2
/
lists
/
{id}
Update a list
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/lists/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '{}'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({})
};
fetch('https://beta.creatorcore.co/api/v2/lists/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/lists/{id}"
payload = {}
headers = {
"Authorization": "Bearer <token>",
"X-CreatorCore-Organization-Id": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"success": true,
"list": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"slug": "<string>",
"favorited": true,
"importedRateDeliverableTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"shareSettings": {
"enableListView": true,
"enableGridView": true,
"enableApprovals": true,
"enableFeedback": true,
"showLocation": true,
"showAverageViews": true,
"showRates": true,
"showListRatesTotal": true,
"showEngRate": true,
"showAge": true,
"showAudienceDemographics": true,
"showMediaKit": true,
"showTags": true,
"showNotes": true,
"showTotalAudience": true,
"platforms": [
"<string>"
]
},
"createdBy": "<string>",
"createdByName": "<string>",
"owner": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"avatarUrl": "<string>"
},
"categories": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"color": "#1F3CEF",
"sortOrder": 123,
"visible": true
}
],
"budget": "<string>",
"currency": "AED",
"partnerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"partner": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"logo": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"folders": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>"
}
]
}
}Authorizations
bearerOrgApiKey & orgIdHeadercookieAuth
Body
application/json
Was this page helpful?