It allows you:
to get the product category list to use with API 'Products'.
create new product categories
update product categories
Columns that can be used as filters:
Language (eg: ”ro_RO”, ”en_EN”, ”bg_BG” etc) - if it is null or unprovided then the english is the base language for all fields.
Organization
Value
Name
Active
AttributeSet
Actions can be done:
list
create
update
URL: https://api.socratecloud.com/webapi/rest/product/category/list/{version}?startRow={0}&endRow={100}&accessToken={access_token}
Method: GET
Available filter parameters:
Organization
Value
Name
Active
AttributeSet
Return: JSON object with next format:
{
"data": [
{
"Organization": "Demo SRL",
"Created": "2007-08-22 08:30:19",
"CreatedBy": "System",
"Updated": "2014-01-16 15:07:12",
"UpdatedBy": "SuperUser",
"Active": true,
"Value": "Standard",
"Name": "Standard",
"Description": null,
"AttributeSet": null
}
],
"totalRows": 16
}
URL: https://api.socratecloud.com/webapi/rest/product/category/create/{version}?accessToken={access_token}
Method: POST
Return: category name for success or error message (start with "ERROR: ")
Data format:
{
"Organization": "Demo SRL",
"Active": true,
"Name": "Standard",
"Description": null,
"AttributeSet": null
}
URL: https://api.socratecloud.com/webapi/rest/product/category/update/{version}?accessToken={access_token}&Name={category_name}
Method: POST
Return: category name for success or error message (start with "ERROR: ")
Data format:
{
"Organization": "Demo SRL",
"Active": true,
"Name": "Standard",
"Description": null,
"AttributeSet": null
}