Get a customer
Changed onCustomers are looked up by customer code by default. A database can be configured to look up this value as an email address instead.
Request
- Base URL: https://api.myposconnect.com/api/v2
- URL: https://api.myposconnect.com/api/v2/naCustomers/{CustomerCode}
- Auth: HTTP bearer
Path parameters
Customer code, or email address when database lookup is configured that way.
Response
Customer returned.
Example response
{
"customerId": "00000000-0000-4000-8000-000000000003",
"customerCode": "CUSTOMER-EXAMPLE-001",
"customerName": "",
"address": "123 Example Street",
"city": "Example City",
"region": "Example Province",
"postalCode": "A1A 1A1",
"country": "Canada",
"phoneNumber": "+1-555-0100",
"faxNumber": "+1-555-0101",
"emailAddress": "ada.lovelace@example.com",
"webSite": "",
"creditLimit": 0,
"notes": "",
"active": true,
"customerType": "Adult",
"rewardsCollector": false,
"rewardsNumber": "",
"rewardsValue": 65,
"firstSaledate": null,
"lastSaledate": null,
"allowMailing": true,
"allowDataShare": false,
"firstName": "Ada",
"lastName": "Lovelace",
"correspondenceEmail": false,
"correspondencePaper": false,
"discountPercent": 0,
"priceBand": 1,
"balance": 0,
"lastEditDate": "2020-08-21T12:47:18.177",
"creationDate": "2020-07-28T12:31:47.417"
}Changes
- breaking
the response's body type changed from
objectto no type for status - breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking
- info
api operation id
customersRetrievewas added
- info