CustomerContact
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
| ENUM | Description |
|---|---|
| ASC | Sort in ascending order |
| DESC | Sort in descending order |
Example response
GET /v2/tenants/{tenantUid}/customer-contacts HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"items": [
{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"customerContactUid": "text",
"displayName": "text",
"customers": [
{
"customerUid": "text",
"displayName": "text",
"role": "ADMIN",
"extensions": [
{
"extensionCode": "TWO_INVOICE",
"organizationUid": "text"
}
]
}
]
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+CustomerContactsCreateRequestSchema
^[A-Za-z0-9-_]+CustomerContactResponseSchema
POST /v2/tenants/{tenantUid}/customer-contacts HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 149
{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text",
"customerContactUid": "text",
"customers": [
{
"customerUid": "text",
"role": "ADMIN"
}
]
}{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"customerContactUid": "text",
"displayName": "text",
"customers": [
{
"customerUid": "text",
"displayName": "text",
"role": "ADMIN",
"extensions": [
{
"extensionCode": "TWO_INVOICE",
"organizationUid": "text"
}
]
}
]
}Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
| ENUM | Description |
|---|---|
| ASC | Sort in ascending order |
| DESC | Sort in descending order |
Example response
POST /v2/tenants/{tenantUid}/customer-contacts/search HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"query": "text",
"email": "text",
"mobile": "text"
}Example response
{
"items": [
{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"customerContactUid": "text",
"displayName": "text",
"customers": [
{
"customerUid": "text",
"displayName": "text",
"role": "ADMIN",
"extensions": [
{
"extensionCode": "TWO_INVOICE",
"organizationUid": "text"
}
]
}
]
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Customer contact.
^[A-Za-z0-9-_]+CustomerContactResponseSchema
GET /v2/tenants/{tenantUid}/customer-contacts/{customerContactUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"customerContactUid": "text",
"displayName": "text",
"customers": [
{
"customerUid": "text",
"displayName": "text",
"role": "ADMIN",
"extensions": [
{
"extensionCode": "TWO_INVOICE",
"organizationUid": "text"
}
]
}
]
}Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Customer contact.
^[A-Za-z0-9-_]+CustomerContactUpdateSchema
CustomerContactResponseSchema
PUT /v2/tenants/{tenantUid}/customer-contacts/{customerContactUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text"
}{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"customerContactUid": "text",
"displayName": "text",
"customers": [
{
"customerUid": "text",
"displayName": "text",
"role": "ADMIN",
"extensions": [
{
"extensionCode": "TWO_INVOICE",
"organizationUid": "text"
}
]
}
]
}Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Customer contact.
^[A-Za-z0-9-_]+OK
No content
DELETE /v2/tenants/{tenantUid}/customer-contacts/{customerContactUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
OK
No content
List all customers for a contact
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Customer contact.
^[A-Za-z0-9-_]+Example response
GET /v2/tenants/{tenantUid}/customer-contacts/{customerContactUid}/customers HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"items": [
{
"customerUid": "text",
"displayName": "text",
"role": "ADMIN",
"extensions": [
{
"extensionCode": "TWO_INVOICE",
"organizationUid": "text"
}
]
}
]
}Add a customer-contact to a customer
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Customer contact.
^[A-Za-z0-9-_]+Example response
POST /v2/tenants/{tenantUid}/customer-contacts/{customerContactUid}/customers HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 53
{
"customers": [
{
"customerUid": "text",
"role": "ADMIN"
}
]
}Example response
{
"items": [
{
"customerUid": "text",
"displayName": "text",
"role": "ADMIN",
"extensions": [
{
"extensionCode": "TWO_INVOICE",
"organizationUid": "text"
}
]
}
]
}Remove a customer for a contact
Access token recevied after user login with a deviceToken
Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Customer contact.
^[A-Za-z0-9-_]+Reference to a Customer.
^[A-Za-z0-9-_]+Customer removed
No content
DELETE /v2/tenants/{tenantUid}/customer-contacts/{customerContactUid}/customers/{customerUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Customer removed
No content
Access token recevied after user login with a deviceToken
Reference to a Customer.
^[A-Za-z0-9-_]+Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a specific page in a result set.
The number of items per page in a result set.
Defines which field the resource list is sorted by.
| ENUM | Description |
|---|---|
| ASC | Sort in ascending order |
| DESC | Sort in descending order |
Example response
GET /v2/tenants/{tenantUid}/customers/{customerUid}/contacts HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"items": [
{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"customerContactUid": "text",
"extensions": [
{
"extensionCode": "TWO_INVOICE",
"organizationUid": "text"
}
],
"displayName": "text",
"role": "ADMIN"
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}Create a new contact and add it to a customer
Access token recevied after user login with a deviceToken
Reference to a Customer.
^[A-Za-z0-9-_]+Reference to a tenant.
^[A-Za-z0-9-_]+CustomerContactCreateSchema
^[A-Za-z0-9-_]+Example response
CustomerContactResponseSchema
POST /v2/tenants/{tenantUid}/customers/{customerUid}/contacts HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 112
{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text",
"customerContactUid": "text",
"role": "ADMIN"
}Example response
{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"customerContactUid": "text",
"extensions": [
{
"extensionCode": "TWO_INVOICE",
"organizationUid": "text"
}
],
"displayName": "text",
"role": "ADMIN"
}Get contact details for a customer
Access token recevied after user login with a deviceToken
Reference to a Customer.
^[A-Za-z0-9-_]+Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Customer contact.
^[A-Za-z0-9-_]+Example response
CustomerContactResponseSchema
GET /v2/tenants/{tenantUid}/customers/{customerUid}/contacts/{customerContactUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"customerContactUid": "text",
"extensions": [
{
"extensionCode": "TWO_INVOICE",
"organizationUid": "text"
}
],
"displayName": "text",
"role": "ADMIN"
}Update contact details for a customer
Access token recevied after user login with a deviceToken
Reference to a Customer.
^[A-Za-z0-9-_]+Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Customer contact.
^[A-Za-z0-9-_]+CustomerContactUpdateSchema
Example response
CustomerContactResponseSchema
PUT /v2/tenants/{tenantUid}/customers/{customerUid}/contacts/{customerContactUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text"
}Example response
{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"customerContactUid": "text",
"extensions": [
{
"extensionCode": "TWO_INVOICE",
"organizationUid": "text"
}
],
"displayName": "text",
"role": "ADMIN"
}Delete a contact for a customer
Access token recevied after user login with a deviceToken
Reference to a Customer.
^[A-Za-z0-9-_]+Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Customer contact.
^[A-Za-z0-9-_]+No Content
No content
DELETE /v2/tenants/{tenantUid}/customers/{customerUid}/contacts/{customerContactUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No Content
No content
Add extension to a customer contact
Access token recevied after user login with a deviceToken
Reference to a Customer.
^[A-Za-z0-9-_]+Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Customer contact.
^[A-Za-z0-9-_]+| ENUM | Description |
|---|---|
| TWO_INVOICE | The Two Invoice extension. |
| KLAVIYO_PROFILE_ID | Klaviyo profile ID |
^[A-Za-z0-9-_]+Example response
CustomerContactResponseSchema
POST /v2/tenants/{tenantUid}/customers/{customerUid}/contacts/{customerContactUid}/extensions/{customerExtensionCode} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"storeUid": "text"
}Example response
{
"firstname": "text",
"lastname": "text",
"email": "text",
"mobile": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastModifiedAt": "2026-01-01T00:00:00.000Z",
"customerContactUid": "text",
"extensions": [
{
"extensionCode": "TWO_INVOICE",
"organizationUid": "text"
}
],
"displayName": "text",
"role": "ADMIN"
}Delete extension from a customer contact
Access token recevied after user login with a deviceToken
Reference to a Customer.
^[A-Za-z0-9-_]+Reference to a tenant.
^[A-Za-z0-9-_]+Reference to a Customer contact.
^[A-Za-z0-9-_]+| ENUM | Description |
|---|---|
| TWO_INVOICE | The Two Invoice extension. |
| KLAVIYO_PROFILE_ID | Klaviyo profile ID |
^[A-Za-z0-9-_]+No Content
No content
DELETE /v2/tenants/{tenantUid}/customers/{customerUid}/contacts/{customerContactUid}/extensions/{customerExtensionCode} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"storeUid": "text"
}No Content
No content
Last updated