curl --request POST \
--url http://localhost/mogl/mogl-backend/api/affiliateLinkSortOrder \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sort_order": [
{
"id": 1,
"sort_order": 1
},
{
"id": 2,
"sort_order": 2
}
]
}
'curl --request POST \
--url http://localhost/mogl/mogl-backend/api/affiliateLinkSortOrder \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"sort_order": [
{
"id": 1,
"sort_order": 1
},
{
"id": 2,
"sort_order": 2
}
]
}
'Documentation Index
Fetch the complete documentation index at: https://developer.mogl.online/llms.txt
Use this file to discover all available pages before exploring further.
JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.
Array of link IDs with their new sort order
Show child attributes
[
{ "id": 1, "sort_order": 1 },
{ "id": 2, "sort_order": 2 }
]Sort order updated