---
title: "Create a Nutrient Record"
method: POST
path: "/{resource_name}/{resource_id}/nutrients"
tags: ["Nutrients"]
---

# Create a Nutrient Record

`POST /{resource_name}/{resource_id}/nutrients`

Create a soil sample or amendment record

### Parameters

**amount** `OPTIONAL`

A string value of the amount applied, for example "1,000 lbs" or "200 gallons"

* * *

**application_method** `OPTIONAL`

Details about how the amendment was applied, typically one of the following options, but could be a custom value:

> "Broadcast", "Compost - Solids", "Compost - Tea", "Granules", "Liquid", "Manure", "Pellets", "Spray", "Other"

* * *

**boron** `OPTIONAL`

A positive numeric value indicating the amount of boron applied or measured (depending on if this is additive or a sample)

* * *

**calcium** `OPTIONAL`

A positive numeric value indicating the amount of calcium applied or measured (depending on if this is additive or a sample)

* * *

**copper** `OPTIONAL`

A positive numeric value indicating the amount of copper applied or measured (depending on if this is additive or a sample)

* * *

**date** `OPTIONAL`

The date of the amendment or sample. Defaults to today.

* * *

**iron** `OPTIONAL`

A positive numeric value indicating the amount of iron applied or measured (depending on if this is additive or a sample)

* * *

**is_additive** `OPTIONAL`

Boolean value indicating is this is an amendment or a soil sample. `true` indicates that this is an amendment, `false` a soil sample. Defaults to `false`.

* * *

**latitude** `OPTIONAL`

An optional latitude value for the location of the amendment or sample

* * *

**longitude** `OPTIONAL`

An optional longitude value for the location of the amendment or sample

* * *

**magnesium** `OPTIONAL`

A positive numeric value indicating the amount of magnesium applied or measured (depending on if this is additive or a sample)

* * *

manganese `OPTIONAL`

A positive numeric value indicating the amount of magnesium applied or measured (depending on if this is additive or a sample)

* * *

**nitrogen** `OPTIONAL`

A positive numeric value indicating the amount of nitrogen applied or measured (depending on if this is additive or a sample)

* * *

**ph** `OPTIONAL`

A numeric (float) value for the Ph measured. Typically used with a soil sample.

* * *

**phosphorus** `OPTIONAL`

A positive numeric value indicating the amount of phosphorus applied or measured (depending on if this is additive or a sample)

* * *

**potassium** `OPTIONAL`

A positive numeric value indicating the amount of potassium applied or measured (depending on if this is additive or a sample)

* * *

**product** `OPTIONAL`

Details or name of the product applied, typically used with an amendment.

* * *

**sulfur** `OPTIONAL`

A positive numeric value indicating the amount of sulfur applied or measured (depending on if this is additive or a sample)

* * *

**zinc** `OPTIONAL`

A positive numeric value indicating the amount of zinc applied or measured (depending on if this is additive or a sample)

## Path parameters

- `resource_name` string, required
- `resource_id` string, required

## Headers

- `Content-Type` string

## Request body

- object

## Response `200`

Successful response

---

[API](https://skmtc.net/farmbrite/apis/farmbrite-api-developers-documentation.md) · [All operations](https://skmtc.net/farmbrite/apis/farmbrite-api-developers-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/farmbrite/farmbrite-api-developers-documentation/revisions/b33a389fa2c0/schema)
