Accounts include a predefined set of properties for storing information, such as the DUNS number and the account name. The set of properties available for an account is determined by the organization item type, which serves as a template for accounts. You can view this item type with the following call:

GET /ccadmin/v1/itemTypes/organization HTTP/1.1
Authorization: Bearer <access_token>

The following example shows a portion of the response corresponding to one of the predefined account properties. Each property has a group of attributes whose values control the behavior associated with the property:

{
    "id": "organization",
    "links": [
        {
            "rel": "self",
            "href":
"http://myserver.example.com:7002/ccadmin/v1/itemTypes/organization"
        }
    ],
    "displayName": "Organization",
    "specifications": [
        {
         ...
            "writable": true,
            "localizable": false,
            "label": "Description",
            "type": "shortText",
            "id": "description",
            "uiEditorType": "shortText",
            "textSearchable": false,
            "multiSelect": null,
            "dimension": false,
            "internalOnly": false,
            "default": null,
            "editableAttributes": [
                "textSearchable",
                "multiSelect",
                "dimension",
                "internalOnly",
                "default",
                "label",
                "required",
                "searchable"
            ],
            "length": 254,
            "required": false,
            "searchable": false
        },
        ...
}

To modify the organization item type, you can create custom properties or modify existing properties by setting the values of these attributes. See Settable attributes of shopper type properties for descriptions of these attributes.


Copyright © 1997, 2017 Oracle and/or its affiliates. All rights reserved. Legal Notices