Connect Customer
In order to interact with the API on behalf a customer that you did not create with the Create Customer endpoint, you must gain access to the customer with the Connect Customer endpoint.
REST Endpoint
POST /restapi/v1/connect-customer
Request Content Type
application/json
Request JSON Example
{
"username": "someusername",
"password": "somepassword"
}
Explanation of Request Fields
Field | Type | Required | Description |
---|---|---|---|
username | string | true | The username of the existing customer |
password | string | true | The password of the existing customer |
Response Status Code
200 OK
Response Content Type
application/json
Response JSON Example
{
"customerId": "10000001"
}
Explanation of Response Fields
Field | Type | Description |
---|---|---|
customerId | string | The customerId of the customer |