u
This commit is contained in:
@@ -8,7 +8,7 @@ Returns the category tree for the authenticated user's selected company.
|
||||
|
||||
## Response `200`
|
||||
|
||||
Tree and articles for the selected company
|
||||
Tree and article count for the selected company
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -24,39 +24,13 @@ Tree and articles for the selected company
|
||||
"thumbW": 1,
|
||||
"thumbH": 1,
|
||||
"thumbHash": "…",
|
||||
"articleCount": 1,
|
||||
"posterminalIds": [
|
||||
1
|
||||
]
|
||||
}
|
||||
],
|
||||
"articles": [
|
||||
{
|
||||
"id": 1,
|
||||
"sku": "…",
|
||||
"name": "…",
|
||||
"slug": "…",
|
||||
"net": 1,
|
||||
"taxRate": 1,
|
||||
"track_stock": true,
|
||||
"optionsCount": 1,
|
||||
"articleListCount": 1,
|
||||
"childCount": 1,
|
||||
"parentArticleId": 1,
|
||||
"parentSku": "…",
|
||||
"fullHash": "…",
|
||||
"thumbW": 1,
|
||||
"thumbH": 1,
|
||||
"thumbHash": "…",
|
||||
"brand": {
|
||||
"id": 1,
|
||||
"name": "…",
|
||||
"fullHash": "…",
|
||||
"thumbW": 1,
|
||||
"thumbH": 1,
|
||||
"thumbHash": "…"
|
||||
}
|
||||
}
|
||||
]
|
||||
"articleCount": 1
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -32,10 +32,13 @@ Created; selected company updated
|
||||
{
|
||||
"company": {
|
||||
"id": 1,
|
||||
"iso639": "…",
|
||||
"name": "…",
|
||||
"rootCategoryId": 1,
|
||||
"languageId": 1,
|
||||
"iso639": "…",
|
||||
"taxrate": 1,
|
||||
"reducedtaxrate": 1
|
||||
"reducedtaxrate": 1,
|
||||
"taxfreerate": 1
|
||||
},
|
||||
"user": {
|
||||
"id": 1,
|
||||
|
||||
@@ -15,10 +15,13 @@ Company list
|
||||
"companies": [
|
||||
{
|
||||
"id": 1,
|
||||
"iso639": "…",
|
||||
"name": "…",
|
||||
"rootCategoryId": 1,
|
||||
"languageId": 1,
|
||||
"iso639": "…",
|
||||
"taxrate": 1,
|
||||
"reducedtaxrate": 1
|
||||
"reducedtaxrate": 1,
|
||||
"taxfreerate": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -38,10 +38,13 @@ Updated
|
||||
{
|
||||
"company": {
|
||||
"id": 1,
|
||||
"iso639": "…",
|
||||
"name": "…",
|
||||
"rootCategoryId": 1,
|
||||
"languageId": 1,
|
||||
"iso639": "…",
|
||||
"taxrate": 1,
|
||||
"reducedtaxrate": 1
|
||||
"reducedtaxrate": 1,
|
||||
"taxfreerate": 1
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user