curl --request POST \
--url https://wisepim.com/api/public/v1/products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sku": "<string>"
}
'import requests
url = "https://wisepim.com/api/public/v1/products"
payload = { "sku": "<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({sku: '<string>'})
};
fetch('https://wisepim.com/api/public/v1/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": 123,
"sku": "<string>",
"name": "<string>",
"name_long": "<string>",
"name_localized": {},
"description_localized": {},
"short_description_localized": {},
"status": "<string>",
"product_type": "<string>",
"category_ids": [
123
],
"attributes": [
{
"code": "<string>",
"label": "<string>",
"type": "<string>",
"value": "<unknown>",
"unit": "<string>"
}
],
"version": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"ean": "<string>",
"upc": "<string>",
"manufacturer_part_number": "<string>",
"brand": "<string>",
"description": "<string>",
"short_description": "<string>",
"parent_id": 123,
"family": {
"id": 123,
"code": "<string>",
"name": "<string>"
},
"price": "<string>",
"special_price": "<string>",
"special_price_start_date": "2023-11-07T05:31:56Z",
"special_price_end_date": "2023-11-07T05:31:56Z",
"main_image": "<string>",
"meta_title": "<string>",
"meta_description": "<string>",
"meta_keywords": "<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>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>",
"detail": [
{}
]
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>"
}Create a product
POST /products on the WISEPIM Public API: create one product by SKU with content, prices, SEO fields, categories and attributes. Requires products:write.
curl --request POST \
--url https://wisepim.com/api/public/v1/products \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sku": "<string>"
}
'import requests
url = "https://wisepim.com/api/public/v1/products"
payload = { "sku": "<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({sku: '<string>'})
};
fetch('https://wisepim.com/api/public/v1/products', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": 123,
"sku": "<string>",
"name": "<string>",
"name_long": "<string>",
"name_localized": {},
"description_localized": {},
"short_description_localized": {},
"status": "<string>",
"product_type": "<string>",
"category_ids": [
123
],
"attributes": [
{
"code": "<string>",
"label": "<string>",
"type": "<string>",
"value": "<unknown>",
"unit": "<string>"
}
],
"version": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"ean": "<string>",
"upc": "<string>",
"manufacturer_part_number": "<string>",
"brand": "<string>",
"description": "<string>",
"short_description": "<string>",
"parent_id": 123,
"family": {
"id": 123,
"code": "<string>",
"name": "<string>"
},
"price": "<string>",
"special_price": "<string>",
"special_price_start_date": "2023-11-07T05:31:56Z",
"special_price_end_date": "2023-11-07T05:31:56Z",
"main_image": "<string>",
"meta_title": "<string>",
"meta_description": "<string>",
"meta_keywords": "<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>"
}{
"error": "<string>",
"request_id": "<string>",
"code": "<string>",
"detail": [
{}
]
}{
"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.
1 - 128^[!-~]+$Body
1 - 25525512255255500500Locale code → name, e.g. {"nl": "Boormachine"}.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
One of active, inactive, pending, archived.
255255Decimal string with at most two decimals ("19.99") or an integer. Null clears it.
Decimal string with at most two decimals ("14.99") or an integer. Null clears it.
Replaces the product's category set. Every id must belong to this project.
200Attribute values keyed by attribute code. A value is a scalar or list, or {"value": ..., "unit": "kg"}; null removes the value. Only the codes sent are touched.
Response
Created
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Decimal string, e.g. "19.99".
Decimal string, e.g. "14.99".

