curl --request POST \
--url https://services.leadconnectorhq.com/products/store/{storeId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"action": "include",
"productIds": [
"productId1",
"productId2"
]
}
'{
"status": true,
"message": "Successfully created"
}API to update the status of products in a particular store
curl --request POST \
--url https://services.leadconnectorhq.com/products/store/{storeId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Version: <version>' \
--data '
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"action": "include",
"productIds": [
"productId1",
"productId2"
]
}
'{
"status": true,
"message": "Successfully created"
}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"
Location Id or Agency Id
"6578278e879ad2646715ba9c"
location Action to include or exclude the product from the store
include, exclude "include"
Array of product IDs
["productId1", "productId2"]Was this page helpful?