instacart · Schema

OrderItem

Properties

Name Type Description
product_id string The Instacart product identifier.
upc string The Universal Product Code of the item.
name string The name of the product.
quantity integer The ordered quantity.
status string The current status of the item in the order.
View JSON Schema on GitHub

JSON Schema

instacart-orderitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderItem",
  "title": "OrderItem",
  "type": "object",
  "properties": {
    "product_id": {
      "type": "string",
      "description": "The Instacart product identifier."
    },
    "upc": {
      "type": "string",
      "description": "The Universal Product Code of the item."
    },
    "name": {
      "type": "string",
      "description": "The name of the product."
    },
    "quantity": {
      "type": "integer",
      "description": "The ordered quantity."
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "found",
        "replaced",
        "refunded"
      ],
      "description": "The current status of the item in the order."
    }
  }
}