- Edit a Product Category
Search products and categories
Get Products
Edit Products
Delete Items
Get a list of products
Create product
Example of a request to get categories
Example of a request to get the composition of a category
Get a list of product categories by ID
Create a Product Category
Delete a Product Category
Get a list of product categories
Edit a Product Category
The method allows you to edit the product category
Security
BearerPartnerUser
Parent category ID (optional, but can be 0 or null if you don't need to specify the parent category)
Example:123456
- Mock serverhttps://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/product_categories/{category_id}
- Productionhttps://api.alteg.io/api/v1/locations/{location_id}/product_categories/{category_id}
curl -i -X PUT \
'https://developer.alteg.io/_mock/en/b2b-v1/openapi/locations/{location_id}/product_categories/{category_id}' \
-H 'Accept: application/vnd.api.v2+json' \
-H 'Authorization: Bearer <YOUR_Bearer {PartnerToken}, User {UserToken}_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"title": "Manicure",
"parent_category_id": 123456,
"article": "123article",
"comment": "Category of products for manicure"
}'Response
{ "success": true, "data": { "id": 123456, "title": "Manicure", "parent_category_id": 123457 }, "meta": [] }