u
This commit is contained in:
@@ -8,6 +8,11 @@ Creates a category under an authorized parent.
|
||||
|
||||
## Body (JSON)
|
||||
|
||||
| Field | Required | Type | Description |
|
||||
|-------|----------|------|-------------|
|
||||
| `parentId` | yes | integer | |
|
||||
| `name` | yes | string | |
|
||||
|
||||
```json
|
||||
{
|
||||
"parentId": 1,
|
||||
|
||||
@@ -12,6 +12,11 @@ to its index `0..n-1` in one transaction.
|
||||
|
||||
## Body (JSON)
|
||||
|
||||
| Field | Required | Type | Description |
|
||||
|-------|----------|------|-------------|
|
||||
| `parentId` | yes | integer | Parent category under which sibling order applies |
|
||||
| `categoryIds` | yes | integer[] | |
|
||||
|
||||
```json
|
||||
{
|
||||
"parentId": 1,
|
||||
|
||||
@@ -18,6 +18,11 @@ Either `name` or `parentId` (or both) is required.
|
||||
|
||||
## Body (JSON)
|
||||
|
||||
| Field | Required | Type | Description |
|
||||
|-------|----------|------|-------------|
|
||||
| `name` | no | string | |
|
||||
| `parentId` | no | integer | New parent category id |
|
||||
|
||||
```json
|
||||
{
|
||||
"parentId": 3
|
||||
|
||||
Reference in New Issue
Block a user