Retrieve Customer

Beta
GET/v1/sales/customers/{id}

This endpoint is idempotent. Learn more

Returns a customer by ID.

idstring

Customer ID.

include[]optional arrayenumValues:bill_to_addressship_to_addresstype

Sub-objects to expand in the response. When omitted, sub-objects are returned as null.

idstring

Customer ID.

objectstringenumValues:customer

Resource type identifier.

namestring

Display name.

numberstring

Customer number.

statusstringenumValues:normalpreferredhold_shipment

Account status code.

edi_statusstringenumValues:enableddisabled

EDI status.

relationship_typestringenumValues:standaloneparentchild

Customer relationship type.

commission_policystringenumValues:commission_appliedcommission_exempt

Commission policy.

notestringnullable

Note.

credit_limitobjectExpandablenullable

Credit limit.

idstring

Quantity ID.

objectstringenumValues:quantity

Resource type identifier.

valuestring (decimal)

Decimal value.

display_valuestring

Formatted value with unit abbreviation (e.g. "$1,234.56" or "100 kg").

unitobjectnullable

Associated unit.

Always returned as null in this endpoint.
contact_infoobjectExpandablenullable

Contact information.

objectstringenumValues:customer_contact_info

Resource type identifier.

emailstringnullable

Email address.

phonestringnullable

Phone number.

urlstringnullable

Website URL.

freight_preferencesobjectExpandablenullable

Freight preferences.

objectstringenumValues:customer_freight_preferences

Resource type identifier.

statusstringenumValues:free_freightbilled_freight

Freight policy.

carrierobjectExpandablenullable

Default carrier.

idstring

Carrier ID.

objectstringenumValues:carrier

Resource type identifier.

namestring

Display name.

codestringnullableenumValues:fedexupsusps

Carrier code.

account_numberstringnullable

Account number.

customer_portal_visibilitystringenumValues:visiblehidden

Customer portal visibility.

ownerobjectnullable

Owner.

Always returned as null in this endpoint.
service_levelsobjectnullable

Service levels.

Always returned as null in this endpoint.
deleted_atstring (date-time)nullable

Soft-delete timestamp.

created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

service_levelobjectExpandablenullable

Default service level.

idstring

Service level ID.

objectstringenumValues:service_level

Resource type identifier.

namestring

Display name.

service_level_tokenstring

Service level token.

customer_portal_visibilitystringenumValues:visiblehidden

Customer portal visibility.

is_defaultboolean

Default service level for the carrier.

ownerobjectnullable

Owner.

Always returned as null in this endpoint.
created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

billing_typestringnullableenumValues:senderthird_party

Carrier billing type.

billing_accountstringnullable

Carrier billing account number.

defaultsobjectExpandablenullable

Default settings.

objectstringenumValues:customer_defaults

Resource type identifier.

payment_termobjectExpandablenullable

Default payment term.

idstring

Payment term ID.

objectstringenumValues:payment_term

Resource type identifier.

namestring

Display name.

statusstringenumValues:activeinactive

Payment term status.

ownerobjectnullable

Owner of this resource.

Always returned as null in this endpoint.
created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last-updated timestamp.

shipping_termobjectExpandablenullable

Default shipping term.

idstring

Shipping term ID.

objectstringenumValues:shipping_term

Resource type identifier.

namestring

Display name.

typestringenumValues:free_freightflat_rate_freightcarrier_rate_freight

Shipping term type.

ownerobjectnullable

Owner.

Always returned as null in this endpoint.
flat_rateobjectnullable

Flat rate quantity, if any.

Always returned as null in this endpoint.
minimum_order_valueobjectnullable

Minimum order value quantity, if any.

Always returned as null in this endpoint.
free_shipping_service_levelsobjectnullable

Service levels that qualify for free shipping.

Always returned as null in this endpoint.
created_atstring (date-time)

When this shipping term was created.

updated_atstring (date-time)

When this shipping term was last updated.

priorityobjectExpandablenullable

Default priority.

idstring

Priority ID.

objectstringenumValues:priority

Resource type identifier.

codestringenumValues:lownormalhigh

Machine-readable code.

namestring

Display name.

ownerobjectnullable

Owner of this resource.

Always returned as null in this endpoint.
created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

sales_repobjectExpandablenullable

Default sales rep.

idstring

Account user ID.

objectstringenumValues:account_user

Resource type identifier.

namestringnullable

Display name.

emailstringnullable

Email address.

usernamestringnullable

Username.

image_urlstringnullable

Profile image URL.

statusstringenumValues:activedisabledremoved

Account user status.

roleobjectnullable

Assigned role.

Always returned as null in this endpoint.
departmentobjectnullable

Assigned department.

Always returned as null in this endpoint.
last_used_atstring (date-time)nullable

When the user last used this account.

created_atstring (date-time)

When the account user was created.

updated_atstring (date-time)

When the account user was last updated.

notification_preferencesobjectExpandablenullable

Notification preferences.

objectstringenumValues:customer_notification_preferences

Resource type identifier.

accepts_invoice_emailsboolean

Whether invoice emails are accepted.

bill_to_addressobjectExpandablenullable

Default billing address.

idstring

Address ID.

objectstringenumValues:address

Resource type identifier.

namestring

Display name of the address.

phonestringnullable

Phone number associated with the address.

emailstringnullable

Email address associated with the address.

typestringExpandableenumValues:standarddrop_ship

Address type.

geolocationobjectnullable

Geolocation details for the address.

Always returned as null in this endpoint.
created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

ship_to_addressobjectExpandablenullable

Default shipping address.

idstring

Address ID.

objectstringenumValues:address

Resource type identifier.

namestring

Display name of the address.

phonestringnullable

Phone number associated with the address.

emailstringnullable

Email address associated with the address.

typestringenumValues:standarddrop_ship

Address type.

geolocationobjectnullable

Geolocation details for the address.

Always returned as null in this endpoint.
created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

typeobjectExpandablenullable

Customer type group.

idstring

Account group ID.

objectstringenumValues:account_group

Resource type identifier.

namestring

Display name.

descriptionstringnullable

Description.

commission_policystringenumValues:commission_appliedcommission_exempt

Commission policy.

freight_policystringenumValues:free_freightbilled_freight

Freight policy.

typestringenumValues:pricing_grouptype_group

Account group type.

The type pricing_group indicates this account group is utilized for pricing rules. For example, you may have a 'Preferred' price group that receives a special discount rate. The type type_group indicates the account group is utilized to categorize a set of accounts. For example, you may have a group of accounts that are 'Consumers' or 'Distributors'.

created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

price_groupsobjectExpandablenullable

Pricing groups.

objectstringenumValues:list

Resource type identifier.

page_infoobject

Pagination metadata.

next_page_urlstringnullable

URL to fetch the next page, null if no more pages.

previous_page_urlstringnullable

URL to fetch the previous page, null if on the first page.

has_next_pageboolean

Whether more results exist after this page.

has_prev_pageboolean

Whether results exist before this page.

dataarray of object

Resources in this page.

idstring

Account group ID.

objectstringenumValues:account_group

Resource type identifier.

namestring

Display name.

descriptionstringnullable

Description.

commission_policystringenumValues:commission_appliedcommission_exempt

Commission policy.

freight_policystringenumValues:free_freightbilled_freight

Freight policy.

typestringenumValues:pricing_grouptype_group

Account group type.

The type pricing_group indicates this account group is utilized for pricing rules. For example, you may have a 'Preferred' price group that receives a special discount rate. The type type_group indicates the account group is utilized to categorize a set of accounts. For example, you may have a group of accounts that are 'Consumers' or 'Distributors'.

created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

parent_accountobjectExpandablenullable

Parent account. Present if this is a child account.

idstring

Customer ID.

objectstringenumValues:customer

Resource type identifier.

namestring

Display name.

numberstring

Customer number.

statusstringenumValues:normalpreferredhold_shipment

Account status code.

edi_statusstringenumValues:enableddisabled

EDI status.

relationship_typestringenumValues:standaloneparentchild

Customer relationship type.

commission_policystringenumValues:commission_appliedcommission_exempt

Commission policy.

notestringnullable

Note.

credit_limitobjectnullable

Credit limit.

Always returned as null in this endpoint.
contact_infoobjectnullable

Contact information.

Always returned as null in this endpoint.
freight_preferencesobjectnullable

Freight preferences.

Always returned as null in this endpoint.
defaultsobjectnullable

Default settings.

Always returned as null in this endpoint.
notification_preferencesobjectnullable

Notification preferences.

Always returned as null in this endpoint.
bill_to_addressobjectnullable

Default billing address.

Always returned as null in this endpoint.
ship_to_addressobjectnullable

Default shipping address.

Always returned as null in this endpoint.
typeobjectnullable

Customer type group.

Always returned as null in this endpoint.
price_groupsobjectnullable

Pricing groups.

Always returned as null in this endpoint.
parent_accountobjectnullable

Parent account. Present if this is a child account.

Always returned as null in this endpoint.
child_accountsobjectnullable

Child accounts. Present if this is a parent account.

Always returned as null in this endpoint.
created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

child_accountsobjectExpandablenullable

Child accounts. Present if this is a parent account.

objectstringenumValues:list

Resource type identifier.

page_infoobject

Pagination metadata.

next_page_urlstringnullable

URL to fetch the next page, null if no more pages.

previous_page_urlstringnullable

URL to fetch the previous page, null if on the first page.

has_next_pageboolean

Whether more results exist after this page.

has_prev_pageboolean

Whether results exist before this page.

dataarray of object

Resources in this page.

idstring

Customer ID.

objectstringenumValues:customer

Resource type identifier.

namestring

Display name.

numberstring

Customer number.

statusstringenumValues:normalpreferredhold_shipment

Account status code.

edi_statusstringenumValues:enableddisabled

EDI status.

relationship_typestringenumValues:standaloneparentchild

Customer relationship type.

commission_policystringenumValues:commission_appliedcommission_exempt

Commission policy.

notestringnullable

Note.

credit_limitobjectnullable

Credit limit.

Always returned as null in this endpoint.
contact_infoobjectnullable

Contact information.

Always returned as null in this endpoint.
freight_preferencesobjectnullable

Freight preferences.

Always returned as null in this endpoint.
defaultsobjectnullable

Default settings.

Always returned as null in this endpoint.
notification_preferencesobjectnullable

Notification preferences.

Always returned as null in this endpoint.
bill_to_addressobjectnullable

Default billing address.

Always returned as null in this endpoint.
ship_to_addressobjectnullable

Default shipping address.

Always returned as null in this endpoint.
typeobjectnullable

Customer type group.

Always returned as null in this endpoint.
price_groupsobjectnullable

Pricing groups.

Always returned as null in this endpoint.
parent_accountobjectnullable

Parent account. Present if this is a child account.

Always returned as null in this endpoint.
child_accountsobjectnullable

Child accounts. Present if this is a parent account.

Always returned as null in this endpoint.
created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

created_atstring (date-time)

Creation timestamp.

updated_atstring (date-time)

Last updated timestamp.

Responses

200

Successful response for Retrieve Customer