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 MethodPOST
URLStagehttps://api.qa2.ananastest.com/product/api/v1/merchant-integration/product/publish
Productionhttps://api.ananas.rs/product/api/v1/merchant-integration/product/publish
HTTP Headers
Header nameHeader value
AuthorizationBearer {access_token}
Request Body:
Fields nameTypeDescriptionRequired
/List<Integer>Merchant inventory idsYes

Example of request body:

Click to copy
Success!
[
 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 nameTypeDescription
idUUIDProgress id which can be used to track progress

Example of response:

Click to copy
Success!
    {
        "id": "c52813ec-f69b-4202-bb03-0a2534c93781"
    }
Copyright © Ananas 2023. All right reserved.