Customer API (1.0.0)
Download OpenAPI specification:Download
Create an administrator
Create a new administrator user. Admin users can only be created by another admin user. Unlike customers they are not connected to an organisation.
Authorizations:
Request Body schema: application/json
| givenName required | string |
| familyName required | string |
| countryISO required | string = 2 characters |
| email required | string <hectare-email> Hectare email address |
| phone | string or null <phone-number> Phone number |
| password | string <cognito-password> Standard cognito password |
| useMFA | boolean Has multi factor authenitcation |
| status | string Enum: "active" "inactive" "deleted" "pending" "verified" Current status of the user |
Responses
Request samples
- Payload
{- "givenName": "string",
- "familyName": "string",
- "countryISO": "st",
- "email": "string",
- "phone": "string",
- "password": "string",
- "useMFA": true,
- "status": "active"
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "countryISO": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "useMFA": true,
- "status": "active"
}Retrieve all administrators
Retrieves a list of administrators that are available in the platform. You can also use the query parameters to:
- View the users without loading all of them at once, for example, return a specified number of users per page. (Pagination)
- Sort the list (Sorting)
User object, use the Retrieve an administrator endpoint.
Authorizations:
query Parameters
| limit | integer Limit page size of results |
| offset | integer Number of results to skip for the current page |
| sortBy | string Sort results by this field |
| sortDesc | boolean Sort results descending if true, otherwise ascending |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
[- {
- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "countryISO": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "useMFA": true,
- "status": "active"
}
]Retrieve an administrator
Retrieves a single administrator record.
Authorizations:
path Parameters
| id required | string User Id |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "countryISO": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "useMFA": true,
- "status": "active"
}Update an administrator
Updates an administrators record. And changes to an an administrators email address will trigger a verification flow
Authorizations:
path Parameters
| id required | string User Id |
Request Body schema: application/json
| givenName | string |
| familyName | string |
| countryISO | string |
string | |
| phone | string or null <phone-number> Phone number |
| useMFA | boolean Has multi factor authentication |
| status | string Current status of the user |
Responses
Request samples
- Payload
{- "givenName": "string",
- "familyName": "string",
- "countryISO": "string",
- "email": "string",
- "phone": "string",
- "useMFA": true,
- "status": "string"
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "countryISO": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "useMFA": true,
- "status": "active"
}Get Business
Retrieve business for a business unit
Authorizations:
path Parameters
| id required | string Business Id |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "businessUnitId": "string",
- "organisationId": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "assurance": {
- "identifierType": "holdingno",
- "identifier": "11/111/1111",
- "certificateStatus": "Valid",
- "certificateIdentifier": "2RRVTHNXTS.C753I0PM8NCK8"
}
}Get Red Tractor Certificates
Retrieve all valid or grace statused Red Tractor certifications for this business
Authorizations:
query Parameters
| country required | string = 3 characters Default: "GBR" ISO3 country code |
| postcode | string Postcode of location |
| holdingNumber | string Holding number for scheme |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
[- {
- "identifierType": "holdingno",
- "identifier": "11/111/1111",
- "certificateStatus": "Valid",
- "certificateIdentifier": "2RRVTHNXTS.C753I0PM8NCK8"
}
]Create Business Unit
Create a new business unit within an organisation
Authorizations:
Request Body schema: application/json
| organisationId required | string Organisation id to which the business units belong |
| name required | string The name of the business unit |
| type required | string Enum: "farm" "stores" "region" The type of business unit being created |
object |
Responses
Request samples
- Payload
{- "organisationId": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string"
}
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}Get BusinessUnit
Retrieve business units for an organisation all of them without filtering by users business units
Authorizations:
path Parameters
| id required | string Business Unit Id |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "organisationId": "string",
- "organisationName": "string",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
]
}Get BusinessUnit
Retrieve business units for an organisation filtered by user
Authorizations:
path Parameters
| id required | string Business Unit Id |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "organisationId": "string",
- "organisationName": "string",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
]
}Update Business Unit
Updates an Organisations business unit properties
Authorizations:
path Parameters
| id required | string Business Unit Id |
Request Body schema: application/json
| name | string or null The name of the business unit |
object |
Responses
Request samples
- Payload
{- "name": "string",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string"
}
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}Business connections are organisations with whom customers have a business relationship. This entity stores contacts, and other meta data associated with the relationship
Create Business Connection
Creates a new business connection for a customer. This endpoint requires that a user has a valid access token and will uses their own organisation id to attach the busines connection. When a connection object is passed to the endpoint, it will create any contacts sent with payload as users in the organisation. These users are not standard users, they will have a password generated for them, but they will not recieve an invitation email to set up their account in the platform.
Authorizations:
Request Body schema: application/json
| id | string or null The ID of any existing organisation that is to be connected to the calling organisation |
| companyNumber | string or null <company-number> Legal number associated with an incorporated business |
| countryISO | string Country where the business is based |
| name | string Name of the business |
| isPreferred | boolean or null Sets the new organisation as preferred if it is a new connection |
| type | Array of strings or null Enum: "carrier" "farm-management" "broker" "consolidator" "other" types of business e.g. Carrier, Broker, Consolidator etc |
required | Array of objects or objects The contact records that are to be stored agains the new organisation or an existing organisation |
Responses
Request samples
- Payload
{- "id": "string",
- "companyNumber": "string",
- "countryISO": "string",
- "name": "string",
- "isPreferred": true,
- "type": [
- "carrier"
], - "contacts": [
- {
- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "email": "string",
- "phone": "string"
}
]
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "connectedOrganisations": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
]
}Get Business Connections
Retrieves the business connection record for the organisation The response includes all contacts that belong to the organisation connected
Authorizations:
query Parameters
| limit | integer Limit page size of results |
| offset | integer Number of results to skip for the current page |
| sortBy | string Sort results by this field |
| sortDesc | boolean Sort results descending if true, otherwise ascending |
| tags | string Filter by tags |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "connectedOrganisations": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
]
}Delete Business Connection
Removes an organisation from the connected businesses of the calling organisation. Will return the business connection record with the remaining connected organisations and their contacts
Authorizations:
path Parameters
| id required | string Organisation Id |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "message": "string",
- "status": "string"
}Create users in Cognito
Creates users in Cognito from the user account in RavenDB. All RavenDB users will be recreated
Authorizations:
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "countryISO": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "useMFA": true,
- "status": "active"
}Swap a user from one pool to another on login
Swap a user from one pool to another on login
Request Body schema: application/json
| username required | string |
| password | string <cognito-password> Standard cognito password |
Responses
Request samples
- Payload
{- "username": "string",
- "password": "string"
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "status": "not-found",
- "authenticated": true,
- "id": "string"
}Create User in Cognito
Create a user in Cognito from a user account in RavenDB
Authorizations:
path Parameters
| id required | string User Id |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "countryISO": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "useMFA": true,
- "status": "active"
}Sync to Cognito
Sync user record from a RavenDB user to Cognito
Authorizations:
path Parameters
| id required | string User Id |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "countryISO": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "useMFA": true,
- "status": "active"
}Customers of Platform are always organisations. We assign permissions to users created within those customer organisations. The users within those organisations have different roles, which allow them to carry out tasks within the system.
Customer Invite
Invites a new business to Platform and connects this business to the org that sent the invite out
Authorizations:
Request Body schema: application/json
| id | string or null |
| companyNumber | string or null <company-number> Legal number associated with an incorporated business |
| countryISO required | string Country where the business is based |
| name required | string Name of the business |
required | object Company admin/owner user |
| isPreferred | boolean Sets the new organisation as preferred if it is a new connection |
| type | Array of strings or null Enum: "carrier" "farm-management" "broker" "consolidator" "other" types of business e.g. Carrier, Broker, Consolidator etc |
Responses
Request samples
- Payload
{- "id": "string",
- "companyNumber": "string",
- "countryISO": "string",
- "name": "string",
- "ownerContact": {
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "id": "string",
- "phone": "string"
}, - "isPreferred": true,
- "type": [
- "carrier"
]
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "website": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "connections": [
- "string"
], - "countryISO": "GB",
- "inventoryType": [
- "string"
], - "logo": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "name": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "familyName": "string",
- "givenName": "string"
}, - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "status": "active",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "name": "string",
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}Customer self-signup
Users of Platform can sign themselves up to the Inventory and Trading service using this endpoint. Eventually the Logistics servic will be migrated here also
Authorizations:
Request Body schema: application/json
required | object |
required | object or object |
Responses
Request samples
- Payload
{- "organisation": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "inventoryType": [
- "string"
], - "logo": {
- "id": "string",
- "url": "string"
}, - "name": "string",
- "referrer": "self-service",
- "website": "string",
- "countryISO": "GB",
- "phone": "string",
- "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
], - "connections": [
- "string"
], - "flags": { },
- "status": "active",
- "ownerContact": {
- "phone": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string"
}, - "businessUnits": {
- "name": "string",
- "type": "farm"
}, - "preferred": [
- "string"
], - "preferredBy": [
- "string"
]
}, - "user": {
- "givenName": "string",
- "familyName": "string",
- "countryISO": "string",
- "email": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "permissions": [
- "string"
], - "phone": "string",
- "phoneLandline": "string",
- "password": "string",
- "referrer": "string",
- "useMFA": true,
- "organisationId": "string",
- "avatar": {
- "id": "string",
- "url": "string"
}, - "status": "active",
- "businessUnits": [
- "string"
], - "createdByUserId": "string"
}
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "organisation": {
- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "website": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "connections": [
- "string"
], - "countryISO": "GB",
- "inventoryType": [
- "string"
], - "logo": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "name": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "familyName": "string",
- "givenName": "string"
}, - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "status": "active",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "name": "string",
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}, - "user": {
- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "countryISO": "string",
- "email": "string",
- "impersonating": false,
- "groups": [
- "string"
], - "roles": [
- "string"
], - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "phoneLandline": {
- "callingCode": "string",
- "number": "string"
}, - "avatar": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "referrer": "string",
- "organisationId": "string",
- "authPlatformId": "string",
- "useMFA": true,
- "status": "active",
- "permissions": [
- "string"
], - "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
]
}
}Customer exists
Checks to see if a customer exists in the database with the same basic details.
This endpoint does a check on the owner email address to see if there is an active or pending organisation
in the db with an exact match owner contact email address.
If that check passes it will do a fuzzy check for and
organisation with the same name, where the owner contact email address has the same domain and the country is the
same and the status is either active or pending.
If any matches are found it will send them back with the response
query Parameters
| name required | string Company name |
| number | string or null <company-number> Company legal registration number |
| taxId | string Company Tax ID number |
| countryISO required | string <= 2 characters Country code |
| email required | string Contacts email address |
| phone | string Company name |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "status": "ok",
- "organisation": {
- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "website": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "connections": [
- "string"
], - "countryISO": "GB",
- "inventoryType": [
- "string"
], - "logo": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "name": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "familyName": "string",
- "givenName": "string"
}, - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "status": "active",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "name": "string",
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "organisation": {
- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "website": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "connections": [
- "string"
], - "countryISO": "GB",
- "inventoryType": [
- "string"
], - "logo": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "name": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "familyName": "string",
- "givenName": "string"
}, - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "status": "active",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "name": "string",
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}, - "user": {
- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "countryISO": "string",
- "email": "string",
- "impersonating": false,
- "groups": [
- "string"
], - "roles": [
- "string"
], - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "phoneLandline": {
- "callingCode": "string",
- "number": "string"
}, - "avatar": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "referrer": "string",
- "organisationId": "string",
- "authPlatformId": "string",
- "useMFA": true,
- "status": "active",
- "permissions": [
- "string"
], - "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
]
}, - "access": {
- "administrator": true,
- "system": {
- "property1": {
- "read": true,
- "write": true
}, - "property2": {
- "read": true,
- "write": true
}
}, - "inventory": {
- "property1": {
- "read": true,
- "write": true
}, - "property2": {
- "read": true,
- "write": true
}
}, - "account": {
- "property1": {
- "read": true,
- "write": true
}, - "property2": {
- "read": true,
- "write": true
}
}, - "trading": {
- "property1": {
- "read": true,
- "write": true
}, - "property2": {
- "read": true,
- "write": true
}
}, - "logistics": {
- "property1": {
- "read": true,
- "write": true
}, - "property2": {
- "read": true,
- "write": true
}
}
}, - "features": {
- "property1": true,
- "property2": true
}
}Complete signup
Complete the customer self signup, which was started via an invitation. Users of Platform can sign themselves up to the Inventory and Trading service using this endpoint. Eventually the Logistics servic will be migrated here also
path Parameters
| id required | string Organisation Id |
Request Body schema: application/json
required | object |
required | object or object |
Responses
Request samples
- Payload
{- "organisation": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "inventoryType": [
- "string"
], - "logo": {
- "id": "string",
- "url": "string"
}, - "name": "string",
- "referrer": "self-service",
- "website": "string",
- "countryISO": "GB",
- "phone": "string",
- "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
], - "connections": [
- "string"
], - "flags": { },
- "status": "active",
- "ownerContact": {
- "phone": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string"
}, - "businessUnits": {
- "name": "string",
- "type": "farm"
}, - "preferred": [
- "string"
], - "preferredBy": [
- "string"
]
}, - "user": {
- "givenName": "string",
- "familyName": "string",
- "countryISO": "string",
- "email": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "permissions": [
- "string"
], - "phone": "string",
- "phoneLandline": "string",
- "password": "string",
- "referrer": "string",
- "useMFA": true,
- "organisationId": "string",
- "avatar": {
- "id": "string",
- "url": "string"
}, - "status": "active",
- "businessUnits": [
- "string"
], - "createdByUserId": "string"
}
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "organisation": {
- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "website": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "connections": [
- "string"
], - "countryISO": "GB",
- "inventoryType": [
- "string"
], - "logo": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "name": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "familyName": "string",
- "givenName": "string"
}, - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "status": "active",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "name": "string",
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}, - "user": {
- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "countryISO": "string",
- "email": "string",
- "impersonating": false,
- "groups": [
- "string"
], - "roles": [
- "string"
], - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "phoneLandline": {
- "callingCode": "string",
- "number": "string"
}, - "avatar": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "referrer": "string",
- "organisationId": "string",
- "authPlatformId": "string",
- "useMFA": true,
- "status": "active",
- "permissions": [
- "string"
], - "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
]
}
}Create organisation
Create a new customers organisation
Authorizations:
Request Body schema: application/json
required | object or null |
| bio | string |
| companyHoldingNumber | string identification number for your farm or business which pinpoints the location of the land. |
| companyNumber | string or null <company-number> Legal number associated with an incorporated business |
| companySalesTaxId | string Tax id associated with the business |
| inventoryType | Array of strings Type of inventory this organisation produces |
object or null | |
| name required | string Name of the business |
| referrer required | string Enum: "self-service" "admin-sign-up" "invitation" how the organisaton was signed up |
| website | string url of the company website |
| countryISO required | string Default: "GB" Enum: "GB" "US" "ZA" "FR" Country where the business is based |
| phone | string or null <phone-number> Phone number |
| type | Array of strings or null Enum: "carrier" "farm-management" "broker" "consolidator" "other" types of business e.g. Carrier, Broker, Consolidator etc |
required | object or null |
required | Array of objects |
| connections | Array of strings ids of the organisations that are connected to this organisation |
| flags | object |
| status | string Enum: "active" "inactive" "pending" |
required | object or object Company admin/owner user |
object | |
| preferred | Array of strings Organisations that are preferred by this org |
| preferredBy | Array of strings Organisations that this organisation are preferred by |
Responses
Request samples
- Payload
{- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "inventoryType": [
- "string"
], - "logo": {
- "id": "string",
- "url": "string"
}, - "name": "string",
- "referrer": "self-service",
- "website": "string",
- "countryISO": "GB",
- "phone": "string",
- "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
], - "connections": [
- "string"
], - "flags": { },
- "status": "active",
- "ownerContact": {
- "phone": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string"
}, - "businessUnits": {
- "name": "string",
- "type": "farm"
}, - "preferred": [
- "string"
], - "preferredBy": [
- "string"
]
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "website": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "connections": [
- "string"
], - "countryISO": "GB",
- "inventoryType": [
- "string"
], - "logo": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "name": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "familyName": "string",
- "givenName": "string"
}, - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "status": "active",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "name": "string",
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}Get Organisations
Get Organisations
Authorizations:
query Parameters
| limit | integer Limit page size of results |
| offset | integer Number of results to skip for the current page |
| sortBy | string Sort results by this field |
| sortDesc | boolean Sort results descending if true, otherwise ascending |
| tags | string Filter by tags |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
[- {
- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "website": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "connections": [
- "string"
], - "countryISO": "GB",
- "inventoryType": [
- "string"
], - "logo": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "name": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "familyName": "string",
- "givenName": "string"
}, - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "status": "active",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "name": "string",
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}
]Get organisations by id
Get organisations records by id
Authorizations:
query Parameters
| ids required | string Comma separated list of ids |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
[- {
- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "GB",
- "name": "string",
- "status": "active",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}, - "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
]
}
]Get Organisation
Get Organisation
Authorizations:
path Parameters
| id required | string Organisation Id |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "website": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "connections": [
- "string"
], - "countryISO": "GB",
- "inventoryType": [
- "string"
], - "logo": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "name": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "familyName": "string",
- "givenName": "string"
}, - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "status": "active",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "name": "string",
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}Update Organisation
Updates an Organisations properties
Authorizations:
path Parameters
| id required | string Organisation Id |
Request Body schema: application/json
object or null | |
| bio | string or null |
| companyHoldingNumber | string or null identification number for your farm or business which pinpoints the location of the land. |
| companyNumber | string or null <company-number> Legal number associated with an incorporated business |
| companySalesTaxId | string or null Tax id associated with the business |
| inventoryType | Array of strings or null Type of inventory this organisation produces |
object or null | |
| name | string or null Name of the business |
| referrer | string or null Enum: "self-service" "admin-sign-up" "invitation" how the organisaton was signed up |
| website | string or null url of the company website |
| countryISO | string or null Default: "GB" Enum: "GB" "US" "ZA" "FR" Country where the business is based |
| phone | string or null <phone-number> Phone number |
| type | Array of strings or null Enum: "carrier" "farm-management" "broker" "consolidator" "other" types of business e.g. Carrier, Broker, Consolidator etc |
object or null | |
Array of objects |
Responses
Request samples
- Payload
{- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "inventoryType": [
- "string"
], - "logo": {
- "id": "string",
- "url": "string"
}, - "name": "string",
- "referrer": "self-service",
- "website": "string",
- "countryISO": "GB",
- "phone": "string",
- "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "website": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "connections": [
- "string"
], - "countryISO": "GB",
- "inventoryType": [
- "string"
], - "logo": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "name": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "familyName": "string",
- "givenName": "string"
}, - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "status": "active",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "name": "string",
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}Get Connected Organisations
Get Connected Organisations
Authorizations:
query Parameters
| limit | integer Limit page size of results |
| offset | integer Number of results to skip for the current page |
| sortBy | string Sort results by this field |
| sortDesc | boolean Sort results descending if true, otherwise ascending |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "message": "string",
- "status": "string"
}Set as Preferred
Sets an organisation as preferred by another
Authorizations:
path Parameters
| id required | string Organisation Id |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "website": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "connections": [
- "string"
], - "countryISO": "GB",
- "inventoryType": [
- "string"
], - "logo": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "name": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "familyName": "string",
- "givenName": "string"
}, - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "status": "active",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "name": "string",
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}Delete as Preferred
Removes an organisation as preferred by another
Authorizations:
path Parameters
| id required | string Organisation Id |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "website": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "connections": [
- "string"
], - "countryISO": "GB",
- "inventoryType": [
- "string"
], - "logo": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "name": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "familyName": "string",
- "givenName": "string"
}, - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "status": "active",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "name": "string",
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}Change Owner
Changes the owner of the organisation
Authorizations:
Request Body schema: application/json
| newOwnerUserId required | string The user id to be the new owner |
Responses
Request samples
- Payload
{- "newOwnerUserId": "string"
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "bio": "string",
- "website": "string",
- "companyHoldingNumber": "string",
- "companyNumber": "string",
- "companySalesTaxId": "string",
- "connections": [
- "string"
], - "countryISO": "GB",
- "inventoryType": [
- "string"
], - "logo": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "name": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "familyName": "string",
- "givenName": "string"
}, - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "status": "active",
- "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
], - "businessConnections": [
- {
- "organisationId": "string",
- "organisationName": "string",
- "connectionType": "string",
- "contacts": [
- {
- "givenName": "string",
- "familyName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}, - "email": "string",
- "id": "string",
- "authPlatformId": "string"
}
], - "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "region": "string",
- "postcode": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "countryISO": "string",
- "ownerContact": {
- "id": "string",
- "email": "string",
- "familyName": "string",
- "givenName": "string",
- "phone": {
- "callingCode": "string",
- "number": "string"
}
}
}
], - "preferred": [
- "string"
], - "preferredBy": [
- "string"
], - "type": [
- "carrier"
], - "billing": {
- "amount": 0,
- "currency": "string",
- "period": "month"
}, - "modules": [
- {
- "name": "string",
- "id": 0,
- "price": {
- "amount": 0,
- "currency": "string"
}
}
]
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "countryISO": "string",
- "email": "string",
- "impersonating": false,
- "groups": [
- "string"
], - "roles": [
- "string"
], - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "phoneLandline": {
- "callingCode": "string",
- "number": "string"
}, - "avatar": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "referrer": "string",
- "organisationId": "string",
- "authPlatformId": "string",
- "useMFA": true,
- "status": "active",
- "permissions": [
- "string"
], - "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
]
}Patch User
Patch User
Authorizations:
path Parameters
| id required | string User Id |
Request Body schema: application/json
| givenName | string or null |
| familyName | string or null |
| countryISO | string or null |
string or null | |
| roles | Array of strings or null The role this user has |
| permissions | Array of strings or null The permissions that the user should have (obsolete use roles) |
| phone | string or null <phone-number> Phone number |
| phoneLandline | string or null <phone-number> Phone number |
| referrer | string or null This is how the user was referred |
| useMFA | boolean or null Has multi factor authenitcation |
| status | string or null Current status of the user |
| organisationId | string or null The organisation this user belongs too |
object or null | |
| businessUnits | Array of strings or null The user business units, list of ids |
Responses
Request samples
- Payload
{- "givenName": "string",
- "familyName": "string",
- "countryISO": "string",
- "email": "string",
- "roles": [
- "string"
], - "permissions": [
- "string"
], - "phone": "string",
- "phoneLandline": "string",
- "referrer": "string",
- "useMFA": true,
- "status": "string",
- "organisationId": "string",
- "avatar": {
- "id": "string",
- "url": "string"
}, - "businessUnits": [
- "string"
]
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "countryISO": "string",
- "email": "string",
- "impersonating": false,
- "groups": [
- "string"
], - "roles": [
- "string"
], - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "phoneLandline": {
- "callingCode": "string",
- "number": "string"
}, - "avatar": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "referrer": "string",
- "organisationId": "string",
- "authPlatformId": "string",
- "useMFA": true,
- "status": "active",
- "permissions": [
- "string"
], - "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
]
}Get Users
Get Users
Authorizations:
query Parameters
| limit | integer Limit page size of results |
| offset | integer Number of results to skip for the current page |
| sortBy | string Sort results by this field |
| sortDesc | boolean Sort results descending if true, otherwise ascending |
Responses
Response samples
- 200
- 400
- 401
- 403
- 409
- 500
[- {
- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "countryISO": "string",
- "email": "string",
- "impersonating": false,
- "groups": [
- "string"
], - "roles": [
- "string"
], - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "phoneLandline": {
- "callingCode": "string",
- "number": "string"
}, - "avatar": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "referrer": "string",
- "organisationId": "string",
- "authPlatformId": "string",
- "useMFA": true,
- "status": "active",
- "permissions": [
- "string"
], - "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
]
}
]Create user
Create a new customer user. This endpoint can only be used by team owners creating users for their organisation
Authorizations:
Request Body schema: application/json
| givenName required | string |
| familyName required | string |
| countryISO required | string |
| email required | string |
| groups | Array of strings The role this user has |
| roles | Array of strings The role this user has |
| permissions | Array of strings The role this user has (obsolete just use roles) |
| phone | string or null <phone-number> Phone number |
| phoneLandline | string or null <phone-number> Phone number |
| password | string <cognito-password> Standard cognito password |
| referrer | string This is how the user was referred |
| useMFA | boolean Has multi factor authenitcation |
| organisationId | string The ID of the organisation |
object or null | |
| status | string Enum: "active" "inactive" "deleted" "pending" "verified" Current status of the user |
| businessUnits | Array of strings The user business units, list of ids |
| createdByUserId | string This id of the user that created the record |
Responses
Request samples
- Payload
{- "givenName": "string",
- "familyName": "string",
- "countryISO": "string",
- "email": "string",
- "groups": [
- "string"
], - "roles": [
- "string"
], - "permissions": [
- "string"
], - "phone": "string",
- "phoneLandline": "string",
- "password": "string",
- "referrer": "string",
- "useMFA": true,
- "organisationId": "string",
- "avatar": {
- "id": "string",
- "url": "string"
}, - "status": "active",
- "businessUnits": [
- "string"
], - "createdByUserId": "string"
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "id": "string",
- "givenName": "string",
- "familyName": "string",
- "name": "string",
- "countryISO": "string",
- "email": "string",
- "impersonating": false,
- "groups": [
- "string"
], - "roles": [
- "string"
], - "phone": {
- "callingCode": "string",
- "number": "string"
}, - "phoneLandline": {
- "callingCode": "string",
- "number": "string"
}, - "avatar": {
- "name": "string",
- "id": "string",
- "url": "string"
}, - "referrer": "string",
- "organisationId": "string",
- "authPlatformId": "string",
- "useMFA": true,
- "status": "active",
- "permissions": [
- "string"
], - "businessUnits": [
- {
- "ordinal": 0,
- "id": "string",
- "name": "string",
- "type": "farm",
- "business": {
- "location": {
- "what3words": "string",
- "address": {
- "name": "string",
- "line1": "string",
- "line2": "string",
- "line3": "string",
- "city": "string",
- "region": "string",
- "postcode": "string",
- "countryName": "string",
- "countryISO": "string"
}, - "coordinates": {
- "lat": 0,
- "lon": 0
}
}, - "name": "string",
- "phone": "string",
- "email": "string",
- "id": "string"
}, - "storeCount": 0,
- "fieldCount": 0
}
]
}Verify Attribute Update
User update email and phone attribute confirmation, takes a username and a confirmation code and sets the users account to confirmed, allowing that user to login
Authorizations:
Request Body schema: application/json
| code required | string Six digit code sent to user to confirm their update |
Responses
Request samples
- Payload
{- "code": "string"
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "message": "string",
- "status": "string"
}Update system settings
Change the system settings document in the customers module
Authorizations:
Request Body schema: application/json
required | object | ||||
| |||||
Responses
Request samples
- Payload
{- "logging": {
- "level": "string",
- "filter": "string"
}
}Response samples
- 200
- 400
- 401
- 403
- 409
- 500
{- "message": "string",
- "status": "string"
}