Skip to main content
Retailer custom-field definitions describe the custom_fields object returned by Retailer API methods. Use this endpoint to discover field codes, input types, permissions, display flags, and options for the calling merchant.

Methods


Entity Properties


Additional Resources

  • Retailers — when submitting or receiving Retailer custom-field values.

retailer_custom_field.list

retailer_custom_field.list() Retrieve list of retailer custom fields available for the calling merchant. Global definitions are included, and merchant-specific definitions are returned for the calling merchant.

Return Value

An array of objects. Each object will contain Retailer Custom Field properties.

Example Request

Request
{
    "jsonrpc" : "2.0",
    "id"      : 1234,
    "method"  : "call",
    "params"  : [
        "34aa989befe360d67fe3f70b3517a1e5",
        "retailer_custom_field.list"
    ]
}

Example Response

Response
{
    "result": [
        {
            "custom_field_id": "12",
            "name": "Retailer Department",
            "code": "retailer_department",
            "is_active": "1",
            "input_type": "select",
            "is_required": "0",
            "client_note": "Department used for retailer reporting.",
            "client_permissions": "unrestricted",
            "is_display_client_grid": "1",
            "is_display_client_form": "1",
            "sort_order": "10",
            "created_at": "2026-05-28T12:00:00+00:00",
            "updated_at": "2026-05-28T12:00:00+00:00",
            "options": [
                {
                    "option_id": 31,
                    "label": "Grocery",
                    "is_default": true,
                    "sort_order": 10
                },
                {
                    "option_id": 32,
                    "label": "Apparel",
                    "is_default": false,
                    "sort_order": 20
                }
            ]
        },
        {
            "custom_field_id": "13",
            "name": "Routing Region",
            "code": "routing_region",
            "is_active": "1",
            "input_type": "text",
            "is_required": "0",
            "client_note": null,
            "client_permissions": "restricted",
            "is_display_client_grid": "0",
            "is_display_client_form": "1",
            "sort_order": "20",
            "created_at": "2026-05-28T12:00:00+00:00",
            "updated_at": "2026-05-28T12:00:00+00:00"
        }
    ],
    "id": "1234",
    "jsonrpc": "2.0"
}

Entity Properties

Retailer Custom Field Properties

Retailer Custom Field Option Properties