Advance Auto Parts · Schema

OrderInput

Request to create a new order.

AutomotiveE-CommerceParts CatalogRetailSupply ChainFortune 500

Properties

Name Type Description
cartId string Cart to convert to an order.
storeId string Store for pickup.
fulfillmentType string Fulfillment type.
paymentMethodId string Payment method identifier.
View JSON Schema on GitHub

JSON Schema

commerce-api-orderinput-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OrderInput",
  "description": "Request to create a new order.",
  "type": "object",
  "required": [
    "cartId",
    "fulfillmentType"
  ],
  "properties": {
    "cartId": {
      "type": "string",
      "description": "Cart to convert to an order.",
      "example": "cart-abc123"
    },
    "storeId": {
      "type": "string",
      "description": "Store for pickup."
    },
    "fulfillmentType": {
      "type": "string",
      "description": "Fulfillment type.",
      "enum": [
        "store-pickup",
        "same-day-delivery",
        "standard-shipping"
      ]
    },
    "paymentMethodId": {
      "type": "string",
      "description": "Payment method identifier."
    }
  }
}