Create or update up to 200 products by SKU
curl --request POST \
--url https://wisepim.com/api/public/v1/products/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"sku": "<string>",
"ean": "<string>",
"upc": "<string>",
"manufacturer_part_number": "<string>",
"brand": "<string>",
"name": "<string>",
"name_long": "<string>",
"description": "<string>",
"short_description": "<string>",
"name_localized": {},
"description_localized": {},
"short_description_localized": {},
"status": "<string>",
"meta_title": "<string>",
"meta_description": "<string>",
"meta_keywords": "<string>",
"price": "<string>",
"special_price": "<string>",
"special_price_start_date": "2023-11-07T05:31:56Z",
"special_price_end_date": "2023-11-07T05:31:56Z",
"category_ids": [
123
],
"attributes": {}
}
]
}
'import requests
url = "https://wisepim.com/api/public/v1/products/batch"
payload = { "items": [
{
"sku": "<string>",
"ean": "<string>",
"upc": "<string>",
"manufacturer_part_number": "<string>",
"brand": "<string>",
"name": "<string>",
"name_long": "<string>",
"description": "<string>",
"short_description": "<string>",
"name_localized": {},
"description_localized": {},
"short_description_localized": {},
"status": "<string>",
"meta_title": "<string>",
"meta_description": "<string>",
"meta_keywords": "<string>",
"price": "<string>",
"special_price": "<string>",
"special_price_start_date": "2023-11-07T05:31:56Z",
"special_price_end_date": "2023-11-07T05:31:56Z",
"category_ids": [123],
"attributes": {}
}
] }
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({
items: [
{
sku: '<string>',
ean: '<string>',
upc: '<string>',
manufacturer_part_number: '<string>',
brand: '<string>',
name: '<string>',
name_long: '<string>',
description: '<string>',
short_description: '<string>',
name_localized: {},
description_localized: {},
short_description_localized: {},
status: '<string>',
meta_title: '<string>',
meta_description: '<string>',
meta_keywords: '<string>',
price: '<string>',
special_price: '<string>',
special_price_start_date: '2023-11-07T05:31:56Z',
special_price_end_date: '2023-11-07T05:31:56Z',
category_ids: [123],
attributes: {}
}
]
})
};
fetch('https://wisepim.com/api/public/v1/products/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"index": 123,
"sku": "<string>",
"id": 123,
"action": "<string>"
}
],
"summary": {
"created": 123,
"updated": 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>",
"errors": [
{
"index": 123,
"code": "<string>",
"message": "<string>",
"sku": "<string>"
}
],
"code": "<string>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}Batch upsert products
POST /products/batch on the WISEPIM Public API: create or update up to 200 products by SKU in one atomic, idempotent call. Requires products:write.
POST
/
api
/
public
/
v1
/
products
/
batch
Create or update up to 200 products by SKU
curl --request POST \
--url https://wisepim.com/api/public/v1/products/batch \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"items": [
{
"sku": "<string>",
"ean": "<string>",
"upc": "<string>",
"manufacturer_part_number": "<string>",
"brand": "<string>",
"name": "<string>",
"name_long": "<string>",
"description": "<string>",
"short_description": "<string>",
"name_localized": {},
"description_localized": {},
"short_description_localized": {},
"status": "<string>",
"meta_title": "<string>",
"meta_description": "<string>",
"meta_keywords": "<string>",
"price": "<string>",
"special_price": "<string>",
"special_price_start_date": "2023-11-07T05:31:56Z",
"special_price_end_date": "2023-11-07T05:31:56Z",
"category_ids": [
123
],
"attributes": {}
}
]
}
'import requests
url = "https://wisepim.com/api/public/v1/products/batch"
payload = { "items": [
{
"sku": "<string>",
"ean": "<string>",
"upc": "<string>",
"manufacturer_part_number": "<string>",
"brand": "<string>",
"name": "<string>",
"name_long": "<string>",
"description": "<string>",
"short_description": "<string>",
"name_localized": {},
"description_localized": {},
"short_description_localized": {},
"status": "<string>",
"meta_title": "<string>",
"meta_description": "<string>",
"meta_keywords": "<string>",
"price": "<string>",
"special_price": "<string>",
"special_price_start_date": "2023-11-07T05:31:56Z",
"special_price_end_date": "2023-11-07T05:31:56Z",
"category_ids": [123],
"attributes": {}
}
] }
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({
items: [
{
sku: '<string>',
ean: '<string>',
upc: '<string>',
manufacturer_part_number: '<string>',
brand: '<string>',
name: '<string>',
name_long: '<string>',
description: '<string>',
short_description: '<string>',
name_localized: {},
description_localized: {},
short_description_localized: {},
status: '<string>',
meta_title: '<string>',
meta_description: '<string>',
meta_keywords: '<string>',
price: '<string>',
special_price: '<string>',
special_price_start_date: '2023-11-07T05:31:56Z',
special_price_end_date: '2023-11-07T05:31:56Z',
category_ids: [123],
attributes: {}
}
]
})
};
fetch('https://wisepim.com/api/public/v1/products/batch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"results": [
{
"index": 123,
"sku": "<string>",
"id": 123,
"action": "<string>"
}
],
"summary": {
"created": 123,
"updated": 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>",
"errors": [
{
"index": 123,
"code": "<string>",
"message": "<string>",
"sku": "<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
Reuse this key for retries of the same write. Scoped to this API key; retained until key deletion. Different requests with the same key return 409.
Required string length:
1 - 128Pattern:
^[!-~]+$Body
application/json
Required array length:
1 - 200 elementsShow child attributes
Show child attributes

