Update Farmer Endpoint
This API endpoint allows you to update an existing farmer submission within the supply chain system. By sending a PATCH request to the specified endpoint with a unique identifier hashid
for the farmer, you can modify specific details of the submission.
Authorizations
Path Parameters
Body
Unique identifier for the farmer. This identifier is used to distinguish one farmer from another in the system.
Information related to the Connect card of the farmer.
Submission details related to the farmer. This could include any extra fields metioned in form associated with the company.
Phone number of the farmer. This is typically used for contacting the farmer if necessary.
Date and time when the farmer information was created. This field indicates when the farmer record was initially added to the system.
Description or additional information about the farmer. This field allows for notes or comments to be added regarding the farmer.
Name of the house or building where the farmer resides. This could be useful for address clarification.
Name of the street where the farmer resides. This is part of the farmer's address details.
Name of the city where the farmer resides. This is part of the farmer's address details.
Name of the sub-province where the farmer resides. This is part of the farmer's address details.
Name of the province where the farmer resides. This is part of the farmer's address details.
Latitude coordinate of the farmer's location. This is used for geolocation purposes.
Longitude coordinate of the farmer's location. This is used for geolocation purposes.
Postal code or ZIP code of the area where the farmer resides. This is part of the farmer's address details.
Name of the country where the farmer resides. This is part of the farmer's address details.
Additional number for reference. It will be a auto generated value field.
Email address of the farmer. This is used for electronic communication with the farmer.
Identification number of the farmer. This could be a national identification number or any other form of identification.
Reference number associated with the farmer. This could be a reference to another system or database.
First name of the farmer. This is part of the farmer's personal details.
Last name of the farmer. This is part of the farmer's personal details.
Date of birth of the farmer. This is part of the farmer's personal details.
Gender of the farmer. This is part of the farmer's personal details.
Consent status of the farmer for data usage. This indicates whether the farmer has given consent for their data to be used.
GRANTED
, NOT_GRANTED
, UNKNOWN
Identifier of the user who created the farmer entry. This indicates the user responsible for adding the farmer information to the system.
Identifier of the user who last updated the farmer entry. This indicates the user responsible for the latest modifications to the farmer information.
Identifier of the buyer associated with the farmer. This indicates any buyer or customer linked to the farmer, if applicable.
Response
Unique identifier for the farmer. This identifier is used to distinguish one farmer from another in the system.
Information related to the Connect card of the farmer.
Submission details related to the farmer. This could include any extra fields metioned in form associated with the company.
Phone number of the farmer. This is typically used for contacting the farmer if necessary.
Date and time when the farmer information was last updated. This field is automatically generated and cannot be modified directly.
Date and time when the farmer information was created. This field indicates when the farmer record was initially added to the system.
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 or additional information about the farmer. This field allows for notes or comments to be added regarding the farmer.
Name of the house or building where the farmer resides. This could be useful for address clarification.
Name of the street where the farmer resides. This is part of the farmer's address details.
Name of the city where the farmer resides. This is part of the farmer's address details.
Name of the sub-province where the farmer resides. This is part of the farmer's address details.
Name of the province where the farmer resides. This is part of the farmer's address details.
Latitude coordinate of the farmer's location. This is used for geolocation purposes.
Longitude coordinate of the farmer's location. This is used for geolocation purposes.
Postal code or ZIP code of the area where the farmer resides. This is part of the farmer's address details.
Name of the country where the farmer resides. This is part of the farmer's address details.
Additional number for reference. It will be a auto generated value field.
Email address of the farmer. This is used for electronic communication with the farmer.
Identification number of the farmer. This could be a national identification number or any other form of identification.
Reference number associated with the farmer. This could be a reference to another system or database.
First name of the farmer. This is part of the farmer's personal details.
Last name of the farmer. This is part of the farmer's personal details.
Date of birth of the farmer. This is part of the farmer's personal details.
Gender of the farmer. This is part of the farmer's personal details.
Consent status of the farmer for data usage. This indicates whether the farmer has given consent for their data to be used.
GRANTED
, NOT_GRANTED
, UNKNOWN
Identifier of the user who created the farmer entry. This indicates the user responsible for adding the farmer information to the system.
Identifier of the user who last updated the farmer entry. This indicates the user responsible for the latest modifications to the farmer information.
Identifier of the buyer associated with the farmer. This indicates any buyer or customer linked to the farmer, if applicable.