Skip to content
On this page

What a Create Order Payload looks like

In case you want to compare, here's a sample payload:

{
  "order": {
    "email": "order_tracking@wrkout.com",
    "shipping_address": {
      "first_name": "John",
      "last_name": "Doe",
      "address1": "123 Main St",
      "address2": "Apt 4B",
      "city": "Exampletown",
      "province": "Examplestate",
      "country": "United States",
      "zip": "12345",
      "phone": "+1 (555) 123-4567"
    },
    "line_items": [
      {
        "variant_id": 40616546566229,
        "quantity": 2
      }
    ],
    "note_attributes": [
      {
        "name": "ecn_order_id",
        "value": "64824f31ea3852146040925c"
      },
      {
        "name": "ecn_order_number",
        "value": "1010-438"
      },
      {
        "name": "ecn_order_date",
        "value": "2023-06-28T15:24:43.178Z"
      },
      {
        "name": "wrkout_sync",
        "value": true
      },
      {
        "name": "ecn_customer_email",
        "value": "johndoe@example.com"
      }
    ]
  }
}