Partner API
Use the XML interfaces we provide to recreate the shop.nebobot.ru product catalog with a custom theme on your website.
More information about the shop.nebobot.ru partner program is available in Info.
Categories list
Request format
Request URL | https://plati.io/xml/sections.asp |
---|---|
Method: | POST |
Request data: |
<digiseller.request> <guid_agent></guid_agent> <id_catalog>1</id_catalog> <lang>en-US</lang> <encoding></encoding> </digiseller.request> |
Request parameters
Name | Use | Comment |
---|---|---|
guid_agent | your Partner UID | You need to log in or register as a partner using the form on the right. |
id_catalog | category id: EBooks — 1 Software — 2 Activation keys — 10 Digital Products — 138 |
integer |
lang | ru-RU | en-US | |
encoding | utf-8 |
Response format
Response sample |
<digiseller.response> <retval></retval> <retdesc></retdesc> <id_catalog></id_catalog> <name_catalog></name_catalog> <cnt_goods></cnt_goods> ... <folder id=> <name_folder></name_folder> <cnt_goods></cnt_goods> <section id=> <name_section></name_section> <cnt_goods></cnt_goods> </section> ... </folder> ... <section id=> <name_section></name_section> <cnt_goods></cnt_goods> </section> ... </digiseller.response> |
---|
Response parameters
Name | Use | Comment |
---|---|---|
retval | result code |
0 — request successfully processed
-1 — missing or invalid parameter is specified (guid_agent) -2 — missing or invalid parameter is specified (id_catalog) |
retdesc | description of result code | |
id_catalog | category id | |
name_catalog | category name | |
cnt_goods | number of items of category | |
folder | parameters of subcategory | id — subcategory ID |
folder\name_folder | subcategory name | |
folder\cnt_goods | number of items of subcategory | |
folder\section | parameters of category | id — category id |
folder\section\name_section | category name | |
folder\section\cnt_goods | number of items of category |