Last active
October 24, 2018 12:00
-
-
Save luuvansinh/d20ed0bec5a32ffdf4452e63c59ba999 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GEt product | |
{ | |
products: [ | |
{ | |
id | |
name | |
description | |
price | |
quantity | |
shop | |
address | |
origin | |
image | |
rating: { | |
average: 4.0, | |
total: 20, | |
} | |
} | |
] | |
} | |
Category detail | |
{ | |
products: [ | |
{ | |
id | |
name | |
description | |
price | |
quantity | |
shop | |
address | |
origin | |
image | |
rating: { | |
average: 4.0, | |
total: 20, | |
} | |
} | |
] | |
} | |
Product detail | |
{ | |
product: { | |
id | |
name | |
images: [ | |
"https://example/static/image.png" | |
] | |
description | |
price | |
quantity | |
shop | |
address | |
origin | |
ratings: { | |
average | |
total | |
detail: [ | |
{ | |
customer | |
title | |
content | |
star | |
} | |
] | |
} | |
comment: { | |
total | |
detail: [ | |
{ | |
customer | |
title | |
content | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment