Unpublish products in bulk
POST REST API request that requires a JSON body with authorization token in order to acquire, unpublish desired products.
In order to hide a product from customers, it needs to be unpublished.
Request
Request:HTTP Method | POST | |||||
URL | Stage | https://api.qa2.ananastest.com/product/api/v1/merchant-integration/product/unpublish | ||||
Production | https://api.ananas.rs/product/api/v1/merchant-integration/product/unpublish | |||||
HTTP Headers |
|
Fields name | Type | Description | Required |
/ | List<Integer> | Merchant inventory ids | Yes |
Example of request body:
[
123456,
234567,
345678
]
Response
Request will process asynchronous, and progression of the process can be tracked from value that is given in response, but at this moment is not open to public use.
When request processing is finished, an email will be sent with information about affected products.
Response Body:Fields name | Type | Description |
id | UUID | Progress id which can be used to track progress |
Example of response:
{
"id": "c52813ec-f69b-4202-bb03-0a2534c93781"
}