getSetting:
latitude
,longitude
is a double to 6 floating point digits (ex: 31.219211)- rename
latitude
,longitude
tolat
,lan
- return
from_hour
,to_hour
inDateTime
description
isn't a plain text (ex: return "About us" instead of<p>About us</p>
or "privacy-policy")- what is
slug
?
getSliders:
- what is the deference between
id
andcategory_id
- return
background_color
asint
(ex: ec097a or "ec097a" instead of "#ec097a") - what is
status
?
getCategories:
- Can
image
return asSVG
?
myNotifications:
- What are the values of
messag_type
?
search:
Feature
: if thetext
param. is empty, return all products.
getMyFavorites:
-
What is
have_price
,status
,type
,in_fevorite
,in_cart
,available_int
andavailable
? (Explaining all the fields is a suggestion, as there are so many ambiguous fields usage). -
return
available_offer
as an object which will has two fields (ex:from
andto
) ; to work with the fields asDateTime
. -
Are
translations
the order products?
getDeliveryCost:
- Is one in the path
{getDeliveryCost}/1
represents the city_id? - What is the return represents (ex: the response is just
2
)?
getOrderDetail:
- What is
type
:0
,delivery_date_id
,delivery_time_id
? - Can
deliveryCost
be adouble
? lat
andlan
will be sent to 6 floating point digits (ex: 31.219211) {to use google maps more effectivly}- Will
delivery_time[from]
anddelivery_time[to]
be used as is or will be reformatted at client-side? - Is
address[is_default]
represent a boolean? {as the current value is 0} - return
available_offer
as an object which will has two fields (ex:from
andto
) ; to work with the fields asDateTime
.
getProductsByCategoryId:
- Is the
text
param. used to search home products? - return
available_offer
as an object which will has two fields (ex:from
andto
) ; to work with the fields asDateTime
. - {Questions are the same as
getMyFavorites
}
getProductsByParentId:
- What is
ParentId
?
getDriverOrders:
- Is the
discount_code
the same as the coupon? {discount_code
needs more details as it is just =0
} - what are
delivery_cost
,code_name
,payment
,delivery_date_id
,delivery_time_id
andorders_count_per_user
represent? - What is
user[remember_token]
? user[delivery_addresses][{address}][is_default]
should betrue
orfalse
,0
or1
are the current given.
getAvailableDates
route doesn't have headers.