DELETE /api/sales/categories/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
Category removed successfully
{ "id": "text" }
""
0
25
asc
false
GET /api/sales/categories HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
OK
{ "currentPage": 1, "perPage": 1, "total": 1, "items": [ { "id": "text", "root_id": "text", "name": "text", "active": true, "characteristics": "text", "seo_title": "text", "seo_description": "text", "seo_meta_keywords": [ "text" ], "order": 1, "image_resource_id": "text", "attributes": { "ANY_ADDITIONAL_PROPERTY": {} } } ] }
GET /api/sales/categories/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Accept: */*
{ "id": "text", "root_id": "text", "name": "text", "active": true, "characteristics": "text", "seo_title": "text", "seo_description": "text", "seo_meta_keywords": [ "text" ], "order": 1, "specifications": [ { "name": "text", "items": [ { "id": "text", "category_id": "text", "name": "text", "type": "text", "values": [ "text" ], "is_searchable": true } ] } ], "image_resource_id": "text", "attributes": { "ANY_ADDITIONAL_PROPERTY": {} } }
PUT /api/sales/categories/{id} HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 341 { "root_id": "text", "name": "text", "active": true, "characteristics": "text", "seo_title": "text", "seo_description": "text", "seo_meta_keywords": [ "text" ], "specifications": [ { "name": "text", "items": [ { "id": "text", "name": "text", "type": "text", "values": [ "text" ], "is_searchable": true } ] } ], "image_resource_id": "text", "attributes": { "ANY_ADDITIONAL_PROPERTY": {} } }
Category updated successfully
POST /api/sales/categories HTTP/1.1 Host: api.zydon.com.br Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 353 { "id": "text", "root_id": "text", "name": "text", "active": true, "characteristics": "text", "seo_title": "text", "seo_description": "text", "seo_meta_keywords": [ "text" ], "specifications": [ { "name": "text", "items": [ { "id": "text", "name": "text", "type": "text", "values": [ "text" ], "is_searchable": true } ] } ], "image_resource_id": "text", "attributes": { "ANY_ADDITIONAL_PROPERTY": {} } }
Category created successfully