Tock · Example Payload

Reservation Reservation Example

HospitalityReservationsRestaurantsWineriesTicketed EventsTakeoutDeliveryExperiencesDiningAmerican Express

Reservation Reservation Example is an example object payload from Tock, with 49 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

idbusinessdateTimepartySizeexperienceoptionfeecustomChargekeyValuecompAmountCentssubtotalCentstaxRatetaxCentsserviceChargeRateserviceChargeCentsselectedGratuityRategratuityCentseventFeeRateeventFeeCentscustomFeeRatecustomFeeCentscustomFeeNametotalPriceCentsdiscountnetAmountPaidCentsamountDueCentscreatedTimestamplastUpdatedTimestampserviceDateTimestamptransferredOuttransferredOutAmountCentsisCancelledownerPatrondinerPatronversionIdloyaltyProgramCardNumberUsedvisitFeedbackvisitTagpaymentrefundpartyStatesequenceIdconfirmationCodeserverNamewalkinIdnotequestiontableseatingOption

Example Payload

Raw ↑
{
  "id": "229255",
  "business": {
    "id": "424960",
    "name": "Tock Restaurant Group",
    "domainName": "Tock Restaurant Group",
    "locale": "en-US",
    "currencyCode": "USD",
    "timeZone": "America/Chicago"
  },
  "dateTime": "19:30",
  "partySize": 6,
  "experience": {
    "id": "689238",
    "name": "Tock Restaurant Group",
    "amountCents": "example",
    "posSku": "EXP-TASTING-01",
    "variety": {}
  },
  "option": [
    {
      "id": "687277",
      "name": "Tock Restaurant Group",
      "amountCents": "example",
      "posSku": "EXP-TASTING-01"
    }
  ],
  "fee": [
    {
      "id": "604506",
      "name": "Tock Restaurant Group",
      "amountCents": "example",
      "posSku": "EXP-TASTING-01"
    }
  ],
  "customCharge": [
    {
      "name": "Tock Restaurant Group",
      "amountCents": "example"
    }
  ],
  "keyValue": [
    {
      "attribute": "example",
      "attributeValue": "example"
    }
  ],
  "compAmountCents": 19900,
  "subtotalCents": 2500,
  "taxRate": 0.13,
  "taxCents": 2500,
  "serviceChargeRate": 0.101,
  "serviceChargeCents": 12000,
  "selectedGratuityRate": 0.059,
  "gratuityCents": 12000,
  "eventFeeRate": 0.165,
  "eventFeeCents": 5000,
  "customFeeRate": 0.248,
  "customFeeCents": 19900,
  "customFeeName": "Tock Restaurant Group",
  "totalPriceCents": 5000,
  "discount": [
    {
      "description": "Celebrating an anniversary; window table preferred.",
      "amountCents": 2500,
      "discountType": {},
      "giftCard": {
        "giftCardProvider": {},
        "externalIdentifier": "example",
        "externalPin": "example"
      },
      "confirmationNumber": "example",
      "promoCode": "example",
      "ticketTypePromoCodeId": "849438",
      "loyaltyProgram": {
        "providerType": {},
        "accountId": "828139"
      }
    }
  ],
  "netAmountPaidCents": 19900,
  "amountDueCents": 5000,
  "createdTimestamp": "example",
  "lastUpdatedTimestamp": "example",
  "serviceDateTimestamp": "19:30",
  "transferredOut": false,
  "transferredOutAmountCents": 2500,
  "isCancelled": true,
  "ownerPatron": {
    "id": "316113",
    "email": "guest@example.com",
    "firstName": "Jordan",
    "lastName": "Rivera",
    "phone": "3125550142",
    "phoneCountryCode": "US",
    "zipCode": "60607",
    "imageUrl": "https://www.exploretock.com/example",
    "isoCountryCode": "US",
    "loyaltyProgramCardNumber": "example",
    "loyaltyProgramAccountId": "613853"
  },
  "dinerPatron": {
    "id": "505743",
    "email": "guest@example.com",
    "firstName": "Jordan",
    "lastName": "Rivera",
    "phone": "3125550142",
    "phoneCountryCode": "US",
    "zipCode": "60607",
    "imageUrl": "https://www.exploretock.com/example",
    "isoCountryCode": "US",
    "loyaltyProgramCardNumber": "example",
    "loyaltyProgramAccountId": "757638"
  },
  "versionId": "681022",
  "loyaltyProgramCardNumberUsed": "example",
  "visitFeedback": [
    {
      "id": "805271",
      "rating": {},
      "message": "Celebrating an anniversary; window table preferred.",
      "isLocked": true,
      "createdAtEpochSec": "example",
      "ratingType": {},
      "ratingScore": 998
    }
  ],
  "visitTag": [
    {
      "tag": "VIP"
    }
  ],
  "payment": [
    {
      "id": "318266",
      "amount": 625,
      "payout": {
        "id": "372882",
        "arrivalDate": "example"
      },
      "paymentType": {},
      "processorId": "958207",
      "processorFeeCents": 19900,
      "tockFeeCents": 2500
    }
  ],
  "refund": [
    {
      "id": "137583",
      "amount": 203,
      "isDispute": false,
      "status": {},
      "payout": {
        "id": "344630",
        "arrivalDate": "example"
      },
      "processorId": "612577",
      "processorFeeRefundedCents": 2500,
      "tockFeeRefundedCents": 19900
    }
  ],
  "partyState": {},
  "sequenceId": 912027,
  "confirmationCode": "TKAB12CD",
  "serverName": "Tock Restaurant Group",
  "walkinId": "113793",
  "note": [
    {
      "noteType": {},
      "text": "Celebrating an anniversary; window table preferred."
    }
  ],
  "question": [
    {
      "name": "Tock Restaurant Group",
      "response": [
        "example"
      ]
    }
  ],
  "table": [
    {
      "id": "656822",
      "name": "Tock Restaurant Group",
      "room": "example",
      "externalId": "610958"
    }
  ],
  "seatingOption": {
    "id": "982746",
    "name": "Tock Restaurant Group",
    "isOutdoors": false
  }
}