Update keywords
curl --request PATCH \
--url https://wisepim.com/api/public/v1/keywords/{resource_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"term": "<string>",
"intent": "<string>",
"kw_type": "<string>",
"locale": "<string>",
"target_fields": [
"<string>"
],
"priority": 123,
"notes": "<string>",
"categories": [
123
]
}
'import requests
url = "https://wisepim.com/api/public/v1/keywords/{resource_id}"
payload = {
"term": "<string>",
"intent": "<string>",
"kw_type": "<string>",
"locale": "<string>",
"target_fields": ["<string>"],
"priority": 123,
"notes": "<string>",
"categories": [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({
term: '<string>',
intent: '<string>',
kw_type: '<string>',
locale: '<string>',
target_fields: ['<string>'],
priority: 123,
notes: '<string>',
categories: [123]
})
};
fetch('https://wisepim.com/api/public/v1/keywords/{resource_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"term": "<string>",
"intent": "<string>",
"kw_type": "<string>",
"locale": "<string>",
"target_fields": "<unknown>",
"priority": 123,
"notes": "<string>",
"categories": [
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 keywords
PATCH /keywords/. Required scopes: keywords:write.
PATCH
/
api
/
public
/
v1
/
keywords
/
{resource_id}
Update keywords
curl --request PATCH \
--url https://wisepim.com/api/public/v1/keywords/{resource_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"term": "<string>",
"intent": "<string>",
"kw_type": "<string>",
"locale": "<string>",
"target_fields": [
"<string>"
],
"priority": 123,
"notes": "<string>",
"categories": [
123
]
}
'import requests
url = "https://wisepim.com/api/public/v1/keywords/{resource_id}"
payload = {
"term": "<string>",
"intent": "<string>",
"kw_type": "<string>",
"locale": "<string>",
"target_fields": ["<string>"],
"priority": 123,
"notes": "<string>",
"categories": [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({
term: '<string>',
intent: '<string>',
kw_type: '<string>',
locale: '<string>',
target_fields: ['<string>'],
priority: 123,
notes: '<string>',
categories: [123]
})
};
fetch('https://wisepim.com/api/public/v1/keywords/{resource_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"term": "<string>",
"intent": "<string>",
"kw_type": "<string>",
"locale": "<string>",
"target_fields": "<unknown>",
"priority": 123,
"notes": "<string>",
"categories": [
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

