Customers API
Last updated
Was this helpful?
Last updated
Was this helpful?
GET /api/v1/Customers/accounts HTTP/1.1
Host: app.prodcamp.com
Accept: */*
Success
{
"items": [
{
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
}
],
"pagesCount": 1,
"pageSize": 1,
"currentPage": 1,
"totalItemsCount": 1
}
GET /api/v1/Customers/accounts/{id} HTTP/1.1
Host: app.prodcamp.com
Accept: */*
Success
{
"contacts": [
{
"id": 1,
"firstName": "text",
"lastName": "text",
"fullName": "text",
"avatarUrl": "text",
"email": "text",
"additionalEmails": [
"text"
],
"phone": "text",
"mobile": "text",
"anotherPhone": "text",
"title": "text",
"department": "text",
"companyName": "text",
"account": {
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
},
"accountId": 1
}
],
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
}
DELETE /api/v1/Customers/accounts/{id} HTTP/1.1
Host: app.prodcamp.com
Accept: */*
No content
GET /api/v1/Customers/contacts HTTP/1.1
Host: app.prodcamp.com
Accept: */*
Success
{
"items": [
{
"id": 1,
"firstName": "text",
"lastName": "text",
"fullName": "text",
"avatarUrl": "text",
"email": "text",
"additionalEmails": [
"text"
],
"phone": "text",
"mobile": "text",
"anotherPhone": "text",
"title": "text",
"department": "text",
"companyName": "text",
"account": {
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
},
"accountId": 1
}
],
"pagesCount": 1,
"pageSize": 1,
"currentPage": 1,
"totalItemsCount": 1
}
GET /api/v1/Customers/contacts/{id} HTTP/1.1
Host: app.prodcamp.com
Accept: */*
Success
{
"id": 1,
"firstName": "text",
"lastName": "text",
"fullName": "text",
"avatarUrl": "text",
"email": "text",
"additionalEmails": [
"text"
],
"phone": "text",
"mobile": "text",
"anotherPhone": "text",
"title": "text",
"department": "text",
"companyName": "text",
"account": {
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
},
"accountId": 1
}
DELETE /api/v1/Customers/contacts/{id} HTTP/1.1
Host: app.prodcamp.com
Accept: */*
No content
POST /api/v1/Customers/accounts HTTP/1.1
Host: app.prodcamp.com
Content-Type: application/json
Accept: */*
Content-Length: 346
{
"accountName": "text",
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
}
}
{
"contacts": [
{
"id": 1,
"firstName": "text",
"lastName": "text",
"fullName": "text",
"avatarUrl": "text",
"email": "text",
"additionalEmails": [
"text"
],
"phone": "text",
"mobile": "text",
"anotherPhone": "text",
"title": "text",
"department": "text",
"companyName": "text",
"account": {
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
},
"accountId": 1
}
],
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
}
PUT /api/v1/Customers/accounts/{id} HTTP/1.1
Host: app.prodcamp.com
Content-Type: application/json
Accept: */*
Content-Length: 1257
{
"contacts": [
{
"id": 1,
"firstName": "text",
"lastName": "text",
"fullName": "text",
"avatarUrl": "text",
"email": "text",
"additionalEmails": [
"text"
],
"phone": "text",
"mobile": "text",
"anotherPhone": "text",
"title": "text",
"department": "text",
"companyName": "text",
"account": {
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
},
"accountId": 1
}
],
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
}
Success
{
"contacts": [
{
"id": 1,
"firstName": "text",
"lastName": "text",
"fullName": "text",
"avatarUrl": "text",
"email": "text",
"additionalEmails": [
"text"
],
"phone": "text",
"mobile": "text",
"anotherPhone": "text",
"title": "text",
"department": "text",
"companyName": "text",
"account": {
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
},
"accountId": 1
}
],
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
}
POST /api/v1/Customers/contacts HTTP/1.1
Host: app.prodcamp.com
Content-Type: application/json
Accept: */*
Content-Length: 751
{
"id": 1,
"firstName": "text",
"lastName": "text",
"fullName": "text",
"avatarUrl": "text",
"email": "text",
"additionalEmails": [
"text"
],
"phone": "text",
"mobile": "text",
"anotherPhone": "text",
"title": "text",
"department": "text",
"companyName": "text",
"account": {
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
},
"accountId": 1
}
Success
{
"id": 1,
"firstName": "text",
"lastName": "text",
"fullName": "text",
"avatarUrl": "text",
"email": "text",
"additionalEmails": [
"text"
],
"phone": "text",
"mobile": "text",
"anotherPhone": "text",
"title": "text",
"department": "text",
"companyName": "text",
"account": {
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
},
"accountId": 1
}
PUT /api/v1/Customers/contacts/{id} HTTP/1.1
Host: app.prodcamp.com
Content-Type: application/json
Accept: */*
Content-Length: 751
{
"id": 1,
"firstName": "text",
"lastName": "text",
"fullName": "text",
"avatarUrl": "text",
"email": "text",
"additionalEmails": [
"text"
],
"phone": "text",
"mobile": "text",
"anotherPhone": "text",
"title": "text",
"department": "text",
"companyName": "text",
"account": {
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
},
"accountId": 1
}
Success
{
"id": 1,
"firstName": "text",
"lastName": "text",
"fullName": "text",
"avatarUrl": "text",
"email": "text",
"additionalEmails": [
"text"
],
"phone": "text",
"mobile": "text",
"anotherPhone": "text",
"title": "text",
"department": "text",
"companyName": "text",
"account": {
"id": 1,
"accountName": "text",
"companyName": "text",
"status": {
"id": 1,
"caption": "text"
},
"domains": [
"text"
],
"data": {
"id": 1,
"website": "text",
"phone": "text",
"annualRevenue": 1,
"lifetimeValue": 1,
"employeesCount": 1,
"description": "text",
"industry": "text",
"type": "text",
"subscription": "text",
"accountLevel": "text",
"signupDate": "2025-05-12T14:15:09.513Z",
"firstPurchaseDate": "2025-05-12T14:15:09.513Z",
"timezone": "text"
},
"lastEditDate": "2025-05-12T14:15:09.513Z",
"createdDate": "2025-05-12T14:15:09.513Z"
},
"accountId": 1
}