Customers

Customers object

Get customers

get
/v1/customers

This operation returns a list of customers

Note: This operation needs Authentication and supports the following JSON:API features:

  • Filters - emailEq, fullNameEq

  • Sparse fieldsets - supports all fields of customer query parameter.

Authorizations
AuthorizationstringRequired

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Query parameters
page[size]integer · int32 · min: 1 · max: 1000Optional

The number of resources to return in a single response.

page[before]string · min: 1 · max: 36Optional

Unique identifier.

Pattern: ^[a-zA-Z0-9-]+$
page[after]string · min: 1 · max: 36Optional

Unique identifier.

Pattern: ^[a-zA-Z0-9-]+$
filter[emailEq]string · max: 255Optional

Email

Example: [email protected]Pattern: ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
filter[fullNameEq]string · max: 255Optional

Full Name

Example: Name SurnamePattern: ^[^<>&]+$
Responses
chevron-right
200

Successful response with customers data in JSON:API format.

application/vnd.api+json
get
/v1/customers

Create customer

post
/v1/customers

Create a customer. A customer represents a person or organization that can be billed for goods or services. Note: This operation needs Authentication.

Authorizations
AuthorizationstringRequired

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Body
Responses
post
/v1/customers

Last updated

Was this helpful?