Update Product Visibility
PUT {{baseUrlMerchant}}/products/visibility
Description
Update the visibility status of products.
Request
- Headers:
- Content-Type: application/json
- Authorization: Bearer (Replace with the actual authorization token)
- URL:
{{baseUrlMerchant}}/products/visibility
Sample Request
curl --location -g --request PUT '{{baseUrl}}/products/visibility' \
--header 'tenantId: <string>' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data '{
"visibility": "<boolean>",
"businessIds": [
"<string>",
"<string>"
],
"productIds": [
"<string>",
"<string>"
]
}'
Example Response
{
"message": "<string>",
"data": {},
"meta": {
"currentPage": "<long>",
"from": "<long>",
"to": "<long>",
"perPage": "<long>",
"total": "<long>",
"lastPage": "<long>"
}
}
LANGUAGE
CURL REQUEST
curl --request PUT \
--url /products/visibility \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!