Otter · JSON Structure

Public Api Accept Delivery Callback Request Structure

Delivery information.

Type: object Properties: 9
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

AcceptDeliveryCallbackRequest is a JSON Structure definition published by Otter, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

deliveryDistance currencyCode cost fulfillmentPath estimatedDeliveryTime estimatedPickupTime confirmedAt deliveryTrackingUrl providerDeliveryId

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-accept-delivery-callback-request-structure.json",
  "name": "AcceptDeliveryCallbackRequest",
  "description": "Delivery information.",
  "type": "object",
  "properties": {
    "deliveryDistance": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-distance-schema.json"
    },
    "currencyCode": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3,
      "description": "The 3-letter currency code (ISO 4217) to use for all monetary values.",
      "example": "EUR"
    },
    "cost": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-delivery-cost-schema.json"
    },
    "fulfillmentPath": {
      "type": "array",
      "nullable": true,
      "description": "List of entities involved in the fulfillment processing path.",
      "items": {
        "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-fulfillment-path-entity-schema.json"
      }
    },
    "estimatedDeliveryTime": {
      "type": "datetime",
      "nullable": true,
      "description": "The expected delivery time.",
      "example": "2007-12-03T10:15:30+01:00"
    },
    "estimatedPickupTime": {
      "type": "datetime",
      "nullable": true,
      "description": "The expected pickup time.",
      "example": "2007-12-03T10:15:30+01:00"
    },
    "confirmedAt": {
      "type": "datetime",
      "description": "The time that the request was accepted.",
      "example": "2007-12-03T10:15:30+01:00"
    },
    "deliveryTrackingUrl": {
      "type": "string",
      "nullable": true,
      "description": "URL to a web page that tracks the delivery.",
      "example": "www.example.com"
    },
    "providerDeliveryId": {
      "type": "string",
      "nullable": true,
      "description": "The provider's internal identifier for the delivery used for tracking purposes.",
      "example": "store_123"
    }
  }
}