PATCH
/api/public/v1/settings/organization

Update organization settings

Update display name, automated tax flag, IP whitelist enforcement, etc.

Request Body

PropertyTypeDescription
displayNamestringOrganization display name.
ipWhitelistEnabledbooleanEnforce IP whitelist.
automatedTaxesbooleanEnable automated taxes.
PATCHExample request
curl
curl -X PATCH "https://www.pxb.app/api/public/v1/settings/organization" \
  -H "X-Organization-Id: your_org_id" \
  -H "X-API-Key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "ipWhitelistEnabled": true
  }'
200Example response
json
{
  "message": "Organization settings updated successfully!",
  "content": {
    "settings": {
      "ipWhitelistEnabled": true
    }
  }
}