Update attribute-groups
curl --request PATCH \
--url https://wisepim.com/api/public/v1/attribute-groups/{resource_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"name_localized": {},
"code": "<string>",
"sort_order": 123
}
'import requests
url = "https://wisepim.com/api/public/v1/attribute-groups/{resource_id}"
payload = {
"name": "<string>",
"name_localized": {},
"code": "<string>",
"sort_order": 123
}
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({name: '<string>', name_localized: {}, code: '<string>', sort_order: 123})
};
fetch('https://wisepim.com/api/public/v1/attribute-groups/{resource_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"name": "<string>",
"name_localized": "<unknown>",
"code": "<string>",
"sort_order": 123,
"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>"
}Update attribute-groups
PATCH /attribute-groups/. Required scopes: attribute-groups:write.
PATCH
/
api
/
public
/
v1
/
attribute-groups
/
{resource_id}
Update attribute-groups
curl --request PATCH \
--url https://wisepim.com/api/public/v1/attribute-groups/{resource_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"name_localized": {},
"code": "<string>",
"sort_order": 123
}
'import requests
url = "https://wisepim.com/api/public/v1/attribute-groups/{resource_id}"
payload = {
"name": "<string>",
"name_localized": {},
"code": "<string>",
"sort_order": 123
}
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({name: '<string>', name_localized: {}, code: '<string>', sort_order: 123})
};
fetch('https://wisepim.com/api/public/v1/attribute-groups/{resource_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"name": "<string>",
"name_localized": "<unknown>",
"code": "<string>",
"sort_order": 123,
"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.
Headers
Body
application/json
Response
OK

