Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
2.9 kB
6
Indexable
Never
`{
  "id": "2b9888ca-24bc-e711-a977-0afcc1bd9d86",
  "orderId": 88182,
  "orderIdString": "88182",
  "externalReference": "string",
  "posRef": "ABC123",
  "brandName": "Foosburgers",
  "brandId": "cea27ddd-06cd-4a62-93af-858cb3e32dc9",
  "storeNumber": "string",
  "storeUtcOffset": -4,
  "timePlaced": "20171028 17:13",
  "timeWanted": "20171028 17:19",
  "prepEndTime": "20171028 17:21",
  "timeReady": "20171028 17:19",
  "handoffStartTime": "20171028 17:19",
  "customer": {
    "customerId": 63775,
    "externalReference": "53235aacb-a24a-4e4c-17d1-d0d215412cb2",
    "firstName": "Mike",
    "lastName": "Test",
    "contactNumber": "15055555555",
    "email": "mike.test@olo.com",
    "loyaltyScheme": "string",
    "membershipNumber": "string",
    "loginProviders": [
      {
        "name": "Google",
        "slug": "google"
      }
    ]
  },
  "deliveryMethod": "pickup",
  "deliveryAddress": {
    "streetAddress1": "26 Broadway, Building 3",
    "streetAddress2": "string",
    "city": "New York",
    "postalCode": "10004",
    "comments": "Wait in lobby",
    "coordinates": {
      "latitude": 40.7055092,
      "longitude": -74.0131178
    }
  },
  "items": [
    {
      "productId": 122483,
      "specialInstructions": "string",
      "quantity": 1,
      "recipientName": "string",
      "customValues": [
        {
          "label": "Writing on the cake",
          "value": "Happy Birthday!",
          "vendorOptionGroupChoiceId": 894675
        }
      ],
      "description": "string",
      "sellingPrice": 1.99,
      "modifiers": [
        {
          "modifierId": 382903,
          "vendorSpecificModifierId": 214931301,
          "modifierQuantity": 1,
          "description": "string",
          "sellingPrice": 0.99,
          "modifiers": [
            {}
          ],
          "customFields": [
            {
              "key": "Name",
              "value": "Value"
            }
          ]
        }
      ]
    }
  ],
  "customFields": [
    {
      "key": "Name",
      "value": "Value"
    }
  ],
  "customFees": [
    {
      "amount": 0,
      "description": "Service Fee",
      "internalName": "Systemwide Service Fee"
    }
  ],
  "totals": {
    "subTotal": 0,
    "salesTax": 0,
    "feesTotal": 0,
    "tip": 0,
    "discount": 0,
    "total": 0,
    "customerDelivery": 0,
    "delivery": 0
  },
  "payments": [
    {
      "type": "instore",
      "description": "Cash",
      "amount": 6.99
    }
  ],
  "clientPlatform": "Web",
  "location": {
    "name": "Kitchen Sink Demo Vendor",
    "logo": "string",
    "latitude": 40.7270278,
    "longitude": -73.9918977
  },
  "orderingProvider": {
    "name": "Olo",
    "slug": "olo"
  },
  "coupon": {
    "couponCode": "25OFF",
    "description": "Take 25% off entire order"
  },
  "pickUpDetails": {
    "timePickedUp": "20171028 17:27",
    "comment": ""
  }
}`