WhoCPA API documentation

GET https://whocpa.asia/api/offercategory

Returns a list of categories of offers used in the WhoCPA system

Request parameters


Request example

GET https://whocpa.asia/api/offercategory/

Response description

The objects field of the response contains a list of category groups, with categories nested in them

    "201": { // Category group ID, not used in API    "name": "Online stores",     // Category Group Name    "categories": {                  // Categories of this group        ...
        "4": "Products for children",     // Category ID: category name        ...