Update a rate card link
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/media-kits/{id}/rate-cards/{rateCardId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '{
"rank": 1
}'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({rank: 1})
};
fetch('https://beta.creatorcore.co/api/v2/media-kits/{id}/rate-cards/{rateCardId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/media-kits/{id}/rate-cards/{rateCardId}"
payload = { "rank": 1 }
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,
"link": {
"mediaKitId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rateCardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rank": 123
}
}Media kits
Update a rate card link
Updates a rate card link, including rank for reordering.
PATCH
/
api
/
v2
/
media-kits
/
{id}
/
rate-cards
/
{rateCardId}
Update a rate card link
curl --request PATCH \
--url https://beta.creatorcore.co/api/v2/media-kits/{id}/rate-cards/{rateCardId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'X-CreatorCore-Organization-Id: <api-key>' \
--data '{
"rank": 1
}'const options = {
method: 'PATCH',
headers: {
Authorization: 'Bearer <token>',
'X-CreatorCore-Organization-Id': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({rank: 1})
};
fetch('https://beta.creatorcore.co/api/v2/media-kits/{id}/rate-cards/{rateCardId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://beta.creatorcore.co/api/v2/media-kits/{id}/rate-cards/{rateCardId}"
payload = { "rank": 1 }
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,
"link": {
"mediaKitId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rateCardId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"rank": 123
}
}Authorizations
Was this page helpful?