Customer API
  1. customer
Customer API
  • common
    • customers
      • customer
        • account
          • transactions
            • transaction
              • Get Transaction
            • List Transactions
          • Get Account
          • Update Account
          • Get account by id
        • Get Customer
        • Get Customer w/Account
        • Update Customer
  • host
    • customers
      • Add Customer
      • Add Customers
      • Search Customers
    • customer-account-defaults
      • Get Account Defaults
      • Set Account Defaults
    • default-customer
      • Get Default Customer
    • frequent-customers
      • List Frequent Customers
  • store
    • customers
      • customer
        • account
          • transactions
            • Add Transaction
        • visibility
          • Get Customer Visibility
          • Set Customer Visibility
        • Get Provisioning
          GET
        • Provision For Store
          PUT
        • Publish State Events
          POST
        • get customer by account number
          GET
      • Add Customer
        POST
      • Add & Provision Customer
        POST
      • Add Customers
        POST
      • Bulk List Customers
        POST
      • Search Customers
        GET
    • default-customer
      • Get Default Customer
      • Set Default Customer
    • frequent-customers
      • Add Frequent Customer
      • List Frequent Customers
      • Remove Frequent Customer
  1. customer

get customer by account number

Developing
GET
/customer-by-account/{account-number}
get customer by account number

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://mock.apidog.com/m1/365924-0-default/customer-by-account/2342'

Responses

🟢200Success
application/json
Body

Example
{
    "id": 0,
    "franchiseId": 0,
    "name": "string",
    "phone": "string",
    "email": "string",
    "address": {
        "street1": "string",
        "street2": "string",
        "city": "string",
        "state": "string",
        "countryCode": "string",
        "zipCode": "/regex/"
    },
    "shiptTo": {
        "name": "string",
        "address": {
            "street1": "string",
            "street2": "string",
            "city": "string",
            "state": "string",
            "countryCode": "string",
            "zipCode": "/regex/"
        },
        "phone": "string",
        "email": "string"
    },
    "billToAccount": {
        "id": 0,
        "status": "ACTIVE",
        "billToAddress": {
            "street1": "string",
            "street2": "string",
            "city": "string",
            "state": "string",
            "countryCode": "string",
            "zipCode": "/regex/"
        },
        "balance": 0,
        "creditLimit": 0,
        "cashOverLimit": false,
        "cashOverDays": false,
        "ageInDays": 0,
        "defaultPayType": "CASH",
        "payTypes": [
            "CASH"
        ],
        "priceCode": 0,
        "taxCode": "string",
        "maxDays": 0,
        "signatureRequired": false,
        "version": 0
    },
    "version": "string",
    "account": {
        "id": 0,
        "status": "ACTIVE",
        "billToAddress": {
            "street1": "string",
            "street2": "string",
            "city": "string",
            "state": "string",
            "countryCode": "string",
            "zipCode": "/regex/"
        },
        "balance": 0,
        "creditLimit": 0,
        "cashOverLimit": false,
        "cashOverDays": false,
        "ageInDays": 0,
        "defaultPayType": "CASH",
        "payTypes": [
            "CASH"
        ],
        "priceCode": 0,
        "taxCode": "string",
        "maxDays": 0,
        "signatureRequired": false,
        "version": 0
    },
    "customerNumber": "string"
}
Modified at 2025-06-20 14:10:35
Previous
Publish State Events
Next
Add Customer
Built with