Meditroc/Farmadeals API - Stock Response

Meditroc and Farmadeals are compatible with the StockResponse protocol. You can consult our inventories like any other supplier; you just need to contact us to get an access.

You will receive an API key and a test account. Then you will be able to use the following URL:

https://api.meditroc.be/v2/service/stockresponse/YOURKEY

Meditroc and Farmadeals are using the same API endpoint.

Fields for protocol version and WSID are not meaningful, but if you must define them you can use these values: version = 10000 and WSID = 01.

The <Remark> field will contain links to view the announces. The structure is as follows:

For example, if a pharmacy (APB 000001) is looking for a box of CNK 1234567, one will use this URL:

https://api.meditroc.be/v2/service/stockresponse/YOURKEY?apb=0000010&products=1234567001
<Remark>
    <Link>http://www.meditroc.be?Announce/search/id_product/75084/type/offer&token=TOKENDECONNEXION</Link>
    <Results>
        <Result>
            <Id>14993</Id>
            <Link>http://www.meditroc.be?Announce/view/14993&token=TOKENDECONNEXION</Link>
            <Quantity>1</Quantity>
        </Result>
        <Result>
            <Id>18787</Id>
            <Link>http://www.meditroc.be?Announce/view/18787&token=TOKENDECONNEXION</Link>
            <Quantity>5</Quantity>
        </Result>
    </Results>
</Remark>

Useful Resources

Changelog