Mauve.Bestellforum

<back to all web services

GetCustomerByExternalId

Get a customer via its external id.

Requires Authentication
Required permission:all
The following routes are available for this service:
GET/customer/externalid/{ExternalId}
GetCustomerByExternalId Parameters:
NameParameterData TypeRequiredDescription
ExternalIdpathstringYesThe external id to get the customer by.
Customer Parameters:
NameParameterData TypeRequiredDescription
IdformstringNoThe id of the customer.
ExternalIdformstringNoThe external id of the customer.
AddressIdformintNoThe id of the customer's primary address.

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /customer/externalid/{ExternalId} HTTP/1.1 
Host: bestellforum.api.mauve.de 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Id":"String","ExternalId":"String","AddressId":0}