Replace product profile
curl --request PUT \
--url https://developer.creao.ai/v1/product-profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"persona": "<string>",
"brand_context": "<string>"
}
'const url = 'https://developer.creao.ai/v1/product-profile';
const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({persona: '<string>', brand_context: '<string>'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://developer.creao.ai/v1/product-profile"
payload = {
"persona": "<string>",
"brand_context": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"persona": "<string>",
"brand_context": "<string>"
}Product Profile
Replace product profile
Replace the account Super Agent product profile.
PUT
/
v1
/
product-profile
Replace product profile
curl --request PUT \
--url https://developer.creao.ai/v1/product-profile \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"persona": "<string>",
"brand_context": "<string>"
}
'const url = 'https://developer.creao.ai/v1/product-profile';
const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({persona: '<string>', brand_context: '<string>'})
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://developer.creao.ai/v1/product-profile"
payload = {
"persona": "<string>",
"brand_context": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text){
"persona": "<string>",
"brand_context": "<string>"
}Authorizations
bearerAuthapiKeyQuery
Account API key from Developer Console. Keys start with cr_sk_.
Body
application/json