/
Categories export

Categories export

The function pages/export (<http://<DOMAIN>>/api/pages/export/)

Parameters:

  • token - authorisation key obtained through the auth function

  • parent - parent section relative to which pages should be searched (optional). Default is 0 (root partition). You can select any partition as parent

Response:

  • status - status of the function execution

    • OK - all records were updated successfully

    • EMPTY - the query returned no results

  • response.pages - list of pages

  • response.pages[i].id - unique page identifier

  • response.pages[i].parent - parent section identifier

  • response.pages[i].title - array of section titles, where the array key is the language in which the title is specified.

  • response.pages[i].discount - amount of discount for the section in percent

 

Query Example (http://<DOMAIN>/api/pages/export/):

{ "token": "68c0a0142b175f711dc8143dbedb757c", "parent": 97 }

Response example:

{ "status": "OK", "response": { "pages": [ { "id": 993, "parent": 97, "title": { "en": "Brands", "ro": "Mărci" }, "discount": 10 }, { "id": 1121, "parent": 97, "title": { "en": "iPhone 5s", "ro": "" } }, { "id": 1122, "parent": 97, "title": { "en": "iPad Air 2", "ro": "" } }, { "id": 1123, "parent": 97, "title": { "en": "iPod Nano", "ro": "" } }, { "id": 1124, "parent": 97, "title": { "en": "MacBook Air", "ro": "" } } ] } }

 

Related content

Export of stickers/icons
Export of stickers/icons
More like this
Delivery types export
Delivery types export
More like this
Экспорт категорий
Экспорт категорий
More like this
Експорт категорій
Експорт категорій
More like this
Export of payment options
Export of payment options
More like this