curl --request POST \
--url https://services.leadconnectorhq.com/products/store/{storeId}/priority \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"products": [
"<array>"
]
}
'{
"statusCode": 400,
"message": "Bad Request"
}API to set the display priority of products in a store
curl --request POST \
--url https://services.leadconnectorhq.com/products/store/{storeId}/priority \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"products": [
"<array>"
]
}
'{
"statusCode": 400,
"message": "Bad Request"
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28 Products related to the store
"3SwdhCu3svxI8AKsPJt6"
Successfully updated display priorities
Was this page helpful?