Advertisement
lgarcia_ebcomm

order_json

May 24th, 2024
379
0
1 day
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 7.69 KB | None | 0 0
  1. {
  2.     "order": {
  3.         "info": {
  4.             "order_id": 42,
  5.             "currency": "MXN",
  6.             "currency_value": "1.0000",
  7.             "payment_method": "Pago al Entregar",
  8.             "payment_module_code": "cod",
  9.             "shipping_method": "Env\u00edo Gratuito! (Env\u00edo Gratuito)",
  10.             "shipping_module_code": "freeshipper",
  11.             "coupon_code": "",
  12.             "cc_type": "",
  13.             "cc_owner": "",
  14.             "cc_number": "",
  15.             "cc_cvv": null,
  16.             "cc_expires": "",
  17.             "date_purchased": "2024-05-22 12:28:14",
  18.             "orders_status": "1",
  19.             "total": "9348.00",
  20.             "tax": "0.00",
  21.             "last_modified": null,
  22.             "ip_address": "187.161.117.69 - 187.161.117.69",
  23.             "language_code": "es",
  24.             "order_weight": "0",
  25.             "comments": "",
  26.             "tax_groups": {
  27.                 "0.0000": "1"
  28.             },
  29.             "status_history": [
  30.                 {
  31.                     "orders_status_history_id": "71",
  32.                     "orders_status_id": "1",
  33.                     "date_added": "2024-05-22 12:28:14",
  34.                     "customer_notified": "1",
  35.                     "comments": "",
  36.                     "updated_by": "",
  37.                     "track_id": "",
  38.                     "order_total": null
  39.                 }
  40.             ]
  41.         },
  42.         "totals": [
  43.             {
  44.                 "title": "Subtotal:",
  45.                 "text": "$9,348.00",
  46.                 "class": "ot_subtotal",
  47.                 "value": "9348.0000",
  48.                 "sort_order": "100"
  49.             },
  50.             {
  51.                 "title": "Env\u00edo Gratuito! (Env\u00edo Gratuito):",
  52.                 "text": "$0.00",
  53.                 "class": "ot_shipping",
  54.                 "value": "0.0000",
  55.                 "sort_order": "200"
  56.             },
  57.             {
  58.                 "title": "Impuesto de venta + IVA:",
  59.                 "text": "$0.00",
  60.                 "class": "ot_tax",
  61.                 "value": "0.0000",
  62.                 "sort_order": "300"
  63.             },
  64.             {
  65.                 "title": "Total:",
  66.                 "text": "$9,348.00",
  67.                 "class": "ot_total",
  68.                 "value": "9348.0000",
  69.                 "sort_order": "999"
  70.             }
  71.         ],
  72.         "products": [
  73.             {
  74.                 "qty": 1,
  75.                 "id": "53",
  76.                 "type": "1",
  77.                 "orders_products_id": "45",
  78.                 "name": "MOTOROLA G24\u00a08+256GB<p>(MOTOXT2425AZ)<\/p><br>(MOTOXT2425AZ)",
  79.                 "model": "MOTOXT2425",
  80.                 "tax": "0.0000",
  81.                 "price": "9348.0000",
  82.                 "final_price": "9348.0000",
  83.                 "onetime_charges": "0.0000",
  84.                 "products_priced_by_attribute": "0",
  85.                 "product_is_free": "0",
  86.                 "products_discount_type": "0",
  87.                 "products_discount_type_from": "0",
  88.                 "products_weight": "0",
  89.                 "products_virtual": 0,
  90.                 "product_is_always_free_shipping": 1,
  91.                 "products_quantity_order_min": "1",
  92.                 "products_quantity_order_units": "1",
  93.                 "products_quantity_order_max": "0",
  94.                 "products_quantity_mixed": 1,
  95.                 "products_mixed_discount_quantity": 1,
  96.                 "products_prid": "53:6e88e5c1b64d0828710309754f1625b1",
  97.                 "attributes": [
  98.                     {
  99.                         "option": "Periodo de plan",
  100.                         "value": "12 Meses",
  101.                         "option_id": "4",
  102.                         "value_id": "12",
  103.                         "prefix": "+",
  104.                         "price": "0.0000",
  105.                         "product_attribute_is_free": 0
  106.                     },
  107.                     {
  108.                         "option": "Color",
  109.                         "value": "Azul",
  110.                         "option_id": "1",
  111.                         "value_id": "5",
  112.                         "prefix": "+",
  113.                         "price": "0.0000",
  114.                         "product_attribute_is_free": 0
  115.                     },
  116.                     {
  117.                         "option": "Capacidad",
  118.                         "value": "256 GB",
  119.                         "option_id": "2",
  120.                         "value_id": "18",
  121.                         "prefix": "+",
  122.                         "price": "0.0000",
  123.                         "product_attribute_is_free": 0
  124.                     },
  125.                     {
  126.                         "option": "Plan",
  127.                         "value": "PLAN MAX",
  128.                         "option_id": "0",
  129.                         "value_id": "0",
  130.                         "prefix": "",
  131.                         "price": "0.0000",
  132.                         "product_attribute_is_free": 0
  133.                     }
  134.                 ],
  135.                 "subproduct": {
  136.                     "product_model": "MOTOXT2425AZ"
  137.                 }
  138.             }
  139.         ],
  140.         "customer": {
  141.             "id": "6",
  142.             "name": "Luis Alejandro Ortiz",
  143.             "company": "EBCOMM SOLUCIONES",
  144.             "street_address": "Calle 16 de noviembre",
  145.             "ext_number": "501",
  146.             "int_number": "123",
  147.             "suburb": "Nuevo Repueblo",
  148.             "city": "Monterrey",
  149.             "postcode": "64700",
  150.             "state": "Nuevo Le\u00f3n",
  151.             "country": "Mexico",
  152.             "format_id": "1",
  153.             "telephone": "8115616646",
  154.             "fax": "8115616646",
  155.             "email_address": "lgarcia@ebcomm.mx"
  156.         },
  157.         "delivery": {
  158.             "name": "Luis Alejandro Ortiz",
  159.             "company": "EBCOMM SOLUCIONES",
  160.             "street_address": "Calle 16 de noviembre",
  161.             "ext_number": "501",
  162.             "int_number": "123",
  163.             "suburb": "Nuevo Repueblo",
  164.             "city": "Monterrey",
  165.             "postcode": "64700",
  166.             "state": "Nuevo Le\u00f3n",
  167.             "country": "Mexico",
  168.             "format_id": "1"
  169.         },
  170.         "billing": {
  171.             "name": "Luis Alejandro Ortiz",
  172.             "company": "EBCOMM SOLUCIONES",
  173.             "rfc": "GAOL851101QN9",
  174.             "street_address": "Calle 16 de noviembre",
  175.             "ext_number": "501",
  176.             "int_number": "123",
  177.             "suburb": "Nuevo Repueblo",
  178.             "city": "Monterrey",
  179.             "postcode": "64700",
  180.             "state": "Nuevo Le\u00f3n",
  181.             "country": "Mexico",
  182.             "format_id": "1",
  183.             "invoice_request": {
  184.                 "cfdi_code": "D01",
  185.                 "fiscal_regime_code": "605",
  186.                 "sat_cfdi_usage_description": "Honorarios m\u00e9dicos, dentales y gastos hospitalarios",
  187.                 "sat_fiscal_regime_description": "Sueldos y Salarios e Ingresos Asimilados a Salarios"
  188.             }
  189.         },
  190.         "content_type": null,
  191.         "email_low_stock": null,
  192.         "products_ordered_attributes": null,
  193.         "products_ordered": null,
  194.         "products_ordered_email": null,
  195.         "products_ordered_html": null,
  196.         "attachArray": null,
  197.         "email_order_message": null,
  198.         "extra_header_text": null,
  199.         "doStockDecrement": null,
  200.         "send_low_stock_emails": null,
  201.         "queryReturnFlag": null,
  202.         "bestSellersUpdate": null,
  203.         "use_external_tax_handler_only": null,
  204.         "subtotal": null,
  205.         "total_tax": null,
  206.         "total_weight": null,
  207.         "total_cost": null,
  208.         "products_ordered_attributes_html": [],
  209.         "delivery_boxes": null,
  210.         "email_template": "checkout",
  211.         "hide_delivery_info": false
  212.     }
  213. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement