GET
/
customers
/
{id}
curl --request GET \
  --url https://api.sulu.sh/v0/customers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "customer",
  "consumerId": "<string>",
  "merchantId": "<string>",
  "paymentAuthorizationEnabled": true,
  "authorizationToken": "<string>",
  "authorizationExpiresAt": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "organization": {
    "id": "<string>",
    "name": "<string>",
    "billingEmail": "jsmith@example.com",
    "phone": "<string>",
    "address": {
      "line1": "<string>",
      "line2": "<string>",
      "city": "<string>",
      "state": "<string>",
      "country": "<string>",
      "zipCode": "<string>"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The unique identifier of the customer.

Response

200
application/json
Customer details retrieved successfully
id
string
required

Unique identifier for a customer

object
enum<string>
default:customer
required
Available options:
customer
consumerId
string
required

Unique identifier for an organization

merchantId
string
required

Unique identifier for an organization

paymentAuthorizationEnabled
boolean
required
createdAt
string
required
updatedAt
string
required
authorizationToken
string
authorizationExpiresAt
string
organization
object