Start a product file export
curl --request POST \
--url https://wisepim.com/api/public/v1/exports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"format": "csv",
"export_template_id": 4611686018427388000,
"preset_code": "<string>",
"use_default_template": true,
"product_ids": [
123
],
"skus": [
"<string>"
],
"category_id": 4611686018427388000,
"export_locales": [
"<string>"
],
"split_locale_files": false
}
'import requests
url = "https://wisepim.com/api/public/v1/exports"
payload = {
"format": "csv",
"export_template_id": 4611686018427388000,
"preset_code": "<string>",
"use_default_template": True,
"product_ids": [123],
"skus": ["<string>"],
"category_id": 4611686018427388000,
"export_locales": ["<string>"],
"split_locale_files": False
}
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({
format: 'csv',
export_template_id: 4611686018427388000,
preset_code: '<string>',
use_default_template: true,
product_ids: [123],
skus: ['<string>'],
category_id: 4611686018427388000,
export_locales: ['<string>'],
split_locale_files: false
})
};
fetch('https://wisepim.com/api/public/v1/exports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"task_id": "<string>",
"task_type": "<string>",
"status": "<string>",
"total_items": 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>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}Start an export
POST /exports: export the project’s products to CSV or Excel with a template, as a background job. Requires products:read and exports:execute.
POST
/
api
/
public
/
v1
/
exports
Start a product file export
curl --request POST \
--url https://wisepim.com/api/public/v1/exports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"format": "csv",
"export_template_id": 4611686018427388000,
"preset_code": "<string>",
"use_default_template": true,
"product_ids": [
123
],
"skus": [
"<string>"
],
"category_id": 4611686018427388000,
"export_locales": [
"<string>"
],
"split_locale_files": false
}
'import requests
url = "https://wisepim.com/api/public/v1/exports"
payload = {
"format": "csv",
"export_template_id": 4611686018427388000,
"preset_code": "<string>",
"use_default_template": True,
"product_ids": [123],
"skus": ["<string>"],
"category_id": 4611686018427388000,
"export_locales": ["<string>"],
"split_locale_files": False
}
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({
format: 'csv',
export_template_id: 4611686018427388000,
preset_code: '<string>',
use_default_template: true,
product_ids: [123],
skus: ['<string>'],
category_id: 4611686018427388000,
export_locales: ['<string>'],
split_locale_files: false
})
};
fetch('https://wisepim.com/api/public/v1/exports', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"task_id": "<string>",
"task_type": "<string>",
"status": "<string>",
"total_items": 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>"
}{
"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

