u
This commit is contained in:
@@ -14,6 +14,11 @@ Enables or disables father article status. Enabling requires specifying an attri
|
||||
|
||||
## Body (JSON)
|
||||
|
||||
| Field | Required | Type | Description |
|
||||
|-------|----------|------|-------------|
|
||||
| `isFather` | yes | boolean | True to make article a father, false to revert to regular article |
|
||||
| `attributeNameId` | no | integer | Required when isFather is true. The attributename id for variants. |
|
||||
|
||||
```json
|
||||
{
|
||||
"isFather": true,
|
||||
@@ -27,7 +32,13 @@ Updated article
|
||||
|
||||
```json
|
||||
{
|
||||
"article": {}
|
||||
"article": {
|
||||
"id": 1,
|
||||
"categoryId": 1,
|
||||
"name": "…",
|
||||
"sku": "…",
|
||||
"track_stock": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user