cURL
curl --request POST \ --url https://app.d-sports.org/api/admin/packs/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "action": "publish", "collectibleId": "<string>", "quantity": 123, "weight": 123 } '
Performs an action on a pack: publish, archive, restore, addCollectible, or removeCollectible.
Clerk session token. Use Authorization: Bearer .
publish
archive
restore
addCollectible
removeCollectible
Required for addCollectible and removeCollectible actions
Optional, used with addCollectible
{ success, data: { success } }
Was this page helpful?