Organization
Organization
List all organizations.
Reference to a tenant.
^[A-Za-z0-9-_]+
External reference to an organization.
Reference to the name of an organization.
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 |
GET /v2/tenants/{tenantUid}/organizations HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"items": [
{
"address": "text",
"city": "text",
"countryCode": "text",
"createdAt": "2025-07-30T18:07:08.642Z",
"email": "text",
"externalId": "text",
"isActive": true,
"lastModifiedAt": "2025-07-30T18:07:08.642Z",
"name": "text",
"postalCode": "text",
"phone": "text",
"organizationUid": "text",
"vatNumber": "text",
"bankInfo": {
"accountNumber": "text",
"bankName": "text",
"iban": "text",
"swift": "text"
},
"websiteUrl": "text"
}
],
"paging": {
"pageNumber": 1,
"pageSize": 1,
"totalCount": 1
}
}
Creates a new organization.
Reference to a tenant.
^[A-Za-z0-9-_]+
POST /v2/tenants/{tenantUid}/organizations HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 300
{
"address": "text",
"city": "text",
"countryCode": "text",
"email": "text",
"externalId": "text",
"isActive": true,
"name": "text",
"phone": "text",
"postalCode": "text",
"vatNumber": "text",
"websiteUrl": "text",
"bankInfo": {
"accountNumber": "text",
"bankName": "text",
"iban": "text",
"swift": "text"
},
"organizationUid": "text"
}
Example response
{
"address": "text",
"city": "text",
"countryCode": "text",
"createdAt": "2025-07-30T18:07:08.642Z",
"email": "text",
"externalId": "text",
"isActive": true,
"lastModifiedAt": "2025-07-30T18:07:08.642Z",
"name": "text",
"postalCode": "text",
"phone": "text",
"organizationUid": "text",
"vatNumber": "text",
"bankInfo": {
"accountNumber": "text",
"bankName": "text",
"iban": "text",
"swift": "text"
},
"websiteUrl": "text"
}
Get details for an organization.
Reference to an organization.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[A-Za-z0-9-_]+
GET /v2/tenants/{tenantUid}/organizations/{organizationUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Example response
{
"address": "text",
"city": "text",
"countryCode": "text",
"createdAt": "2025-07-30T18:07:08.642Z",
"email": "text",
"externalId": "text",
"isActive": true,
"lastModifiedAt": "2025-07-30T18:07:08.642Z",
"name": "text",
"postalCode": "text",
"phone": "text",
"organizationUid": "text",
"vatNumber": "text",
"bankInfo": {
"accountNumber": "text",
"bankName": "text",
"iban": "text",
"swift": "text"
},
"websiteUrl": "text"
}
Update details for an organization. Partial updates are allowed.
Reference to an organization.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[A-Za-z0-9-_]+
VAT identification number for value added tax reporting purposes.
PUT /v2/tenants/{tenantUid}/organizations/{organizationUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 275
{
"address": "text",
"city": "text",
"countryCode": "text",
"email": "text",
"externalId": "text",
"isActive": true,
"name": "text",
"phone": "text",
"postalCode": "text",
"vatNumber": "text",
"websiteUrl": "text",
"bankInfo": {
"accountNumber": "text",
"bankName": "text",
"iban": "text",
"swift": "text"
}
}
Example response
{
"address": "text",
"city": "text",
"countryCode": "text",
"createdAt": "2025-07-30T18:07:08.642Z",
"email": "text",
"externalId": "text",
"isActive": true,
"lastModifiedAt": "2025-07-30T18:07:08.642Z",
"name": "text",
"postalCode": "text",
"phone": "text",
"organizationUid": "text",
"vatNumber": "text",
"bankInfo": {
"accountNumber": "text",
"bankName": "text",
"iban": "text",
"swift": "text"
},
"websiteUrl": "text"
}
Deletes a organizations.
Reference to an organization.
^[A-Za-z0-9-_]+
Reference to a tenant.
^[A-Za-z0-9-_]+
DELETE /v2/tenants/{tenantUid}/organizations/{organizationUid} HTTP/1.1
Host: api.flowretail.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No Content
No content
Was this helpful?