Commodities
Create a Commodity
POST https://api.borlaug.network/commodities
Headers
Name
Type
Description
Authentication
integer
Authentication token to track down who is emptying our stocks.
{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}{    "message": "Ain't no cake like that."}Update a Commodity
PATCH https://api.borlaug.network/commodities/:commodityid
Path Parameters
Name
Type
Description
commodityid
integer
Get all Commodites
GET https://api.borlaug.network/commodities
Query Parameters
Name
Type
Description
page
string
per_page
string
Get a Commodity
GET https://api.borlaug.network/commodities/:commodityid
Path Parameters
Name
Type
Description
commodityid
integer
Delete a Commodity
DELETE https://api.borlaug.network/commodities/:commodityid
Path Parameters
Name
Type
Description
commodityid
integer
Last updated
Was this helpful?