Market Order

Description

A market order.

Properties

Property Description
links required read-only

Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name.

order

Order details for this market order.

Property Description
created

The date and time at which the order was made.

email

The email address for the user who placed the order.

id

The identifier for the order.

products

The products purchased in this market order.

type

The type of object represented.

OpenAPI Schema

The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.

{
  "description": "A market order.",
  "properties": {
    "links": {
      "$ref": "#/components/schemas/Links"
    },
    "order": {
      "description": "Order details for this market order.",
      "properties": {
        "created": {
          "description": "The date and time at which the order was made.",
          "format": "date-time",
          "type": "string"
        },
        "email": {
          "description": "The email address for the user who placed the order.",
          "format": "email",
          "type": "string"
        },
        "id": {
          "description": "The identifier for the order.",
          "type": "integer"
        }
      },
      "type": "object"
    },
    "products": {
      "description": "The products purchased in this market order.",
      "items": {
        "$ref": "#/components/schemas/MarketProduct"
      },
      "title": "Market Product",
      "type": "array"
    },
    "type": {
      "description": "The type of object represented.",
      "enum": [
        "market-order"
      ],
      "type": "string"
    }
  },
  "title": "Market Order",
  "type": "object"
}