Read complete attributes configuration
curl --request GET \
--url https://wisepim.com/api/public/v1/attributes/{attribute_id}/configuration \
--header 'Authorization: Bearer <token>'import requests
url = "https://wisepim.com/api/public/v1/attributes/{attribute_id}/configuration"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://wisepim.com/api/public/v1/attributes/{attribute_id}/configuration', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": "<string>",
"label": "<string>",
"label_localized": "<unknown>",
"attribute_type": "<string>",
"attribute_group": 1,
"is_required": true,
"is_unique": true,
"is_filterable": true,
"is_searchable": true,
"is_visible": true,
"is_localizable": true,
"sort_order": 123,
"default_value": "<unknown>",
"validation_rules": "<unknown>",
"options": "<unknown>",
"operations": "<unknown>",
"ai_enrichable": true,
"uom_code_set": 1,
"value_code_set": 1,
"default_unit_code": "<string>",
"allow_new_options_on_import": true,
"allow_new_options_from_ai": true,
"id": 123
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>",
"detail": [
{}
]
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}Read complete attributes configuration
GET /attributes//configuration. Required scopes: attributes:read.
GET
/
api
/
public
/
v1
/
attributes
/
{attribute_id}
/
configuration
Read complete attributes configuration
curl --request GET \
--url https://wisepim.com/api/public/v1/attributes/{attribute_id}/configuration \
--header 'Authorization: Bearer <token>'import requests
url = "https://wisepim.com/api/public/v1/attributes/{attribute_id}/configuration"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://wisepim.com/api/public/v1/attributes/{attribute_id}/configuration', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": "<string>",
"label": "<string>",
"label_localized": "<unknown>",
"attribute_type": "<string>",
"attribute_group": 1,
"is_required": true,
"is_unique": true,
"is_filterable": true,
"is_searchable": true,
"is_visible": true,
"is_localizable": true,
"sort_order": 123,
"default_value": "<unknown>",
"validation_rules": "<unknown>",
"options": "<unknown>",
"operations": "<unknown>",
"ai_enrichable": true,
"uom_code_set": 1,
"value_code_set": 1,
"default_unit_code": "<string>",
"allow_new_options_on_import": true,
"allow_new_options_from_ai": true,
"id": 123
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>",
"detail": [
{}
]
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}Authorizations
Use a project API key from Settings > API Access. Send it as Authorization: Bearer wpk_.... See authentication and scopes for setup and permissions.
Response
OK

