Action to include/exclude the product in store
POST/products/store/:storeId
API to update the status of products in a particular store
Request
Version stringrequired
API Version
Available options
v3storeId stringrequired
Products related to the store
- application/json
- Body
- Example (auto)
Bodyrequired
altIdstringrequired
Location Id or Agency Id
altTypestringrequired
Available options
locationactionstringrequired
Action to include or exclude the product from the store
Available options
includeexcludeproductIdsstring[]required
Array of product IDs
{
"altId": "6578278e879ad2646715ba9c",
"altType": "location",
"action": "include",
"productIds": [
"productId1",
"productId2"
]
}
Successful response
- application/json
- Schema
- Example (auto)
Schema
statusbooleanrequired
Status of api action
messagestring
Success message
{
"status": true,
"message": "Successfully created"
}