instacart · Schema

PostCheckoutOrderItem

Properties

Name Type Description
id string The unique identifier for the order item.
product_name string The name of the ordered product.
quantity integer The ordered quantity.
status string The current status of the item during shopping.
replacement object
replacement_status string The customer's decision on the replacement, if one was suggested.
View JSON Schema on GitHub

JSON Schema

instacart-postcheckoutorderitem-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PostCheckoutOrderItem",
  "title": "PostCheckoutOrderItem",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for the order item."
    },
    "product_name": {
      "type": "string",
      "description": "The name of the ordered product."
    },
    "quantity": {
      "type": "integer",
      "description": "The ordered quantity."
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "found",
        "replaced",
        "refunded",
        "not_found"
      ],
      "description": "The current status of the item during shopping."
    },
    "replacement": {
      "$ref": "#/components/schemas/Replacement"
    },
    "replacement_status": {
      "type": "string",
      "enum": [
        "PENDING",
        "APPROVED",
        "REJECTED"
      ],
      "description": "The customer's decision on the replacement, if one was suggested."
    }
  }
}