Update harvest

Update the details of a harvest for the license_number provided.

SecurityApiKeyAuth and CustomAuth
Request
path Parameters
state
required
string

Lower case ANSI standard 38:2009 USPS codes of the US state where licensee is operating.

Enum: "ca" "il" "wa" "ma" "md" "mi" "wv" "co" "ok" "oh"
id
required
string

Harvest ID

Example: a521f55de4394f4f99c282be687e63aa
header Parameters
x-api-key
required
string

Trace API key header

Example: b123x21wbHlkYXBpa2V5
Authorization
required
string

Company and user credentials authentication

Example: KMP-JSON token=dmVuZG9yLWFwaS1rZXk6dX12312sdfs2V5
Request Body schema: application/json
required
object (license_base)
required
object

Specific action for this harvest operation.

Array of objects (harvest_total_weights)

List of weights for the harvest update.

Array of objects

List of plants involved in the harvest update.

object

Details for the cure, if harvest action is a cure.

object

Products involved in the harvest update.

object

Harvest's location information.

object

Additional information related to the harvest.

Responses
200

OK

400

Bad Request

put/{state}/v1/harvests/{id}
Request samples
application/json
{
  • "license": {
    },
  • "action": {
    },
  • "move_date": "2022-05-24T20:29:19Z",
  • "locations": {
    }
}
Response samples
application/json
{
  • "results": {
    },
  • "warnings": [ ]
}