u
This commit is contained in:
@@ -12,6 +12,8 @@ Creates an article under an authorized category (`parentId`).
|
||||
|-------|----------|------|-------------|
|
||||
| `categoryId` | yes | integer | Category ID under which to create the article |
|
||||
| `name` | yes | string | |
|
||||
| `desc` | no | string | Article description text/HTML |
|
||||
| `seo` | no | string | SEO text |
|
||||
| `track_stock` | no | boolean | Whether to track inventory stock (defaults to true) |
|
||||
|
||||
```json
|
||||
|
||||
@@ -19,6 +19,8 @@ Patches article fields. At least one of `name`, `unitamount`, `unitSi` required.
|
||||
| Field | Required | Type | Description |
|
||||
|-------|----------|------|-------------|
|
||||
| `name` | no | string | |
|
||||
| `desc` | no | string | Article description text/HTML |
|
||||
| `seo` | no | string | SEO text |
|
||||
| `unitamount` | no | number | Must be finite and `> 0` |
|
||||
| `unitSi` | no | string | Existing company unit `si` |
|
||||
| `track_stock` | no | boolean | Whether to track inventory stock |
|
||||
|
||||
Reference in New Issue
Block a user