FCHubFCHub.co

Save checkout fields

Update checkout field enabled/required settings.

POST
/checkout-fields/save-fields
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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

settings?object

Checkout field settings object matching the structure from getCheckoutFields

Response Body

application/json

application/json

curl -X POST "https://your-site.com/wp-json/fluent-cart/v2/checkout-fields/save-fields" \  -H "Content-Type: application/json" \  -d '{}'
{
  "message": "string"
}