OGWUGO API DOCUMENTATION

  1. Home
  2. Docs
  3. OGWUGO API DOCUMENTATION
  4. Ogwugo Gas
  5. Gas Product detail

Gas Product detail

List the product detail of a particular location.

method: GET

/product/details/{location_id}

RESPONSE FORMAT:

{
"data": [
{
"id": 1,
"title": "12kg ",
"kg_weight": 12.5,
"price": 4000,
"price_sale": 3800,
"remiter_price": 3499,
"kg_unit_price": 400,
"kg_unit_price_sale": 380,
"image_url": "https://image.img.png",
"image_public_id": null,
"ogwugo_location": 1,
"on_sale": 1,
"store_id": 0,
"status": 1,
"created_at": "2018-06-19 12:41:01",
"updated_at": "2018-07-06 15:48:06"
},
{
"id": 2,
"title": "5kg",
"kg_weight": 5,
"price": 5000,
"price_sale": 34542.87,
"remiter_price": 342.97,
"kg_unit_price": 45,
"kg_unit_price_sale": 23432,
"image_url": null,
"image_public_id": null,
"ogwugo_location": 1,
"on_sale": 0,
"store_id": 0,
"status": 1,
"created_at": "2018-06-19 12:42:11",
"updated_at": "2018-07-06 15:48:08"
}
],
"status": "success",
"message": "gas products listed",
"error": {
"detail": "all listed",
"code": "200"
}
}

 

Was this article helpful to you? Yes No

How can we help?