Publish products in bulk
POST REST API request that requires a JSON body with authorization token in order to acquire, publish desired products.
In order for a product to be visible on our Customer Portal, it needs to be published.
Request
Request:HTTP Method | POST | |||||
URL | Stage | https://api.qa2.ananastest.com/product/api/v1/merchant-integration/product/publish | ||||
Production | https://api.ananas.rs/product/api/v1/merchant-integration/product/publish | |||||
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"
}