Get Order

GET /leads/getOrder/{leadID}

Retrieves an order data of a specific lead

Headers

x-api-key* string

API key for authorization

Response

{
  "id": 1984312,
  "customer_name": "Full Name",
  "customer_email": "[email protected]",
  "products": [
    {
      "name": "Product 101",
      "serial": "AP101",
      "quantity": 2,
      "unit_price": 500,
      "total_price": 1000
    },
    ...
  ],
  "delivery_type": "משלוח אקספרס עד הבית",
  "delivery_price": "30",
  "discount_amount": 300,
  "total_price": 2500,
  "form_fields": [
    {
      "name": "שם המודעה",
      "value": "קמפיין קרוסלת המוצרים"
    },
    ...
  ],
  "referral_source": "טופס הזמנה"
}

Last updated