URL |
https://api_url/v1/product_category Replace api_url with the actual API hostname your account is currently in. |
Supported Methods | GET |
Description | Returns a firm's category |
Accepted Query Formats
GET /product[.format] | retrieve all categories |
GET /product/1[.format] | retrieve categories with ID = 1 |
Examples
Retrieve a single category in JSON format:
$ curl -i --header "VERSACCOUNTS_AUTHORIZATION:409696900e0b3f5a4297e3cd5823f734f0095e66" https://api_url/v1/product_category/1300.xml
Retrieve a single category in XML format:
$ curl -i --header "VERSACCOUNTS_AUTHORIZATION:409696900e0b3f5a4297e3cd5823f734f0095e66" https://api_url/v1/product_category/1300.xml
Retrieve all categories in XML format
$ curl -i --header "VERSACCOUNTS_AUTHORIZATION:409696900e0b3f5a4297e3cd5823f734f0095e66" https://api_url/v1/product_category.xml
Comments and Suggestions
0 comments
Please sign in to leave a comment.
Related articles