OGWUGO API DOCUMENTATION

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

Gas Cart

ADD GAS TO CART:
[post]

/cart/add
DataType [default] Detail
cart_id int. req
platform (ENUM(web,android,ios)) reg
domain (ENUM(local,international,food,gas)) reg
gas_id int. req
quantity int. req
user_id int. req
location int. optional

cart_id =0, if the user do not already have item in cart.

user_id = 0, if the user is a guest.

 

REMOVE GAS FROM CART:

/cart/remove/gas

reg: cart_id, gas_id, user_id

EMPTY GAS CART:

/cart/empty/gas

reg: cart_id, user_id

 

GET CART DETAIL:

 

method: [GET,POST]

path:

/cart/local/detail

Parameter:  cart_id & user_id

 

 

 

 

 

Was this article helpful to you? Yes No

How can we help?