OGWUGO API DOCUMENTATION

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

Gas Profiles

Gas profiles are the gas features per each location, eg. the opening time, and delivery time.

// LIST ALL LOCATIONS PROFILE

/profile/get

RESPONSE FORMAT:

{
"data": [
{
"id": 1,
"ogwugo_location": 1,
"delivery_time_minutes": "30",
"delivery_start_time": "7am",
"delivery_end_time": "11pm",
"status": 1,
"created_at": "2018-07-06 14:53:51",
"updated_at": null
}
],
"status": "success",
"message": "gas profiles listed",
"error": {
"detail": "all listed",
"code": "200"
}
}

Single Location Profile:

/profile/get/{location_id}

 

 

Was this article helpful to you? Yes No

How can we help?