curl --request PUT \
--url https://api.mn.co/admin/v1/networks/{network_id}/collections/{id}/order \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"spaces": [
{
"space_id": 123,
"position": 1
}
]
}
'{
"items": [
{
"id": 123,
"name": "<string>",
"position": 123
}
],
"links": {
"self": "<string>",
"next": "<string>"
}
}curl --request PUT \
--url https://api.mn.co/admin/v1/networks/{network_id}/collections/{id}/order \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"spaces": [
{
"space_id": 123,
"position": 1
}
]
}
'{
"items": [
{
"id": 123,
"name": "<string>",
"position": 123
}
],
"links": {
"self": "<string>",
"next": "<string>"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID of the collection
The Network's unique integer ID, or subdomain Unique numeric network ID
Page number for pagination
Items per page (max 100)
Submit results as JSON
Request to reorder spaces within a collection
Array of space position assignments
Show child attributes
The updated list of spaces with their positions