{
  "rootfi_id": 157,
  "rootfi_created_at": "2024-01-22T05:07:31.465Z",
  "rootfi_updated_at": "2024-01-22T05:07:31.000Z",
  "rootfi_company_id": 1089,
  "platform_id": "123456",
  "currency_id": "1234567890",
  "reference": "123456",
  "created_at": "2024-01-22T05:07:31.465Z",
  "updated_at": "2024-01-22T05:07:31.000Z",
  "order_name": "John Doe",
  "order_number": "123456",
  "description": "John Doe",
  "total_discount": 100,
  "sub_total": 100,
  "tax_amount": 100,
  "total_amount": 100,
  "amount_due": 100,
  "order_status": "ACTIVE",
  "payment_status": "ACTIVE",
  "line_items": [
    {
      "item_id": "123456",
      "tax_id": "123456",
      "line_item_type_id": "123456",
      "line_item_type": "ECOMMERCE_ORDERS",
      "description": "This is a description",
      "unit_amount": 100,
      "quantity": 1,
      "total_discount": 100,
      "tax_amount": 100,
      "sub_total": 100,
      "total_amount": 100
    }
  ]
}

The Orders Data Model simplifies the handling and retrieval of orders from different ecommerce platforms. The model provides a unified representation of orders, enabling you to easily access and manage orders data from different platforms.

  • Unified orders properties: The model provides a unified representation of orders from different ecommerce gateways, enabling you to easily access and manage orders data from different platforms.
  • Comprehensive orders information: The model provides a comprehensive representation of orders.

Properties Supported

PropertyTypeDescription
platform_idstringThe Platform’s ID for the orders
currency_idstringThe currency ID of the orders
referencestringThe reference of the orders
created_atstringThe created at of the orders
updated_atstringThe updated at of the orders
order_namestringThe order name of the orders
order_numberstringThe order number of the orders
descriptionstringThe description of the orders
total_discountdoubleThe total discount of the orders
sub_totaldoubleThe sub total of the orders
tax_amountdoubleThe tax amount of the orders
total_amountdoubleThe total amount of the orders
amount_duedoubleThe amount due of the orders
order_statusstringThe order status of the orders
payment_statusstringThe ecommerce status of the orders
line_itemsobject[]The line items of the orders
{
  "rootfi_id": 157,
  "rootfi_created_at": "2024-01-22T05:07:31.465Z",
  "rootfi_updated_at": "2024-01-22T05:07:31.000Z",
  "rootfi_company_id": 1089,
  "platform_id": "123456",
  "currency_id": "1234567890",
  "reference": "123456",
  "created_at": "2024-01-22T05:07:31.465Z",
  "updated_at": "2024-01-22T05:07:31.000Z",
  "order_name": "John Doe",
  "order_number": "123456",
  "description": "John Doe",
  "total_discount": 100,
  "sub_total": 100,
  "tax_amount": 100,
  "total_amount": 100,
  "amount_due": 100,
  "order_status": "ACTIVE",
  "payment_status": "ACTIVE",
  "line_items": [
    {
      "item_id": "123456",
      "tax_id": "123456",
      "line_item_type_id": "123456",
      "line_item_type": "ECOMMERCE_ORDERS",
      "description": "This is a description",
      "unit_amount": 100,
      "quantity": 1,
      "total_discount": 100,
      "tax_amount": 100,
      "sub_total": 100,
      "total_amount": 100
    }
  ]
}