Heads up, our devs are blazing ahead—docs are catching up, so some features might not be fully documented yet.

Customer

Customer

List customers

get
/tenants/{tenantUid}/customers

List all customers.

Required permission: TENANT.ACCESS

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
customerExternalIdstringOptional

External reference to a customer.

pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Responses
200

CustomerListResponse

application/json
get
/tenants/{tenantUid}/customers
200

CustomerListResponse

Create a new customer

post
/tenants/{tenantUid}/customers

Required permission: TENANT.ACCESS

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
Responses
post
/tenants/{tenantUid}/customers
201

Example response

Search customers

post
/tenants/{tenantUid}/customers/search

Searches for customers based on criteria set in the request body. Required permission: TENANT.ACCESS

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Body
exactMatchbooleanOptional
querystringOptional
mobilestringOptional
emailstringOptional
Responses
200

CustomerListResponse

application/json
post
/tenants/{tenantUid}/customers/search
200

CustomerListResponse

External search for customers

post
/tenants/{tenantUid}/customers/search/external

Searches for customers externally based on criteria set in the request body. Required permission: TENANT.ACCESS. Must have a valid tenantExtension EXTERNAL_CUSTOMER_SEARCH.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Query parameters
pageNumberintegerOptional

Reference to a specific page in a result set.

pageSizeintegerOptional

The number of items per page in a result set.

sortBystringOptional

Defines which field the resource list is sorted by.

sortDirectionstring · enumOptional
ENUM Description
ASC Sort in ascending order
DESC Sort in descending order
Possible values:
Body
querystringOptional
Responses
200

CustomerExternalListResponse

application/json
post
/tenants/{tenantUid}/customers/search/external
200

CustomerExternalListResponse

Get customer details

get
/tenants/{tenantUid}/customers/{customerUid}

Get details for a customer.

Required permission: TENANT.ACCESS

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
customerUidstringRequired

Reference to a Customer.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/customers/{customerUid}
200

Example response

Update customer details

put
/tenants/{tenantUid}/customers/{customerUid}

Partial updates are allowed. Required permission: TENANT.ACCESS

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
customerUidstringRequired

Reference to a Customer.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Body
addressstringOptional
citystringOptional
companyNamestringOptional
countryCodestringOptional

ISO 3166-1: 2 characters representation of country

customerTypestring · enumOptionalPossible values:
emailstringOptional
externalIdstringOptional
firstnamestringOptional
lastnamestringOptional
ledgerNumberstringOptional

Ledger number must be a valid number with possible leading zeros

mobilestringOptional
postalCodestringOptional
vatNumberstringOptional

VAT identification number for value added tax reporting purposes.

pricelistUidstringOptionalPattern: ^[A-Za-z0-9-_]*
originstringOptional
loyaltyIdstringOptional
paymentTermsintegerOptional

Number of days to calculate due date on invoice

internalNotestringOptional
ehfEnabledbooleanOptional
customerGroupUidsstring[]Optional
Responses
200

Example response

application/json
put
/tenants/{tenantUid}/customers/{customerUid}
200

Example response

Delete a customer

delete
/tenants/{tenantUid}/customers/{customerUid}

Deletes a customer.

Required permission: TENANT.BACKOFFICE

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
customerUidstringRequired

Reference to a Customer.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
Responses
delete
/tenants/{tenantUid}/customers/{customerUid}
204

No Content

No content

Add an extension to a customer

post
/tenants/{tenantUid}/customers/{customerUid}/extensions/{customerExtensionCode}

Add an extension to a customer

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
customerUidstringRequired

Reference to a Customer.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
customerExtensionCodestring · enumRequired
ENUM Description
TWO_INVOICE The Two Invoice extension.
Possible values:
Body
storeUidstringRequiredPattern: ^[A-Za-z0-9-_]+
Responses
200

Example response

application/json
post
/tenants/{tenantUid}/customers/{customerUid}/extensions/{customerExtensionCode}
200

Example response

Delete an extension to a customer

delete
/tenants/{tenantUid}/customers/{customerUid}/extensions/{customerExtensionCode}

Delete an extension to a customer

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
customerUidstringRequired

Reference to a Customer.

Pattern: ^[A-Za-z0-9-_]+
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
customerExtensionCodestring · enumRequired
ENUM Description
TWO_INVOICE The Two Invoice extension.
Possible values:
Body
storeUidstringRequiredPattern: ^[A-Za-z0-9-_]+
Responses
delete
/tenants/{tenantUid}/customers/{customerUid}/extensions/{customerExtensionCode}
204

No Content

No content

Get customer details for a store

get
/tenants/{tenantUid}/stores/{storeUid}/customers/{customerUid}

Return a complete customer with store specific details.

Authorizations
AuthorizationstringRequired

Accesstoken recevied after user login with a deviceToken

Path parameters
tenantUidstringRequired

Reference to a tenant.

Pattern: ^[A-Za-z0-9-_]+
storeUidstringRequired

Reference to a Store.

Pattern: ^[A-Za-z0-9-_]+
customerUidstringRequired

Reference to a Customer.

Pattern: ^[A-Za-z0-9-_]+
Responses
200

Example response

application/json
get
/tenants/{tenantUid}/stores/{storeUid}/customers/{customerUid}
200

Example response

Last updated

Was this helpful?