Skip to content

Sort Deck Cards

Sets the order of cards within a deck.

Terminal window
curl --request POST \
--url 'https://lxp.prod.api.toolzz.media/admin/decks/sort/cards' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"deckId": 156,
"cards": [
{ "card": 8708 },
{ "card": 8709 },
{ "card": 8710 }
]
}'
{
"success": true
}

ParameterTypeDescriptionRequired
deckIdnumberDeck ID.Yes
cardsarrayOrdered list of { "card": <id> }.Yes

  • Admin only; deck must belong to the institution.