GET
/
customers
curl --request GET \
  --url https://api.withorb.com/v1/customers \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "metadata": {},
      "id": "<string>",
      "external_customer_id": "<string>",
      "name": "<string>",
      "email": "<string>",
      "timezone": "<string>",
      "payment_provider_id": "<string>",
      "payment_provider": "quickbooks",
      "created_at": "2023-11-07T05:31:56Z",
      "shipping_address": {
        "line1": "<string>",
        "line2": "<string>",
        "city": "<string>",
        "state": "<string>",
        "postal_code": "<string>",
        "country": "<string>"
      },
      "billing_address": {
        "line1": "<string>",
        "line2": "<string>",
        "city": "<string>",
        "state": "<string>",
        "postal_code": "<string>",
        "country": "<string>"
      },
      "balance": "<string>",
      "currency": "<string>",
      "tax_id": {
        "country": "AD",
        "type": "ad_nrt",
        "value": "<string>"
      },
      "auto_collection": true,
      "exempt_from_automated_tax": true,
      "email_delivery": true,
      "additional_emails": [
        "<string>"
      ],
      "portal_url": "<string>",
      "accounting_sync_configuration": {
        "excluded": true,
        "accounting_providers": [
          {
            "provider_type": "quickbooks",
            "external_provider_id": "<string>"
          }
        ]
      },
      "reporting_configuration": {
        "exempt": true
      },
      "hierarchy": {
        "parent": {
          "id": "<string>",
          "external_customer_id": "<string>"
        },
        "children": [
          {
            "id": "<string>",
            "external_customer_id": "<string>"
          }
        ]
      }
    }
  ],
  "pagination_metadata": {
    "has_more": true,
    "next_cursor": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API Keys can be issued in the Orb's web application.

Query Parameters

limit
integer
default:20

The number of items to fetch. Defaults to 20.

Required range: 1 <= x <= 100
cursor
string | null

Cursor for pagination. This can be populated by the next_cursor value returned from the initial request.

created_at[gte]
string | null
created_at[gt]
string | null
created_at[lt]
string | null
created_at[lte]
string | null

Response

200
application/json
OK

The response is of type object.