Skip to main content

profile

Creates, updates, deletes, gets or lists a profile resource.

Overview

Nameprofile
TypeResource
Idcloudflare.user.profile

Fields

The following fields are returned by SELECT queries:

Billing Profile Details response

NameDatatypeDescription
idstringBilling item identifier tag. (example: b69a9f3492637782896352daae219e7d)
first_namestring (example: John)
last_namestring (example: Doe)
payment_first_namestring (example: John)
payment_last_namestring (example: Doe)
account_typestring (example: type)
addressstring (example: 123 Main Street)
address2string (example: Apt 1)
balancestring (example: 0)
card_expiry_monthinteger
card_expiry_yearinteger
card_numberstring (example: 4242424242424242)
citystring (example: Anytown)
companystring (example: Company)
countrystring (example: Anycountry)
created_onstring (date-time) (example: 2014-03-01T12:21:59.3456Z)
device_datastring (example: sample_data)
edited_onstring (date-time) (example: 2014-03-01T12:21:59.3456Z)
enterprise_billing_emailstring (example: johndoe@gmail.com)
enterprise_primary_emailstring (example: johndoe@gmail.com)
is_partnerboolean
next_bill_datestring (date-time) (example: 2014-03-01T12:21:59.3456Z)
payment_addressstring (example: 123 Main Street)
payment_address2string (example: Apt 1)
payment_citystring (example: Anytown)
payment_countrystring (example: Anycountry)
payment_emailstring (example: johndoe@gmail.com)
payment_gatewaystring (example: gateway)
payment_noncestring (example: abc123)
payment_statestring (example: state)
payment_zipcodestring (example: 12345)
primary_emailstring (example: johndoe@gmail.com)
statestring (example: AnyState)
tax_id_typestring (example: type)
telephonestring (example: 1234567899)
use_legacyboolean
validation_codestring (example: 1111)
vatstring (example: GB123456789)
zipcodestring (example: 12345)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectAccesses your billing profile object.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

SELECT examples

Accesses your billing profile object.

SELECT
id,
first_name,
last_name,
payment_first_name,
payment_last_name,
account_type,
address,
address2,
balance,
card_expiry_month,
card_expiry_year,
card_number,
city,
company,
country,
created_on,
device_data,
edited_on,
enterprise_billing_email,
enterprise_primary_email,
is_partner,
next_bill_date,
payment_address,
payment_address2,
payment_city,
payment_country,
payment_email,
payment_gateway,
payment_nonce,
payment_state,
payment_zipcode,
primary_email,
state,
tax_id_type,
telephone,
use_legacy,
validation_code,
vat,
zipcode
FROM cloudflare.user.profile
;