Skip to content

Download hierarchies as CSV

Request

GET https://api.zoined.com/v2/download/hierarchies.csv?limit=1000&offset=0&category_id=5401&hierarchy_key=product

Security
bearerAuth
Query
limitnumber

How many entries to return

Example:limit=1000
offsetnumber

Which offset to return data from

Example:offset=0
category_idstring

Returns data of categories based on the given id

Example:category_id=5401
hierarchy_keystring

Returns data of given hierarchies only

Example:hierarchy_key=product
curl -i -X GET \
  'https://zapi-api.zoined.com/_mock/v2/download/hierarchies.csv?limit=1000&offset=0&category_id=5401&hierarchy_key=product' \
  -H 'Authorization: Bearer <YOUR_token_HERE>'

Responses

Request has been processed successfully.

Headers

  • Content-Type: application/csv
Bodyapplication/csv
Response
hierarchy_name;category_id;category_name;parent_id
product;1234; Shoes;123