FCHubFCHub.co

Save country tax ID

Save or update the tax identification number for a specific country.

POST
/tax/country-tax-id/{country_code}

Authorization

applicationPassword
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

country_code*string

ISO country code

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

tax_id*string

Tax identification number

Response Body

application/json

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