Skip to content

Instantly share code, notes, and snippets.

@rxluz
Created June 22, 2019 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rxluz/8c7be491e35b699aac7e217fe37a88c4 to your computer and use it in GitHub Desktop.
Save rxluz/8c7be491e35b699aac7e217fe37a88c4 to your computer and use it in GitHub Desktop.
{
"categoriesSelection": [
{
"category": {
"id": 30,
"name": "234234aefdsfdsfdsf",
"description": null,
"products_total": 4
},
"productsExclusionList": []
},
{
"category": {
"id": 31,
"name": "sdfadsfsdfdsfsdaf",
"description": null,
"products_total": 3
},
"productsExclusionList": [
{
"id": 1,
"name": "sadsd",
"categories_ids": [
"30",
"31"
],
"image": null,
"base_price": null,
"description": "Description 1 sadsd",
"modifiers": [
{
"id": 1,
"name": "wqwqeqwewqe",
"category_name": "sdafdsfdsf"
}
]
},
{
"id": 2,
"name": "weeraw sdafds",
"categories_ids": [
"30"
],
"image": null,
"base_price": null,
"description": "Description 2 weeraw sdafds",
"modifiers": [
{
"id": 1,
"name": "wqwqeqwewqe",
"category_name": "sdafdsfdsf"
}
]
},
{
"id": 4,
"name": "dsfjsdfjdospfjsdf osdfjsd fijsdaf",
"categories_ids": [
"30"
],
"image": null,
"base_price": null,
"description": "Description 4 dsfjsdfjdospfjsdf osdfjsd fijsdaf",
"modifiers": []
}
]
}
],
"productsSelection": [
{
"product": {
"id": 1,
"name": "sadsd",
"categories_ids": [
"30",
"31"
],
"image": null,
"base_price": null,
"description": "Description 1 sadsd",
"modifiers": [
{
"id": 1,
"name": "wqwqeqwewqe",
"category_name": "sdafdsfdsf"
}
]
},
"modifiersExclusionList": [
{
"id": 1,
"name": "wqwqeqwewqe",
"category_name": "sdafdsfdsf"
},
{
"id": 2,
"name": "asdfdsfdsfdsf",
"category_name": "dfsdfsdf3q4324324"
}
]
},
{
"product": {
"id": 2,
"name": "weeraw sdafds",
"categories_ids": [
"30"
],
"image": null,
"base_price": null,
"description": "Description 2 weeraw sdafds",
"modifiers": [
{
"id": 1,
"name": "wqwqeqwewqe",
"category_name": "sdafdsfdsf"
}
]
},
"modifiersExclusionList": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment