Clinics can receive information about categories or prices for services in JSON format using a token that is generated in the Medflex personal account. For more information, visit swagger.
The XML format is used to provide partner services with information about prices for clinic services and reliable information about doctors.
The following is a description of the file being uploaded from the Medflex:
<yml_catalog partner="test_partner">
⠀⠀<shop>
⠀⠀⠀⠀<testPartnerId>00000000000000001</testPartnerId>
⠀⠀⠀⠀<name>Clinic «Тест»</name>
⠀⠀⠀⠀<categories />
⠀⠀⠀⠀<offers>
⠀⠀⠀⠀⠀⠀<offer id="1">
⠀⠀⠀⠀⠀⠀⠀⠀<name>Test service 1</name>
⠀⠀⠀⠀⠀⠀⠀⠀<categoryId />
⠀⠀⠀⠀⠀⠀⠀⠀<price>1000.00</price>
⠀⠀⠀⠀⠀⠀</offer>
⠀⠀⠀⠀⠀⠀<offer id="2">
⠀⠀⠀⠀⠀⠀⠀⠀<name>Initial appointment with a cosmetologist Test</name>
⠀⠀⠀⠀⠀⠀⠀⠀<categoryId /> <price>2000.00</price>
⠀⠀⠀⠀⠀⠀</offer>
⠀⠀⠀⠀</offers>
⠀⠀</shop>
</yml_catalog>