Update the details of a harvest for the license_number provided.
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. |
OK
Bad Request
{- "license": {
- "license_number": "KMP20222825"
}, - "action": {
- "id": "KMHAN0006"
}, - "move_date": "2022-05-24T20:29:19Z",
- "locations": {
- "id": "f6c3a86531294b0c83eacc1104a6a680"
}
}
{- "results": {
- "type": "array",
- "data": {
- "license": {
- "license_number": "KMP20222825",
- "type": {
- "name": "Type 12"
}
}, - "actions": {
- "id": "KMHAN0006",
- "name": "move"
}, - "id": "31f31970bcdf423796e2bb7f6f227017",
- "name": "Hathaway rejit 052472022 Update",
- "harvest_date": {
- "start": "2022-07-06T18:27:39Z",
- "end": "2022-07-06T00:00:00Z"
}, - "type": {
- "id": "CAHHT0002",
- "name": "manicure_harvest"
}, - "strain": {
- "number": 1,
- "unit_of_measure": "Each",
- "strains": [
- {
- "id": "ef2db9096a8b48b5b261e0247098721a",
- "name": "Tomino amuro kamui 05202022"
}
]
}, - "totals": {
- "plants": {
- "number": 3,
- "unit_of_measure": "Each"
}, - "weights": {
- "total_weight": {
- "wet": {
- "quantity": 0,
- "initial_quantity": [
- {
- "qty": 1201.2
}
], - "unit_of_measure": "Grams"
}, - "dry": {
- "quantity": 83.8208,
- "initial_quantity": [
- {
- "qty": 100.24
}
], - "unit_of_measure": "Grams"
}, - "moisture_loss": {
- "quantity": [
- {
- "qty": 1100.96
}
], - "unit_of_measure": "Grams"
}
}, - "flower": {
- "wet": {
- "quantity": 0,
- "initial_quantity": [
- {
- "qty": 600.6
}
], - "unit_of_measure": "Grams"
}, - "dry": {
- "quantity": 33.7008,
- "initial_quantity": [
- {
- "qty": 50.12
}
], - "unit_of_measure": "Grams"
}, - "moisture_loss": {
- "quantity": [
- {
- "qty": 550.48
}
], - "unit_of_measure": "Grams"
}
}, - "plant_material": {
- "wet": {
- "quantity": 0,
- "initial_quantity": [
- {
- "qty": 600.6
}
], - "unit_of_measure": "Grams"
}, - "dry": {
- "quantity": 50.12,
- "initial_quantity": [
- {
- "qty": 50.12
}
], - "unit_of_measure": "Grams"
}, - "moisture_loss": {
- "quantity": [
- {
- "qty": 550.48
}
], - "unit_of_measure": "Grams"
}
}
}
}, - "cure": {
- "number": 1,
- "cures": [
- {
- "id": "0a82fae21905473eaa0445fdf0bdb77b",
- "name": "Tomino amuro kamui 05242022 cure 1",
- "drying": {
- "duration": 720,
- "unit_of_measure": "hours"
}, - "temperature": {
- "value": 25,
- "unit_of_measure": "Celsius"
}, - "humidity": {
- "level": 60,
- "unit_of_measure": "RH percent"
}, - "date": "2022-05-24T20:29:19Z",
- "locations": {
- "harvest_locations": {
- "id": "39d820bae059468facede4bff0efc4ec",
- "name": "Hathaway cultivation 1"
}, - "lots_locations": {
- "id": null,
- "name": null
}
}
}
]
}, - "plants": [
- {
- "id": "1f46b71cbfa54535b26524ab54bb790c",
- "barcode": "1A4FF0200000029000014271"
}, - {
- "id": "618ed4dfa1f1407195c125f7a78b4525",
- "barcode": "1A4FF0200000029000014275"
}, - {
- "id": "949201a758794e9a96617191cc7a383c",
- "barcode": "1A4FF0200000029000014273"
}
], - "waste": null,
- "lots": {
- "number": 7,
- "quantity": 16.4192,
- "unit_of_measure": "Grams",
- "lot": [
- {
- "id": "afbf6642151f456e8941722b3c00340d",
- "name": "Tomino amuro kamui buds weight lot 01",
- "barcode": "1A4FF0300000029000016680",
- "quantity": 2.3456,
- "unit_of_measure": "Grams",
- "date": "2022-06-12T20:04:50Z",
- "contents": {
- "products": {
- "id": "3aef481fd5d2423382188f482f7a8383",
- "name": "Tomino amuro kamui 05202022 Flower Buds weight product 01",
- "category": {
- "id": "CAKOMPC0014",
- "type": "Buds",
- "main_category": "Flower",
- "sub_category": null
}
}
}, - "locations": {
- "id": "39d820bae059468facede4bff0efc4ec",
- "name": "Hathaway cultivation 1",
- "type": {
- "id": "CALOC0001",
- "name": "Cultivation"
}
}
}, - {
- "id": "03795e508adb4d85b0a67d779d64951b",
- "name": "Tomino amuro kamui buds weight lot 02",
- "barcode": "ABCDEF012345670000010042",
- "quantity": 1,
- "unit_of_measure": "Ounces",
- "date": "2014-11-29T00:00:00Z",
- "contents": {
- "products": {
- "id": "3aef481fd5d2423382188f482f7a8383",
- "name": "Tomino amuro kamui 05202022 Flower Buds weight product 01",
- "category": {
- "id": "CAKOMPC0014",
- "type": "Buds",
- "main_category": "Flower",
- "sub_category": null
}
}
}, - "locations": {
- "id": "39d820bae059468facede4bff0efc4ec",
- "name": "Hathaway cultivation 1",
- "type": {
- "id": "CALOC0001",
- "name": "Cultivation"
}
}
}, - {
- "id": "3e09000a85c748819f8c4ab789e58623",
- "name": "Tomino amuro kamui buds weight lot A01",
- "barcode": "ABCDEF012345670000010042",
- "quantity": 1,
- "unit_of_measure": "Ounces",
- "date": "2014-11-29T00:00:00Z",
- "contents": {
- "products": {
- "id": "3aef481fd5d2423382188f482f7a8383",
- "name": "Tomino amuro kamui 05202022 Flower Buds weight product 01",
- "category": {
- "id": "CAKOMPC0014",
- "type": "Buds",
- "main_category": "Flower",
- "sub_category": null
}
}
}, - "locations": {
- "id": "39d820bae059468facede4bff0efc4ec",
- "name": "Hathaway cultivation 1",
- "type": {
- "id": "CALOC0001",
- "name": "Cultivation"
}
}
}, - {
- "id": "5ad8e730dd904ec7ad1e2f69cec7b8fa",
- "name": "Tomino amuro kamui buds weight lot A02",
- "barcode": "ABCDEF012345670000010042",
- "quantity": 1,
- "unit_of_measure": "Ounces",
- "date": "2014-11-29T00:00:00Z",
- "contents": {
- "products": {
- "id": "dd92f06c2f104fe5abfbdcddf8baf233",
- "name": "Tomino amuro kamui 05202022 Flower Buds weight product 05",
- "category": {
- "id": "CAKOMPC0014",
- "type": "Buds",
- "main_category": "Flower",
- "sub_category": null
}
}
}, - "locations": {
- "id": "39d820bae059468facede4bff0efc4ec",
- "name": "Hathaway cultivation 1",
- "type": {
- "id": "CALOC0001",
- "name": "Cultivation"
}
}
}, - {
- "id": "64cd9fece1e94907b3f072426b99f65a",
- "name": "Tomino amuro kamui buds weight lot A03",
- "barcode": "ABCDEF012345670000010042",
- "quantity": 1,
- "unit_of_measure": "Ounces",
- "date": "2014-11-29T00:00:00Z",
- "contents": {
- "products": {
- "id": "3aef481fd5d2423382188f482f7a8383",
- "name": "Tomino amuro kamui 05202022 Flower Buds weight product 01",
- "category": {
- "id": "CAKOMPC0014",
- "type": "Buds",
- "main_category": "Flower",
- "sub_category": null
}
}
}, - "locations": {
- "id": "39d820bae059468facede4bff0efc4ec",
- "name": "Hathaway cultivation 1",
- "type": {
- "id": "CALOC0001",
- "name": "Cultivation"
}
}
}, - {
- "id": "91d638770b5e44c5856045fcced35f56",
- "name": "Tomino amuro kamui buds weight lot A04",
- "barcode": "ABCDEF012345670000010042",
- "quantity": 1,
- "unit_of_measure": "Ounces",
- "date": "2014-11-29T00:00:00Z",
- "contents": {
- "products": {
- "id": "3aef481fd5d2423382188f482f7a8383",
- "name": "Tomino amuro kamui 05202022 Flower Buds weight product 01",
- "category": {
- "id": "CAKOMPC0014",
- "type": "Buds",
- "main_category": "Flower",
- "sub_category": null
}
}
}, - "locations": {
- "id": "39d820bae059468facede4bff0efc4ec",
- "name": "Hathaway cultivation 1",
- "type": {
- "id": "CALOC0001",
- "name": "Cultivation"
}
}
}, - {
- "id": "7e76cef9f31246ecb0762845f15068a8",
- "name": "Tomino amuro kamui buds weight lot A05",
- "barcode": "1A4FF0300000029000017209",
- "quantity": 2.3456,
- "unit_of_measure": "Grams",
- "date": "2022-06-30T20:04:50Z",
- "contents": {
- "products": {
- "id": "3aef481fd5d2423382188f482f7a8383",
- "name": "Tomino amuro kamui 05202022 Flower Buds weight product 01",
- "category": {
- "id": "CAKOMPC0014",
- "type": "Buds",
- "main_category": "Flower",
- "sub_category": null
}
}
}, - "locations": {
- "id": "39d820bae059468facede4bff0efc4ec",
- "name": "Hathaway cultivation 1",
- "type": {
- "id": "CALOC0001",
- "name": "Cultivation"
}
}
}
]
}, - "locations": {
- "harvest_locations": {
- "id": "f6c3a86531294b0c83eacc1104a6a680",
- "name": "Harvest Room #697706",
- "type": {
- "id": "CALOC0001",
- "name": "Cultivation"
}
}, - "lots_locations": null
}, - "products": null,
- "additional": {
- "patient_license": null,
- "is_for_medical_use": false
}, - "entity_state": [
- {
- "state": "active",
- "date": "2022-05-25T22:30:21Z",
- "reason": "manicure_harvest",
- "actioned_by": "system generated"
}, - {
- "state": "updated",
- "date": "2022-07-07T00:14:40Z",
- "reason": "harvest updated",
- "actioned_by": "system generated"
}, - {
- "state": "lab_testing_not_submitted",
- "date": "2022-05-25T22:30:21Z",
- "reason": "harvest lab testing not submitted",
- "actioned_by": "system generated by metrc"
}, - {
- "state": "harvest_moved",
- "date": "2022-05-24T20:29:19Z",
- "reason": "original location 39d820bae059468facede4bff0efc4ec Hathaway cultivation 1 to new location ae7313d71a4c4675b94f521e3b4f4f81 Harvest Room #940657",
- "actioned_by": "user credentials"
}, - {
- "state": "name_changed",
- "date": "2022-04-24T00:00:00Z",
- "reason": "harvest name changed from Tomino amuro kamui 05242022 manicure 3 to Hathaway rejit 052472022 Update",
- "actioned_by": "user credentials"
}, - {
- "state": "cured",
- "date": "2022-06-06T20:10:38Z",
- "reason": "harvest cured",
- "actioned_by": "system generated"
}, - {
- "state": "used",
- "date": "2022-06-12T19:17:50Z",
- "reason": "harvest is used",
- "actioned_by": "system generated"
}, - {
- "state": "harvest_moved",
- "date": "2022-05-24T20:29:19Z",
- "reason": "original location ae7313d71a4c4675b94f521e3b4f4f81 Harvest Room #940657 to new location f6c3a86531294b0c83eacc1104a6a680 Harvest Room #697706",
- "actioned_by": "user credentials"
}
]
}
}, - "warnings": [ ]
}