Commodity Rates

Create a new Commodity Rate

POST https://api.borlaug.network/commodities/:commodityid/rates

Path Parameters

Name
Type
Description

commodityid

integer

ID of the cake to get, for free of course.

{    "name": "Cake's name",    "recipe": "Cake's recipe name",    "cake": "Binary cake"}

Update a Commodity Rate

PATCH https://api.borlaug.network/commodities/:commodityid/rates/:rateid

Path Parameters

Name
Type
Description

rateid

integer

commodityid

integer

Get all Commodity Rates for a given Commodity

GET https://api.borlaug.network/commodities/:commodityid/rates

Path Parameters

Name
Type
Description

commodityid

integer

Delete a Commodity Rate

DELETE https://api.borlaug.network/commodities/:commodityid/rates/:rateid

Path Parameters

Name
Type
Description

commodityid

integer

rateid

integer

Last updated

Was this helpful?