Check if EAN exists
PUT REST API request that requires a JSON body with authorization token in order to acquire, edit desired product.
Request
Request:HTTP Method | POST | |||||
URL | Stage | https://api.stage.ananastest.com/product/api/v1/merchant- integration/ean/exists | ||||
Production | https://api.ananas.rs/product/api/v1/merchant-integration/ean/exists | |||||
HTTP Headers |
|
The request body represents an array of EANs.
Example of request body:
[
"088280476892",
"757670268125",
"875441735984"
];
Response
The endpoint will return status 200 with key-value object representing whether the EAN exists or not.
Response Body:The response body represents an object with key-value pair (EAN:BOOLEAN)
Example of response:
[
{
"088280476892": true,
"757670268125": false,
"875441735984": true,
},
];