These are example orders as retrieved vi the Order API.


Example 1


An eBay order for the product in Example 1 http://support.omnivore.com.au/support/solutions/articles/17000096261-example-products

There is one line item with a quantity of 2 for the product "Test 1 Example Product".

The order is shipped via Australia Post with tracking and the shipping cost is AUD 5.50 (including GST)

The total for the order is 27.50, including GST and shipping, which is the transaction amount, ie the amount payed by the buyer. 

-

{
  "marketplace_code": "ebay",
  "id": 10001,
  "order_number": "1234567890123-1234567890123",
  "alt_order_number": "12-34567-89012",
  "retailer_order_id": 0,
  "retailer_order_number": null,
  "status": "created",
  "total_price": {
    "with_tax": "27.50",
    "without_tax": "25.00",
    "tax": "2.50",
    "currency": "AUD"
  },
  "additional_fee": {
    "amount": "0.00",
    "currency": "AUD"
  },
  "additional_tax": {
    "amount": "0.00",
    "currency": "AUD"
  },
  "customer": {
    "first_name": "John",
    "last_name": "Smith",
    "email": "john@example.com"
  },
  "billing_address": {
    "first_name": "John",
    "last_name": "Smith",
    "line1": "123 Beach St",
    "line2": "",
    "city": "Sydney",
    "state": "NSW",
    "postcode": "200",
    "phone": "0412345678",
    "country_name": "Australia",
    "country_code": "AU"
  },
  "shipping_address": {
    "first_name": "John",
    "last_name": "Smith",
    "line1": "123 Beach St",
    "line2": "",
    "city": "Sydney",
    "state": "NSW",
    "postcode": "200",
    "phone": "0412345678",
    "country_name": "Australia",
    "country_code": "AU"
  },
  "shipping": {
    "price": {
      "with_tax": "5.50",
      "without_tax": "5.00",
      "tax": "0.50",
      "currency": "AUD"
    },
    "carrier": "Australia Post",
    "method": "AU_StandardDelivery",
    "tracking_code": "1234567890"
  },
  "line_items": [
    {
      "id": 20001,
      "product_sku": "TEST1",
      "variant_sku": "TEST1",
      "marketplace_sku": "TEST1-TEST1",
      "name": "Test 1 Example Product",
      "unit_price": {
        "with_tax": "11.00",
        "tax": "1.00",
        "currency": "AUD"
      },
      "quantity": 2
    }
  ],
  "transactions": [
    {
      "amount": "16.50",
      "currency": "AUD"
    }
  ],
  "customer_message": "If nobody is home, please leave at front door",
  "created": "2019-12-01T01:02:03+0000",
  "updated": "2019-12-01T01:02:03+0000",
  "created_in_marketplace": "2019-12-01T01:00:00+0000"
}




~