Skip to content

Entities

Aleksey Ilyin edited this page Sep 23, 2024 · 11 revisions
Table of Contents

User
Page
Catalog Category
Catalog Product
Catalog Order

User

{
    "uuid": "a79dc435-c746-48d1-8955-e342d4f29568",
    "group_uuid": "0615b112-b357-4a74-b5d6-aef0046838b7",
    "username": "alksily",
    "email": "alksily@outlook.com",
    "phone": "+79001112233",
    "password": "$argon2id$v=19$m=65536,t=4,p=1$Ui5FQzJpMUd5WjlMME5xeA$enn--..--Zwz8Pu7ahdq5TP9gsuWHaw",
    "firstname": "Алексей",
    "lastname": "Ильин",
    "patronymic": "",
    "birthdate": "1991-09-29T22:00:00.000000Z",
    "gender": "Male",
    "country": "Россия",
    "city": "Москва",
    "address": "ул. 1905 года",
    "postcode": "111222",
    "additional": "test",
    "is_allow_mail": false,
    "company": {
        "title": "WebSpace",
        "position": ""
    },
    "legal": {
        "code": "",
        "number": ""
    },
    "messenger": {
        "skype": "",
        "telegram": "",
        "whatsapp": "",
        "viber": "",
        "facebook": "",
        "instagram": "",
        "signal": ""
    },
    "status": "work",
    "register": "2023-10-06T08:30:39.000000Z",
    "change": "2024-05-08T16:28:54.000000Z",
    "website": "",
    "source": "",
    "auth_code": "",
    "language": "",
    "external_id": "",
    "token": "[]",
    "loyalty": [],
    "name": {
        "full": "Ильин Алексей",
        "short": "И. Алексей"
    },
    "group": {
        "uuid": "0615b112-b357-4a74-b5d6-aef0046838b7",
        "title": "Administrators",
        "description": ""
    },
    "avatar": "https://ui-avatars.com/api/?name=Ильин Алексей&size=64?background=0D8ABC&color=000000",
    "files": []
}

Page

{
    "uuid": "28098097-4aa0-46a7-8c97-2b1740e4c0b8",
    "title": "Contacts",
    "address": "contacts",
    "date": "2019-12-06 13:31:00",
    "content": "<div class=\"row\">\r\n    <div class=\"col-lg-6 contact-info\">\r\n        <h4>Консультации и заказы по телефонам<\/h4>\r\n        <p>пр-т. Червоной Калины, XXX, Львов, Украина<\/p>\r\n        <p>+380 00 123-45-67<\/p>\r\n        <p>info@example.com<\/p>\r\n\r\n        <form action=\"\/form\/forma-kontaktov\" class=\"contact-form\" data-grecaptcha=\"\" enctype=\"multipart\/form-data\" method=\"post\">\r\n            <input type=\"text\" name=\"name\" placeholder=\"Ваше имя\" value=\"\">\r\n            <input type=\"email\" name=\"email\" placeholder=\"Ваш E-Mail\" value=\"\">\r\n            <input type=\"text\" name=\"subject\" placeholder=\"Тема\" value=\"\">\r\n            <textarea placeholder=\"Сообщение\" name=\"message\" value=\"\"><\/textarea>\r\n            <input type=\"file\" name=\"files\" value=\"\">\r\n            <button class=\"site-btn\">Отправить<\/button>\r\n        <\/form>\r\n    <\/div>\r\n<\/div>\r\n<div class=\"map\">\r\n    <iframe src=\"https:\/\/www.google.com\/maps\/embed?pb=!1m18!1m12!1m3!1d2576.169856502267!2d24.056863715926543!3d49.78287064312086!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x473ae86790152a21%3A0x421af823f635ef32!2z0L_RgC3Rgi4g0KfQtdGA0LLQvtC90L7QuSDQmtCw0LvQuNC90YssIDEwOC0xMTAsINCb0YzQstC-0LIsINCb0YzQstC-0LLRgdC60LDRjyDQvtCx0LvQsNGB0YLRjCwgNzkwMDA!5e0!3m2!1sru!2sua!4v1643974516217!5m2!1sru!2sua\" width=\"600\" height=\"450\" style=\"border:0;\" allowfullscreen=\"\" loading=\"lazy\"><\/iframe>\r\n<\/div>",
    "type": "text",
    "meta": {
        "title": "",
        "description": "",
        "keywords": ""
    },
    "template": "contacts.twig",
    "files": []
}

Catalog Category

{
  "uuid": "3ed4a8cb-4bca-466b-a24d-8a924b8c7be9",
  "parent_uuid": "41656faa-5060-4453-a55c-2f6ba5824da5",
  "parent": {
    "uuid": "41656faa-5060-4453-a55c-2f6ba5824da5",
    "parent_uuid": null,
    "title": "iPhone",
    "external_id": ""
  },
  "title": "iPhone 15 ",
  "description": "",
  "address": "iphone\/iphone-15",
  "pagination": 10,
  "children": true,
  "hidden": false,
  "order": 9,
  "status": "work",
  "sort": {
    "by": "title",
    "direction": "ASC"
  },
  "meta": {
    "title": "",
    "description": "",
    "keywords": ""
  },
  "template": {
    "category": "catalog.category.twig",
    "product": "catalog.product.twig"
  },
  "external_id": "",
  "export": "manual",
  "system": "",
  "attributes": [
    {
      "title": "Memory",
      "type": "string",
      "address": "memory",
      "values": [
        "128GB",
        "256GB",
        "512GB"
      ]
    },
    {
      "title": "Version",
      "type": "string",
      "address": "version",
      "values": [
        "Global"
      ]
    },
    {
      "title": "Color",
      "type": "string",
      "address": "color",
      "values": [
        "Blue",
        "Green",
        "Midnight",
        "PRODUCT RED",
        "Pink",
        "Starlight"
      ]
    }
  ],
  "files": [
    {
      "name": "14_pro_pro_max_4-1397x1397.jpg.webp",
      "size": 38146,
      "link": "\/uploads\/653b957e38e66\/14_pro_pro_max_4-1397x1397.jpg.webp",
      "path": {
        "full": "\/uploads\/653b957e38e66\/14_pro_pro_max_4-1397x1397.jpg.webp",
        "middle": "\/uploads\/653b957e38e66\/14_pro_pro_max_4-1397x1397.jpg.webp",
        "small": "\/uploads\/653b957e38e66\/14_pro_pro_max_4-1397x1397.jpg.webp"
      },
      "order": 1,
      "comment": ""
    }
  ]
}

Catalog Product

{
  "uuid": "0103060a-c072-4b06-94d4-371501030dd2",
  "category_uuid": "ae000aed-3a46-4dd7-beb5-d6934f9801fd",
  "category": {
    "uuid": "ae000aed-3a46-4dd7-beb5-d6934f9801fd",
    "parent_uuid": "41656faa-5060-4453-a55c-2f6ba5824da5",
    "parent": {
      "uuid": "41656faa-5060-4453-a55c-2f6ba5824da5",
      "parent_uuid": null,
      "title": "iPhone",
      "external_id": ""
    },
    "title": "iPhone 13",
    "description": "",
    "address": "iphone\/iphone-13",
    "pagination": 10,
    "children": true,
    "hidden": false,
    "order": 1,
    "status": "work",
    "sort": {
      "by": "title",
      "direction": "ASC"
    },
    "meta": {
      "title": "",
      "description": "",
      "keywords": ""
    },
    "template": {
      "category": "catalog.category.twig",
      "product": "catalog.product.twig"
    },
    "external_id": "",
    "export": "manual",
    "system": "",
    "attributes": [
      {
        "title": "Memory",
        "type": "string",
        "address": "memory",
        "values": [
          "128GB",
          "256GB",
          "512GB"
        ]
      },
      {
        "title": "Version",
        "type": "string",
        "address": "version",
        "values": [
          "Global"
        ]
      },
      {
        "title": "Color",
        "type": "string",
        "address": "color",
        "values": [
          "Blue",
          "Green",
          "Midnight",
          "PRODUCT RED",
          "Pink",
          "Starlight"
        ]
      }
    ],
    "files": [
      {
        "name": "iphone-13-mini-select-2021_result.jpeg",
        "size": 74803,
        "link": "\/uploads\/653b96615c3b2\/iphone-13-mini-select-2021_result.jpeg",
        "path": {
          "full": "\/uploads\/653b96615c3b2\/iphone-13-mini-select-2021_result.jpeg",
          "middle": "\/uploads\/653b96615c3b2\/iphone-13-mini-select-2021_result.jpeg",
          "small": "\/uploads\/653b96615c3b2\/iphone-13-mini-select-2021_result.jpeg"
        },
        "order": 1,
        "comment": ""
      }
    ]
  },
  "title": "Apple iPhone 13 128GB (Blue)",
  "type": "product",
  "description": "<p>Apple iPhone 13 is an amazing new product of 2021 It seems that what can be better than the flagship twelves, which are equipped with advanced technologies in the field of mobile development. Nevertheless, creators from Cupertino every time manage to surprise users with novelties with a particularly stylish design and innovative filling. You will fall in love with the hot Apple iPhone 13 at first sight. Elegant body features, new colors, an amazing display, cameras that can compete with the best photography equipment, powerful processors and a fast operating system. These are not just smartphones for a long time, but works of high-tech art.\r\n\r\n<\/p>",
  "extra": "",
  "address": "iphone\/iphone-13\/apple-iphone-13-128gb-blue",
  "vendorcode": "",
  "barcode": "",
  "tax": 20,
  "priceFirst": 0,
  "price": 25599,
  "priceWholesale": 0,
  "priceWholesaleFrom": 0,
  "discount": 0,
  "special": false,
  "dimension": {
    "length": 14.5,
    "width": 9,
    "height": 8,
    "weight": 300,
    "length_class": "cm",
    "weight_class": "g"
  },
  "quantity": 1,
  "quantityMin": 1,
  "stock": 0,
  "attributes": [
    {
      "title": "Memory",
      "type": "string",
      "address": "memory",
      "value": "128GB",
      "count": 6
    },
    {
      "title": "Version",
      "type": "string",
      "address": "version",
      "value": "Global",
      "count": 18
    },
    {
      "title": "Color",
      "type": "string",
      "address": "color",
      "value": "Blue",
      "count": 3
    }
  ],
  "country": "",
  "manufacturer": "",
  "tags": [
    ""
  ],
  "related": [],
  "relation": [],
  "order": 1,
  "status": "work",
  "date": "2023-12-26 14:57:52",
  "meta": {
    "title": "",
    "description": "",
    "keywords": ""
  },
  "external_id": "",
  "export": "manual",
  "files": [
    {
      "name": "9_1-1397x1397.jpg.webp",
      "size": 15660,
      "link": "\/uploads\/65392f9b53f24\/9_1-1397x1397.jpg.webp",
      "path": {
        "full": "\/uploads\/65392f9b53f24\/9_1-1397x1397.jpg.webp",
        "middle": "\/uploads\/65392f9b53f24\/9_1-1397x1397.jpg.webp",
        "small": "\/uploads\/65392f9b53f24\/9_1-1397x1397.jpg.webp"
      },
      "order": 1,
      "comment": ""
    },
    {
      "name": "3_1-1397x1397.jpg.webp",
      "size": 26576,
      "link": "\/uploads\/65392f9b52428\/3_1-1397x1397.jpg.webp",
      "path": {
        "full": "\/uploads\/65392f9b52428\/3_1-1397x1397.jpg.webp",
        "middle": "\/uploads\/65392f9b52428\/3_1-1397x1397.jpg.webp",
        "small": "\/uploads\/65392f9b52428\/3_1-1397x1397.jpg.webp"
      },
      "order": 2,
      "comment": ""
    },
    {
      "name": "18_2-1397x1397.jpg.webp",
      "size": 28634,
      "link": "\/uploads\/65392f9b55a33\/18_2-1397x1397.jpg.webp",
      "path": {
        "full": "\/uploads\/65392f9b55a33\/18_2-1397x1397.jpg.webp",
        "middle": "\/uploads\/65392f9b55a33\/18_2-1397x1397.jpg.webp",
        "small": "\/uploads\/65392f9b55a33\/18_2-1397x1397.jpg.webp"
      },
      "order": 3,
      "comment": ""
    },
    {
      "name": "19_2-1397x1397.jpg_1.webp",
      "size": 16844,
      "link": "\/uploads\/65392f9b57ca5\/19_2-1397x1397.jpg_1.webp",
      "path": {
        "full": "\/uploads\/65392f9b57ca5\/19_2-1397x1397.jpg_1.webp",
        "middle": "\/uploads\/65392f9b57ca5\/19_2-1397x1397.jpg_1.webp",
        "small": "\/uploads\/65392f9b57ca5\/19_2-1397x1397.jpg_1.webp"
      },
      "order": 4,
      "comment": ""
    },
    {
      "name": "2021-09-14_21.47.39-1397x1397.jpg.webp",
      "size": 18922,
      "link": "\/uploads\/65392f9b5973e\/2021-09-14_21.47.39-1397x1397.jpg.webp",
      "path": {
        "full": "\/uploads\/65392f9b5973e\/2021-09-14_21.47.39-1397x1397.jpg.webp",
        "middle": "\/uploads\/65392f9b5973e\/2021-09-14_21.47.39-1397x1397.jpg.webp",
        "small": "\/uploads\/65392f9b5973e\/2021-09-14_21.47.39-1397x1397.jpg.webp"
      },
      "order": 5,
      "comment": ""
    }
  ]
}

Catalog Order

{
    "uuid": "9c6549da-27f2-416c-869b-17b20ca2688a",
    "user_uuid": "a79dc435-c746-48d1-8955-e342d4f29568",
    "status_uuid": null,
    "payment_uuid": "f311a3ca-bf00-487d-9da1-e4037a787346",
    "serial": "24180001",
    "delivery": {
        "client": "Ильин Алексей",
        "address": "Россия, Москва, 111222, ул. 1905 года"
    },
    "shipping": "2024-06-29T15:00:00.000000Z",
    "comment": "",
    "phone": "+79001112233",
    "email": "alksily@outlook.com",
    "date": "2024-06-28T15:27:26.000000Z",
    "external_id": "",
    "export": "manual",
    "system": "",
    "status": null,
    "payment": {
        "uuid": "f311a3ca-bf00-487d-9da1-e4037a787346",
        "type": "payment",
        "title": "Cash",
        "value": {
            "plugin": ""
        },
        "order": 1,
        "status": true
    },
    "products": {
        "7db020cc-c730-4909-83e9-d7c0a997e6ab": {
            "title": "Free delivery",
            "address": "service/free-delivery",
            "price": 0,
            "price_type": "price",
            "count": 1,
            "discount": 0,
            "tax": 20
        },
        "959f06d6-2c6c-4c2f-907e-c9f5f49f2d4e": {
            "title": "Apple iPhone 15 512GB (Pink)",
            "address": "iphone/iphone-15/apple-iphone-15-512gb-pink",
            "price": 49427,
            "price_type": "price",
            "count": 1,
            "discount": 2500,
            "tax": 10
        }
    }
}

Clone this wiki locally