Customers

get
/v1/profiles/{profileId}/customers

Returns a paged list of all the customers

Authorizations
OAuth2clientCredentialsRequired

This API uses OAuth 2 with the credentials grant flow.

Token URL: Refresh URL:
Path parameters
partnerIdstringRequired

The id of the partner to retrieve

profileIdstringRequired

The id of the profile

Responses
200

OK

application/json
get
/v1/profiles/{profileId}/customers
200

OK

post
/v1/profiles/{profileId}/customers

Creates a customer

Authorizations
OAuth2clientCredentialsRequired

This API uses OAuth 2 with the credentials grant flow.

Token URL: Refresh URL:
Path parameters
profileIdstringRequired

The id of the profile

Body

PSU creation customer type

companystringOptional

Company name

first_namestringOptional

First name of the customer

Example: John
last_namestringOptional

Last name of the customer

Example: Doe
emailstringOptional

Email adderss of the customer

Example: [email protected]
phonestringOptionalExample: 318000201068
Responses
200

OK

application/json
post
/v1/profiles/{profileId}/customers
get
/v1/profiles/{profileId}/customers/{customerId}

Returns the data of the customer

Authorizations
OAuth2clientCredentialsRequired

This API uses OAuth 2 with the credentials grant flow.

Token URL: Refresh URL:
Path parameters
profileIdstringRequired

The id of the profile

customerIdstringRequired

The id of the customer

Responses
200

OK

application/json
get
/v1/profiles/{profileId}/customers/{customerId}
put
/v1/profiles/{profileId}/customers/{customerId}

Updates a customer

Authorizations
OAuth2clientCredentialsRequired

This API uses OAuth 2 with the credentials grant flow.

Token URL: Refresh URL:
Path parameters
profileIdstringRequired

The id of the profile

customerIdstringRequired

The id of the customer

Body

PSU creation customer type

companystringOptional

Company name

first_namestringOptional

First name of the customer

Example: John
last_namestringOptional

Last name of the customer

Example: Doe
emailstringOptional

Email adderss of the customer

Example: [email protected]
phonestringOptionalExample: 318000201068
Responses
200

OK

application/json
put
/v1/profiles/{profileId}/customers/{customerId}
delete
/v1/profiles/{profileId}/customers/{customerId}

Deletes the customer

Authorizations
OAuth2clientCredentialsRequired

This API uses OAuth 2 with the credentials grant flow.

Token URL: Refresh URL:
Path parameters
profileIdstringRequired

The id of the profile

customerIdstringRequired

The id of the customer

Responses
200

OK

application/json
delete
/v1/profiles/{profileId}/customers/{customerId}

Was this helpful?