Last active
October 21, 2019 15:44
-
-
Save hawkapparel/a59dc276f860dd7742c8afc4c7b30f4a to your computer and use it in GitHub Desktop.
Json para secciones principales con paginado, filtros y listado de productos.
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
{ | |
"status": 1, | |
"code": 200, | |
"msg": "OK", | |
"data": [ | |
{ | |
"banner": [ | |
{ | |
"title": "bebés", | |
"subtitle": "Sección donde podrás encontrar ropa infantil para bebés", | |
"bg_image": "baby.jpg", | |
"page_url": "bebes" | |
} | |
], | |
"products": [ | |
{ | |
"id": 1, | |
"stock": 6, | |
"name": "Manta de bebe", | |
"description": "A manta de bebê da coleção Andrés é confortável para seu pequeno. Confeccionada com muito amor em 100% algodão pima peruano, em celeste e riscas cinzentas, tem um adorável ursinho bordado. As Suas dimensões são 80x75 cm e possui um pequeno capuz.", | |
"model": "687-30", | |
"price": 68.00, | |
"currency": "R$", | |
"link_url": "manta-de-bebe", | |
"category": "Manta", | |
"brand": "Andrés", | |
"color": "Azul", | |
"size": "4", | |
"gender": "boy", | |
"category_filter": "manta", | |
"brand_filter": "andres", | |
"color_filter": "azul", | |
"size_filter": "4", | |
"gender_filter": "boy", | |
"keywords": ["manta", "andres", "azul", "4", "boy"], | |
"galeries": [ | |
"http://billing.mundolibre.org.pe/images/items/687-30.png" | |
], | |
"status": "ACTIVE", | |
"created_at": "30-Sep-2019", | |
"updated_at": "30-Sep-2019" | |
}, | |
{ | |
"id": 2, | |
"stock": 3, | |
"name": "Manta de bebe", | |
"description": "A manta de bebê da coleção Andrés é confortável para seu pequeno. Confeccionada com muito amor em 100% algodão pima peruano, em celeste e riscas cinzentas, tem um adorável ursinho bordado. As Suas dimensões são 80x75 cm e possui um pequeno capuz.", | |
"model": "687-30", | |
"price": 68.00, | |
"currency": "R$", | |
"link_url": "", | |
"category": "Manta", | |
"brand": "Andrés", | |
"color": "Azul", | |
"size": "4", | |
"gender": "boy", | |
"category_filter": "manta", | |
"brand_filter": "andres", | |
"color_filter": "azul", | |
"size_filter": "4", | |
"gender_filter": "boy", | |
"keywords": ["manta", "andres", "azul", "4", "boy"], | |
"galeries": [ | |
"http://billing.mundolibre.org.pe/images/items/687-30.png" | |
], | |
"status": "ACTIVE", | |
"created_at": "30-Sep-2019", | |
"updated_at": "30-Sep-2019" | |
} | |
], | |
"filters": [ | |
{ | |
"id" : 1, | |
"category_name" : "Categorias", | |
"category_filter" : "categories", | |
"open": false, | |
"data" : [ | |
{ | |
"id" : 1, | |
"filter" : "body", | |
"filter_name" : "Body", | |
"checked" : false | |
}, | |
{ | |
"id" : 2, | |
"filter" : "set_vestido_calcinha", | |
"filter_name" : "Set vestido - calcinha", | |
"checked" : false | |
}, | |
{ | |
"id" : 3, | |
"filter" : "manta", | |
"filter_name" : "Manta", | |
"checked" : false | |
}, | |
{ | |
"id" : 4, | |
"filter" : "macacao", | |
"filter_name" : "Macacão", | |
"checked" : false | |
} | |
] | |
}, | |
{ | |
"id" : 2, | |
"category_name" : "Marca", | |
"category_filter" : "brands", | |
"open": false, | |
"data" : [ | |
{ | |
"id" : 1, | |
"filter" : "andres", | |
"filter_name" : "Andrés", | |
"checked" : false | |
}, | |
{ | |
"id" : 2, | |
"filter" : "ourico", | |
"filter_name" : "Ouriço", | |
"checked" : false | |
}, | |
{ | |
"id" : 3, | |
"filter" : "isabel", | |
"filter_name" : "Isabel", | |
"checked" : false | |
}, | |
{ | |
"id" : 4, | |
"filter" : "marquinho", | |
"filter_name" : "Marquinho", | |
"checked" : false | |
} | |
] | |
}, | |
{ | |
"id" : 3, | |
"category_name" : "Talla", | |
"category_filter" : "size", | |
"open": false, | |
"data" : [ | |
{ | |
"id" : 1, | |
"filter" : "andres", | |
"filter_name" : "Andrés", | |
"checked" : false | |
}, | |
{ | |
"id" : 2, | |
"filter" : "ourico", | |
"filter_name" : "Ouriço", | |
"checked" : false | |
}, | |
{ | |
"id" : 3, | |
"filter" : "isabel", | |
"filter_name" : "Isabel", | |
"checked" : false | |
}, | |
{ | |
"id" : 4, | |
"filter" : "marquinho", | |
"filter_name" : "Marquinho", | |
"checked" : false | |
} | |
] | |
}, | |
{ | |
"id" : 4, | |
"category_name" : "Género", | |
"category_filter" : "gendre", | |
"open": false, | |
"data" : [ | |
{ | |
"id" : 1, | |
"filter" : "andres", | |
"filter_name" : "Andrés", | |
"checked" : false | |
}, | |
{ | |
"id" : 2, | |
"filter" : "ourico", | |
"filter_name" : "Ouriço", | |
"checked" : false | |
}, | |
{ | |
"id" : 3, | |
"filter" : "isabel", | |
"filter_name" : "Isabel", | |
"checked" : false | |
}, | |
{ | |
"id" : 4, | |
"filter" : "marquinho", | |
"filter_name" : "Marquinho", | |
"checked" : false | |
} | |
] | |
}, | |
{ | |
"id" : 5, | |
"category_name" : "Color", | |
"category_filter" : "color", | |
"open": false, | |
"data" : [ | |
{ | |
"id" : 1, | |
"filter" : "andres", | |
"filter_name" : "Andrés", | |
"checked" : false | |
}, | |
{ | |
"id" : 2, | |
"filter" : "ourico", | |
"filter_name" : "Ouriço", | |
"checked" : false | |
}, | |
{ | |
"id" : 3, | |
"filter" : "isabel", | |
"filter_name" : "Isabel", | |
"checked" : false | |
}, | |
{ | |
"id" : 4, | |
"filter" : "marquinho", | |
"filter_name" : "Marquinho", | |
"checked" : false | |
} | |
] | |
}, | |
], | |
"total": [ | |
{ | |
"total": 548, | |
"offset": 0, | |
"limit": 15, | |
"max_product_price": 79.9 | |
} | |
] | |
}, | |
] | |
} |
user type null anonimo
type 1 superadmin
type 2 admin
type 3 es bussiness
type 4 cliente logeado
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Este ejemplo es para la sección baby (bebes)
-----------------*---------------------------
Categorias: Bebes, niños, niñas, accesorios, colecciones
http://billing.mundolibre.org.pe/api/tax/baby?type=4?offset=0&limit=15 la data para el usuario anon y logeado
http://billing.mundolibre.org.pe/api/tax/baby?type=3?offset=0&limit=15 la data para el usuario bussiness
http://billing.mundolibre.org.pe/api/tax/boy?type=4?offset=0&limit=15 la data para el usuario anon y logeado
http://billing.mundolibre.org.pe/api/tax/boy?type=3?offset=0&limit=15 la data para el usuario bussiness
http://billing.mundolibre.org.pe/api/tax/girl?type=4?offset=0&limit=15 la data para el usuario anon y logeado
http://billing.mundolibre.org.pe/api/tax/girl?type=3?offset=0&limit=15 la data para el usuario bussiness
http://billing.mundolibre.org.pe/api/tax/accesories?type=4?offset=0&limit=15 la data para el usuario anon y logeado
http://billing.mundolibre.org.pe/api/tax/accesories?type=3?offset=0&limit=15 la data para el usuario bussiness
http://billing.mundolibre.org.pe/api/tax/collections?type=4?offset=0&limit=15 la data para el usuario anon y logeado
http://billing.mundolibre.org.pe/api/tax/collections?type=3?offset=0&limit=15 la data para el usuario bussiness