AMC Order

Schema for an AMC order as returned by the AMC Theatres API v3.

EntertainmentMoviesTheatresShowtimesTicketingConcessionsLoyaltyFortune 500

Properties

Name Type Description
orderId string
token string
amcAccountId string
status string
createdUtc string
expirationUtc string
totalAmount number
totalTax number
totalConvenienceFees number
contact object
products array
payments array
View JSON Schema on GitHub

JSON Schema

amc-theatres-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/amc-entertainment-holdings/json-schema/amc-theatres-order-schema.json",
  "title": "AMC Order",
  "description": "Schema for an AMC order as returned by the AMC Theatres API v3.",
  "type": "object",
  "required": ["orderId", "status"],
  "properties": {
    "orderId": { "type": "string" },
    "token": { "type": "string" },
    "amcAccountId": { "type": "string" },
    "status": { "type": "string", "enum": ["Pending", "Submitted", "Fulfilled", "Cancelled", "Refunded", "Failed"] },
    "createdUtc": { "type": "string", "format": "date-time" },
    "expirationUtc": { "type": "string", "format": "date-time" },
    "totalAmount": { "type": "number" },
    "totalTax": { "type": "number" },
    "totalConvenienceFees": { "type": "number" },
    "contact": {
      "type": "object",
      "properties": {
        "firstName": { "type": "string" },
        "lastName": { "type": "string" },
        "email": { "type": "string", "format": "email" },
        "phone": { "type": "string" },
        "zipCode": { "type": "string" }
      }
    },
    "products": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "lineNumber": { "type": "integer" },
          "sku": { "type": "string" },
          "productType": { "type": "string", "enum": ["Ticket", "Concession", "GiftCard", "Other"] },
          "quantity": { "type": "integer" },
          "unitPrice": { "type": "number" },
          "totalPrice": { "type": "number" },
          "showtimeId": { "type": "integer" },
          "seatIds": { "type": "array", "items": { "type": "string" } },
          "deliveryLocationId": { "type": "integer" },
          "pickupTime": { "type": "string", "format": "date-time" },
          "deliveryTime": { "type": "string", "format": "date-time" }
        }
      }
    },
    "payments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "lineNumber": { "type": "integer" },
          "type": { "type": "string", "enum": ["CreditCard", "GiftCard", "ApplePay", "GooglePay", "Loyalty"] },
          "amount": { "type": "number" }
        }
      }
    }
  }
}