POST
/
supply-chains
/
farmers
/

Authorizations

Authorization
string
headerrequired

Body

application/json
id
string

Unique identifier for the farmer. This identifier is used to distinguish one farmer from another in the system.

entity_card
object

Information related to the Connect card of the farmer.

submission
object

Submission details related to the farmer. This could include any extra fields metioned in form associated with the company.

phone
string | null

Phone number of the farmer. This is typically used for contacting the farmer if necessary.

created_on
string

Date and time when the farmer information was created. This field indicates when the farmer record was initially added to the system.

description
string | null

Description or additional information about the farmer. This field allows for notes or comments to be added regarding the farmer.

house_name
string | null

Name of the house or building where the farmer resides. This could be useful for address clarification.

street
string | null

Name of the street where the farmer resides. This is part of the farmer's address details.

city
string | null

Name of the city where the farmer resides. This is part of the farmer's address details.

sub_province
string | null

Name of the sub-province where the farmer resides. This is part of the farmer's address details.

province
string | null

Name of the province where the farmer resides. This is part of the farmer's address details.

latitude
number

Latitude coordinate of the farmer's location. This is used for geolocation purposes.

longitude
number

Longitude coordinate of the farmer's location. This is used for geolocation purposes.

zipcode
string | null

Postal code or ZIP code of the area where the farmer resides. This is part of the farmer's address details.

country
string | null

Name of the country where the farmer resides. This is part of the farmer's address details.

number
string | null

Additional number for reference. It will be a auto generated value field.

email
string | null

Email address of the farmer. This is used for electronic communication with the farmer.

identification_no
string | null

Identification number of the farmer. This could be a national identification number or any other form of identification.

reference_number
string | null

Reference number associated with the farmer. This could be a reference to another system or database.

first_name
string
required

First name of the farmer. This is part of the farmer's personal details.

last_name
string | null

Last name of the farmer. This is part of the farmer's personal details.

date_of_birth
string | null

Date of birth of the farmer. This is part of the farmer's personal details.

gender
string | null

Gender of the farmer. This is part of the farmer's personal details.

consent_status
enum<string>

Consent status of the farmer for data usage. This indicates whether the farmer has given consent for their data to be used.

Available options:
GRANTED,
NOT_GRANTED,
UNKNOWN
creator
string

Identifier of the user who created the farmer entry. This indicates the user responsible for adding the farmer information to the system.

updater
string

Identifier of the user who last updated the farmer entry. This indicates the user responsible for the latest modifications to the farmer information.

buyer
string

Identifier of the buyer associated with the farmer. This indicates any buyer or customer linked to the farmer, if applicable.

Response

201 - application/json
id
string

Unique identifier for the farmer. This identifier is used to distinguish one farmer from another in the system.

entity_card
object

Information related to the Connect card of the farmer.

submission
object

Submission details related to the farmer. This could include any extra fields metioned in form associated with the company.

phone
string | null

Phone number of the farmer. This is typically used for contacting the farmer if necessary.

updated_on
string

Date and time when the farmer information was last updated. This field is automatically generated and cannot be modified directly.

created_on
string

Date and time when the farmer information was created. This field indicates when the farmer record was initially added to the system.

image
string | null

URL to the photo of the farmer. This could be a link to a profile picture or any relevant image associated with the farmer.

description
string | null

Description or additional information about the farmer. This field allows for notes or comments to be added regarding the farmer.

house_name
string | null

Name of the house or building where the farmer resides. This could be useful for address clarification.

street
string | null

Name of the street where the farmer resides. This is part of the farmer's address details.

city
string | null

Name of the city where the farmer resides. This is part of the farmer's address details.

sub_province
string | null

Name of the sub-province where the farmer resides. This is part of the farmer's address details.

province
string | null

Name of the province where the farmer resides. This is part of the farmer's address details.

latitude
number

Latitude coordinate of the farmer's location. This is used for geolocation purposes.

longitude
number

Longitude coordinate of the farmer's location. This is used for geolocation purposes.

zipcode
string | null

Postal code or ZIP code of the area where the farmer resides. This is part of the farmer's address details.

country
string | null

Name of the country where the farmer resides. This is part of the farmer's address details.

number
string | null

Additional number for reference. It will be a auto generated value field.

email
string | null

Email address of the farmer. This is used for electronic communication with the farmer.

identification_no
string | null

Identification number of the farmer. This could be a national identification number or any other form of identification.

reference_number
string | null

Reference number associated with the farmer. This could be a reference to another system or database.

first_name
string
required

First name of the farmer. This is part of the farmer's personal details.

last_name
string | null

Last name of the farmer. This is part of the farmer's personal details.

date_of_birth
string | null

Date of birth of the farmer. This is part of the farmer's personal details.

gender
string | null

Gender of the farmer. This is part of the farmer's personal details.

consent_status
enum<string>

Consent status of the farmer for data usage. This indicates whether the farmer has given consent for their data to be used.

Available options:
GRANTED,
NOT_GRANTED,
UNKNOWN
creator
string

Identifier of the user who created the farmer entry. This indicates the user responsible for adding the farmer information to the system.

updater
string

Identifier of the user who last updated the farmer entry. This indicates the user responsible for the latest modifications to the farmer information.

buyer
string

Identifier of the buyer associated with the farmer. This indicates any buyer or customer linked to the farmer, if applicable.