Skip to main content
POST
/
company
/
products
/
categories
Add/modify products' category
curl --request POST \
  --url https://api.altera.co/company/products/categories \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "CompanyProductCategory_Id": 15451,
  "CompanyProductCategoryName": "Youth",
  "enabled": false
}'
{
  "result": "OK",
  "data": {
    "categoryId": 15451
  }
}

Authorizations

Authorization
string
header
required

OpenApi Key created within Altera.app for a certain company

Body

application/json
CompanyProductCategoryName
string
required
enabled
boolean
required
CompanyProductCategory_Id
integer

Required if performing update

Response

200 - application/json

OK

result
string
default:OK
data
object