GET api/magento/customers/{customerId}

Gets a customer by id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

customer id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Customer

SuiteBridge.MagentoWebService.customerCustomerEntity
NameDescriptionTypeAdditional information
customer_id

integer

None.

created_at

string

None.

updated_at

string

None.

increment_id

string

None.

store_id

integer

None.

website_id

integer

None.

created_in

string

None.

email

string

None.

firstname

string

None.

middlename

string

None.

lastname

string

None.

group_id

integer

None.

prefix

string

None.

suffix

string

None.

dob

string

None.

taxvat

string

None.

confirmation

boolean

None.

password_hash

string

None.

Response Formats

application/json, text/json

Sample:
{
  "customer_id": 1,
  "customer_idSpecified": true,
  "created_at": "sample string 3",
  "updated_at": "sample string 4",
  "increment_id": "sample string 5",
  "store_id": 6,
  "store_idSpecified": true,
  "website_id": 8,
  "website_idSpecified": true,
  "created_in": "sample string 10",
  "email": "sample string 11",
  "firstname": "sample string 12",
  "middlename": "sample string 13",
  "lastname": "sample string 14",
  "group_id": 15,
  "group_idSpecified": true,
  "prefix": "sample string 17",
  "suffix": "sample string 18",
  "dob": "sample string 19",
  "taxvat": "sample string 20",
  "confirmation": true,
  "confirmationSpecified": true,
  "password_hash": "sample string 23"
}

application/xml, text/xml

Sample:
<customerCustomerEntity xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <customer_id>1</customer_id>
  <created_at>sample string 3</created_at>
  <updated_at>sample string 4</updated_at>
  <increment_id>sample string 5</increment_id>
  <store_id>6</store_id>
  <website_id>8</website_id>
  <created_in>sample string 10</created_in>
  <email>sample string 11</email>
  <firstname>sample string 12</firstname>
  <middlename>sample string 13</middlename>
  <lastname>sample string 14</lastname>
  <group_id>15</group_id>
  <prefix>sample string 17</prefix>
  <suffix>sample string 18</suffix>
  <dob>sample string 19</dob>
  <taxvat>sample string 20</taxvat>
  <confirmation>true</confirmation>
  <password_hash>sample string 23</password_hash>
</customerCustomerEntity>