API / Reference / Custom Properties
Get custom property group
GET
https://api.light.inc/v1/custom-properties/groups/{groupId}
Returns a custom property group by ID
Always includes values, restricted to active values. A group that was deleted in Light still answers 200 (see the list endpoint for how to tell); only groups your company defined are visible, everything else is 404 CUSTOM_PROPERTY_GROUP_NOT_FOUND.
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Path parameters
-
groupIdstring · uuidrequired
Response
-
idstring · uuid -
companyIdstring · uuid -
labelstring -
internalNamestring -
inputTypestring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
SINGLE_SELECTMULTI_SELECTNUMERICTEXTBOOLEANDATE -
objectLevelstring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
HEADERLINE -
objectTypesarray of stringOne of
BILLCARD_TRANSACTIONCREDIT_NOTECONTRACTCUSTOMERCUSTOMER_CREDITINVOICEJOURNAL_ENTRYLEDGER_ACCOUNTPRODUCTPURCHASE_ORDERPURCHASE_REQUESTREIMBURSEMENTVENDOR -
objectTypeStatusesobjectA map of record type to
ACTIVEorDELETED. This is how a deleted group shows up: there is no status field, and a group deleted in Light has every entry set toDELETEDyet is still listed. -
isRequiredboolean -
contextstring -
valuesarray of objectnullwhen not requested (includeValuesis off on the list endpoint).[]when requested and the group has no active values, or when the catalogue exceeds the 15,000-value hydration cap; page throughGET .../groups/{groupId}/valuesin that case.-
idstring · uuidUnique identifier for the object
-
groupIdstring · uuidID of the custom property group
-
groupInternalNamestringInternal name of the custom property group
-
companyIdstring · uuidID of the company
-
internalNamestringInternal name of the custom property value
-
labelstringLabel of the custom property value
-
contextstringContext/description of the custom property value
-
createdAtstring · date-timeTimestamp when the custom property value was created
-
updatedAtstring · date-timeTimestamp when the custom property value was last updated
-
-
createdAtstring · date-time -
updatedAtstring · date-time