FCHubFCHub.co

Update term sort order

Update the sort order of an attribute term within its group.

POST
/options/attr/group/{group_id}/term/{term_id}/serial
AuthorizationBasic <token>

WordPress Application Password authentication. Generate one at wp-admin > Users > Application Passwords. Use as Basic Auth with username:application_password (base64-encoded).

In: header

Path Parameters

group_id*integer
term_id*integer

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

serial?integer

Response Body

application/json

application/json

curl -X POST "https://your-site.com/wp-json/fluent-cart/v2/options/attr/group/0/term/0/serial" \  -H "Content-Type: application/json" \  -d '{}'
{}