Update the store map axes
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/store-map/"
payload = { "store_map_axes": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({store_map_axes: '<string>'})
};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/store-map/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request PATCH \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/store-map/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"store_map_axes": "<string>"
}
'{
"store_map_axes": "<string>",
"store_map_axes_mode": "default",
"plan_text": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}Artifacts
Update the store map axes
Update the axes and their mode. When store_map_axes_mode is default, the axes
are cleared server-side. Requires admin permission.
PATCH
/
projects
/
{project_id}
/
artifacts
/
store-map
/
Update the store map axes
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/store-map/"
payload = { "store_map_axes": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({store_map_axes: '<string>'})
};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/store-map/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request PATCH \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/artifacts/store-map/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"store_map_axes": "<string>"
}
'{
"store_map_axes": "<string>",
"store_map_axes_mode": "default",
"plan_text": "<string>",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": "Authentication credentials were not provided."
}{
"error": "You do not have permission to perform this action."
}Authorizations
BearerAuthTokenAuth
Use Authorization: Bearer <token>. The token is either a user token / OAuth access
token, or a service-account API key (cfk_...). A key is valid on every endpoint and
acts as its service account, an organization member with per-store permissions.
Refused keys answer 403 with Invalid API key., API key revoked.,
API key expired. or API key disabled..
Path Parameters
UUID of the project
Body
application/json
Response
Updated
What the store is organized by; empty when mode is default.
Maximum string length:
2000Available options:
default, generated, custom The plan agents see (curator view), computed live from the catalog.