Customer

Extends \MercadoPago\Entity

This class allows you to store customers data safely to improve the shopping experience.

This will allow your customer to complete their purchases much faster and easily when used in conjunction with the Cards class.

link

Click here for more infos

RestMethod

(resource="/v1/customers/:id", method="read")

RestMethod

(resource="/v1/customers/search", method="search")

RestMethod

(resource="/v1/customers/", method="create")

RestMethod

(resource="/v1/customers/:id", method="update")

RestMethod

(resource="/v1/customers/:id", method="delete")

package

Default

Methods

Properties

email

email : string
Attribute

(primaryKey = true)

var

Type(s)

string

id

id : string
Attribute

()

var

Type(s)

string

first_name

first_name : string
Attribute

()

var

Type(s)

string

last_name

last_name : string
Attribute

()

var

Type(s)

string

phone

phone : object
Attribute

()

var

Type(s)

object

identification

identification : object
Attribute

()

var

Type(s)

object

default_address

default_address : string
Attribute

()

var

Type(s)

string

address

address : object
Attribute

()

var

Type(s)

object

date_registered

date_registered : string
Attribute

()

var

Type(s)

string

description

description : string
Attribute

()

var

Type(s)

string

date_created

date_created : string
Attribute

()

var

Type(s)

string

date_last_updated

date_last_updated : string
Attribute

()

var

Type(s)

string

default_card

default_card : string
Attribute

()

var

Type(s)

string

card

cards : array
Attribute

()

var

Type(s)

array

addresses

addresses : array
Attribute

()

var

Type(s)

array

live_mode

live_mode : boolean
Attribute

(type = "boolean")

var

Type(s)

boolean