---
schema_version: "1"
id: f18abe73c113e9ca9f73409fc59184b68e7a99830c9b5bc935b5436f0b6868a0
title: Customer
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_customer.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_customer.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5cdd9df5945b9fe2a850823d6782e4c4b100cc065da297b4a4ae8b00f8394422
description: Represents the customer role of an individual with respect to a particular company or organization. This object is available in API version 53.0 and later.
---
# Customer

Represents the customer role of an individual with respect to a particular company or organization. This object is available in API version 53.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

| Field | Details |
| --- | --- |
| CustomerStatusType | 
Type

picklist

Properties

Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The status of the customer account.

Possible values are:

- Active
- Inactive





 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp for when the current user last viewed a record related to this record.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp for when the current user last viewed this record. If this value is null, it’s possible that this record was referenced (LastReferencedDate) and not viewed.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

Required. Name of this customer.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

The ID of the user who owns the record.

This is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |
| PartyId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Required. Represents the individual object related to this customer record.

This is a relationship field.

Relationship Name

Party

Relationship Type

Lookup

Refers To

Individual



 |
| TotalLifeTimeValue | 

Type

int

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The total revenue amount gained from this customer.



 |