curl --request POST \
--url https://wisepim.com/api/public/v1/export-templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"code": "<string>"
}
'import requests
url = "https://wisepim.com/api/public/v1/export-templates"
payload = {
"name": "<string>",
"code": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', code: '<string>'})
};
fetch('https://wisepim.com/api/public/v1/export-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"name": "<string>",
"code": "<string>",
"description": "<string>",
"target_platform": "<string>",
"include_product_fields": "<unknown>",
"column_mappings": "<unknown>",
"export_locale": "<string>",
"additional_locales": "<unknown>",
"attribute_layout": "<string>",
"max_attribute_slots": 123,
"feature_field_mapping": "<unknown>",
"promoted_attribute_columns": "<unknown>",
"category_columns": "<unknown>",
"is_default": true,
"is_active": true,
"families": [
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>"
}Create export-templates
POST /export-templates. Required scopes: export-templates:write.
curl --request POST \
--url https://wisepim.com/api/public/v1/export-templates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"code": "<string>"
}
'import requests
url = "https://wisepim.com/api/public/v1/export-templates"
payload = {
"name": "<string>",
"code": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({name: '<string>', code: '<string>'})
};
fetch('https://wisepim.com/api/public/v1/export-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"name": "<string>",
"code": "<string>",
"description": "<string>",
"target_platform": "<string>",
"include_product_fields": "<unknown>",
"column_mappings": "<unknown>",
"export_locale": "<string>",
"additional_locales": "<unknown>",
"attribute_layout": "<string>",
"max_attribute_slots": 123,
"feature_field_mapping": "<unknown>",
"promoted_attribute_columns": "<unknown>",
"category_columns": "<unknown>",
"is_default": true,
"is_active": true,
"families": [
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
Config for numbered feature columns. Two source modes: {'source': 'short_description', 'max_slots': 20, 'column_prefix': 'ITEM_FEATURES_', 'split_on': 'newline'} splits a product field by delimiter; {'source': 'attributes', 'attribute_prefix': 'feature_', 'max_slots': 20, 'column_prefix': 'ITEM_FEATURES_'} reads dedicated feature_N attributes from the PAV store.
Response
Created
Config for numbered feature columns. Two source modes: {'source': 'short_description', 'max_slots': 20, 'column_prefix': 'ITEM_FEATURES_', 'split_on': 'newline'} splits a product field by delimiter; {'source': 'attributes', 'attribute_prefix': 'feature_', 'max_slots': 20, 'column_prefix': 'ITEM_FEATURES_'} reads dedicated feature_N attributes from the PAV store.

