u
This commit is contained in:
31
docs/api/routes/attributename/_attributeId/value/order.md
Normal file
31
docs/api/routes/attributename/_attributeId/value/order.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# `PUT /attributename/{attributeId}/value/order`
|
||||
|
||||
Protected. Requires a valid session cookie (`credentials: 'include'`).
|
||||
|
||||
Reorder values of an attribute
|
||||
|
||||
Updates the display sort order of values belonging to an attribute.
|
||||
|
||||
## Path parameters
|
||||
|
||||
| Param | Required | Type | Description |
|
||||
|-------|----------|------|-------------|
|
||||
| `attributeId` | yes | integer | |
|
||||
|
||||
## Body (JSON)
|
||||
|
||||
```json
|
||||
{
|
||||
"attributevalueIds": [
|
||||
1
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
## Response `200`
|
||||
|
||||
Reordered successfully
|
||||
|
||||
---
|
||||
|
||||
_Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._
|
||||
Reference in New Issue
Block a user