Bulk Update Products
API to bulk update products (price, availability, collections, delete)
POST
/
products
/
bulk-update
Bulk Update Products
curl --request POST \
--url https://services.leadconnectorhq.com/products/bulk-update \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"type": "bulk-update-price",
"productIds": [
"5f8d0d55b54764421b7156c1"
],
"filters": {
"collectionIds": [
"5f8d0d55b54764421b7156c1",
"5f8d0d55b54764421b7156c2"
],
"productType": "one-time",
"availableInStore": true,
"search": "blue t-shirt"
},
"availability": true,
"collectionIds": [
"<string>"
],
"currency": "USD"
}
'const options = {
method: 'POST',
headers: {Version: '<version>', 'Content-Type': 'application/json'},
body: JSON.stringify({
altId: '6578278e879ad2646715ba9c',
altType: 'location',
type: 'bulk-update-price',
productIds: ['5f8d0d55b54764421b7156c1'],
filters: {
collectionIds: ['5f8d0d55b54764421b7156c1', '5f8d0d55b54764421b7156c2'],
productType: 'one-time',
availableInStore: true,
search: 'blue t-shirt'
},
availability: true,
collectionIds: ['<string>'],
currency: 'USD'
})
};
fetch('https://services.leadconnectorhq.com/products/bulk-update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/products/bulk-update"
payload = {
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"type": "bulk-update-price",
"productIds": ["5f8d0d55b54764421b7156c1"],
"filters": {
"collectionIds": ["5f8d0d55b54764421b7156c1", "5f8d0d55b54764421b7156c2"],
"productType": "one-time",
"availableInStore": True,
"search": "blue t-shirt"
},
"availability": True,
"collectionIds": ["<string>"],
"currency": "USD"
}
headers = {
"Version": "<version>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": true,
"message": "Successfully created"
}{
"statusCode": 400,
"message": "Bad Request"
}{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}{
"statusCode": 422,
"message": [
"Unprocessable Entity"
],
"error": "Unprocessable Entity"
}Body
application/json
Last modified on March 8, 2026
Was this page helpful?
Bulk Update Products
curl --request POST \
--url https://services.leadconnectorhq.com/products/bulk-update \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"type": "bulk-update-price",
"productIds": [
"5f8d0d55b54764421b7156c1"
],
"filters": {
"collectionIds": [
"5f8d0d55b54764421b7156c1",
"5f8d0d55b54764421b7156c2"
],
"productType": "one-time",
"availableInStore": true,
"search": "blue t-shirt"
},
"availability": true,
"collectionIds": [
"<string>"
],
"currency": "USD"
}
'const options = {
method: 'POST',
headers: {Version: '<version>', 'Content-Type': 'application/json'},
body: JSON.stringify({
altId: '6578278e879ad2646715ba9c',
altType: 'location',
type: 'bulk-update-price',
productIds: ['5f8d0d55b54764421b7156c1'],
filters: {
collectionIds: ['5f8d0d55b54764421b7156c1', '5f8d0d55b54764421b7156c2'],
productType: 'one-time',
availableInStore: true,
search: 'blue t-shirt'
},
availability: true,
collectionIds: ['<string>'],
currency: 'USD'
})
};
fetch('https://services.leadconnectorhq.com/products/bulk-update', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/products/bulk-update"
payload = {
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"type": "bulk-update-price",
"productIds": ["5f8d0d55b54764421b7156c1"],
"filters": {
"collectionIds": ["5f8d0d55b54764421b7156c1", "5f8d0d55b54764421b7156c2"],
"productType": "one-time",
"availableInStore": True,
"search": "blue t-shirt"
},
"availability": True,
"collectionIds": ["<string>"],
"currency": "USD"
}
headers = {
"Version": "<version>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"status": true,
"message": "Successfully created"
}{
"statusCode": 400,
"message": "Bad Request"
}{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}{
"statusCode": 422,
"message": [
"Unprocessable Entity"
],
"error": "Unprocessable Entity"
}