Integrations Customer by ID

Get the ERC e-commerce integrations customer by ID

👍

Access and Registration

Authentication

Scope

erc-ecommerce-connections-customers:read

Body Response - Schema

200 OK (the customer found with the provided ID)

Represents the customer resource

ParameterTypeDescriptionRequired
idstringThe ID of the customer.
Example: customer123
yes
first_namestringThe first name of the customer. Example: Johnno
last_namestringThe last name of the customer. Example: Doeno
customer_sincestringThe timestamp date of the customer creation/registration in the system. Example:
2021-09-04T12:16:50.078Z
no
shipping_addressesarray[object]The list of shipping addresses associated with the customer. "addresses" subdivides into:

1 - "id" (string) - The address identifier. Example: address1234

2 - "first_name" (string) - the first name of the person associated with the address. Example: John

3 - "last_name" (string) - the last name of the person associated with the address. Example: Doe

4 - "phone_number" (string) - the phone number of the person associated with the address. Example:
+351910000000

5 - "address" (string) - the first line of the address. Example: Lisbon

6 - "zip_code" (string) - the zip-code of the address. Example:
20000000

7 - "city" (string) - the city of the address.
Example: Lisbon

8 - "region_code" (string) - the region (country subdivision) code according to ISO 3166-2 standard. Example: PT-11

9 - "country_code" (string) - the country code of the address, according the ISO 3166-1 alpha-2 codes. Example:
PT

10 - "default" (boolean) - define if address is default. Example: true
no
integration_infoobjectThe internal integration information. "integration_info" subdivides into:

1 - "external_url" (string
)
- the URL of the resource in the external system (ex: the URL of a customer in the Shopify system). Example:
https://external.url.com/
Required.

2 - "type" (string) - the type of integration. Allowed values:
UNKNOWN, SHOPIFY
Example: SHOPIFY. Required.
no
custom_fieldsobjectThe custom fields associated with the provider.
_linksobject"_links" subdivides into:

1 - "self" (object) - required.
1.1 - "href" (string
)
- Example:
http://api-docs.talkdesk.org/erc/ecommerce/customers/customer123
yes

400 (bad request), 401 (authorization), 403 (forbidden), 404 (not found), 405 (method not supported)

ParameterTypeDescriptionRequired
codestringn/ayes
messagestringn/ayes
descriptionstringn/ano
fieldsarray[object]"fields" subdivides into:

"name" (string)

"description" (string)
yes (name and description)

🚧

Troubleshooting

If you have any questions regarding the usage of this API, or if you’re having any technical issues, please open a ticket using this form.

Language
Credentials
Header
Click Try It! to start a request and see the response here!