rbv_api.getCurrentCustomer()

Purpose

This function returns the JSON of field name and value pairs for the current customer.

Syntax

rbv_api.getCurrentCustomer();

Return value

A JSON Object.

Permissions Required

View permission for the requested object type.

Example

var customer = rbv_api.getCurrentCustomer()

rbv_api.println(customer["name"]);