mobileSignupCustomFieldDefinitions
Public: no authentication required.
Lists the organization's own fields the Sign Up form shows, for the company and the person signing up, before any session exists: buyer-editable fields placed on sign-up. The organization comes from the build's subdomain, as for mobileRegisterBuyer.
Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.
Example:
- GraphQL
- cURL
query MobileSignupCustomFieldDefinitions {
mobileSignupCustomFieldDefinitions {
id
type
archived
carryForward
defaultValue
editPermission
}
}
curl -X POST "https://<api-host>/graphql" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
--data @- <<'EOF'
{
"query": "query MobileSignupCustomFieldDefinitions {\n mobileSignupCustomFieldDefinitions {\n id\n type\n archived\n carryForward\n defaultValue\n editPermission\n }\n}"
}
EOF
Response:
{
"data": {
"mobileSignupCustomFieldDefinitions": [
{
"id": "id",
"type": "string",
"archived": true,
"carryForward": true,
"defaultValue": {},
"editPermission": "string"
}
]
}
}
mobileSignupCustomFieldDefinitions(
subdomain: String
): [CustomFieldDefinition!]!
Arguments
mobileSignupCustomFieldDefinitions.subdomain ● String scalar
The tenant subdomain baked into this buyer-app build.
Type
CustomFieldDefinition object
A field the organization added to one kind of record.