Update product display priorities in store
API to set the display priority of products in a store
POST
/
products
/
store
/
{storeId}
/
priority
Update product display priorities in store
curl --request POST \
--url https://services.leadconnectorhq.com/products/store/{storeId}/priority \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"products": [
"<array>"
]
}
'const options = {
method: 'POST',
headers: {Version: '<version>', 'Content-Type': 'application/json'},
body: JSON.stringify({altId: '6578278e879ad2646715ba9c', altType: 'location', products: ['<array>']})
};
fetch('https://services.leadconnectorhq.com/products/store/{storeId}/priority', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/products/store/{storeId}/priority"
payload = {
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"products": ["<array>"]
}
headers = {
"Version": "<version>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"statusCode": 400,
"message": "Bad Request"
}{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}Body
application/json
Response
Successfully updated display priorities
Last modified on March 8, 2026
Was this page helpful?
Update product display priorities in store
curl --request POST \
--url https://services.leadconnectorhq.com/products/store/{storeId}/priority \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"products": [
"<array>"
]
}
'const options = {
method: 'POST',
headers: {Version: '<version>', 'Content-Type': 'application/json'},
body: JSON.stringify({altId: '6578278e879ad2646715ba9c', altType: 'location', products: ['<array>']})
};
fetch('https://services.leadconnectorhq.com/products/store/{storeId}/priority', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/products/store/{storeId}/priority"
payload = {
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"products": ["<array>"]
}
headers = {
"Version": "<version>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"statusCode": 400,
"message": "Bad Request"
}{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}