cURL
curl --request PUT \ --url https://api.prod.getdex.com/v1/custom-fields/reorder \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "updates": [ { "customFieldId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "ranking": 123 } ] } '
{ "error": true, "data": { "custom_fields": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "field_type": "<string>", "categories": [ { "category": "<string>" } ], "ranking": 123, "created_at": "<string>", "updated_at": "<string>" } ] } }
Update the display order of custom fields by providing new ranking values. The order is reflected everywhere custom fields are displayed.
{ customFieldId, ranking }
Use your Dex API key (e.g. dex_abc123...) as the Bearer token.
1 - 100
Show child attributes
Successful response
Was this page helpful?