=============== Master Products =============== Master Product Attributes ========================= .. _master-product-attributes: =================== =========== Attribute Description =================== =========== id The unique ID of the master product in AgriSmart's systems. name The name of the product. category The :ref:`category ` of the product. company The company that makes the given product. units The :ref:`inventory units ` for the given product. applied_units The :ref:`as applied units ` for the given product. epa_number The EPA number for the product. country The country the product is used in. restricted_use Indicates whether the product's use is restricted or not. =================== =========== Sample ------ :: { "id": 5200, "name": "Phostoxin Pellets", "category": "Insecticide", "company": "Degesch America, Inc.", "units": "pound", "applied_units": "pound", "epa_number": "72959-5", "country": "US", "restricted_use": true } Endpoints ========= /api/master_products -------------------- GET ~~~ Returns a list of the available master products for the user. Parameters ********** No additional parameters are required for this method. Returns ******* Returns an array of all master products available. Sample ^^^^^^ :: [ { "id": 5199, "name": "MicroSync Complete", "category": "Dry Fertilizer", "company": "Verdesian Life Sciences, U.S., LLC", "units": "pound", "applied_units": "pound", "epa_number": "Exempt", "country": "US", "restricted_use": false }, { "id": 5200, "name": "Phostoxin Pellets", "category": "Insecticide", "company": "Degesch America, Inc.", "units": "pound", "applied_units": "pound", "epa_number": "72959-5", "country": "US", "restricted_use": true } ]