Advance Auto Parts Orders API

Order placement and management

Operations 3

GET /orders Advance Auto Parts List Orders #
POST /orders Advance Auto Parts Create Order #
GET /orders/{orderId} Advance Auto Parts Get Order Details #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/advance-auto-parts-orders-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

advance-auto-parts-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Advance Auto Parts Commerce Orders API
  description: The Advance Auto Parts Commerce API enables ordering, cart management, loyalty program integration, and order fulfillment for commercial accounts. Supports creating orders, managing Speed Perks loyalty points, tracking shipments, and accessing purchase history for fleet and professional installer accounts.
  version: '1'
  contact:
    name: Advance Auto Parts Commercial Support
    url: https://www.advanceautoparts.com/i/help/commercial-accounts
  termsOfService: https://www.advanceautoparts.com/i/policies/terms-and-conditions
  license:
    name: Advance Auto Parts Terms of Service
    url: https://www.advanceautoparts.com/i/policies/terms-and-conditions
servers:
- url: https://api.advanceautoparts.com/commerce/v1
  description: Advance Auto Parts Commerce API Production
security:
- oauth2: []
tags:
- name: Orders
  description: Order placement and management
paths:
  /orders:
    get:
      operationId: getOrders
      summary: Advance Auto Parts List Orders
      description: Retrieve order history for the authenticated commercial account.
      tags:
      - Orders
      parameters:
      - name: startDate
        in: query
        required: false
        description: Filter orders placed on or after this date (ISO 8601).
        schema:
          type: string
          format: date-time
      - name: endDate
        in: query
        required: false
        description: Filter orders placed on or before this date (ISO 8601).
        schema:
          type: string
          format: date-time
      - name: status
        in: query
        required: false
        description: Filter by order status.
        schema:
          type: string
          enum:
          - pending
          - processing
          - shipped
          - delivered
          - cancelled
      - name: limit
        in: query
        required: false
        description: Maximum number of orders to return.
        schema:
          type: integer
          default: 20
      - name: offset
        in: query
        required: false
        description: Pagination offset.
        schema:
          type: integer
          default: 0
      responses:
        '200':
          description: Order history.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderList'
              examples:
                getOrders200Example:
                  summary: Default getOrders 200 response
                  x-microcks-default: true
                  value:
                    orders:
                    - id: order-001
                      status: delivered
                      total: 109.98
                      createdAt: '2026-04-01T10:30:00Z'
                    total: 1
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                getOrders401Example:
                  summary: Default getOrders 401 response
                  x-microcks-default: true
                  value:
                    code: UNAUTHORIZED
                    message: Authentication required
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
    post:
      operationId: createOrder
      summary: Advance Auto Parts Create Order
      description: Place a new order from the current cart contents.
      tags:
      - Orders
      requestBody:
        required: true
        description: Order creation request.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderInput'
            examples:
              createOrderRequestExample:
                summary: Default createOrder request
                x-microcks-default: true
                value:
                  cartId: cart-abc123
                  storeId: store-001
                  fulfillmentType: store-pickup
                  paymentMethodId: pm-001
      responses:
        '201':
          description: Order created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
              examples:
                createOrder201Example:
                  summary: Default createOrder 201 response
                  x-microcks-default: true
                  value:
                    id: order-002
                    status: pending
                    total: 109.98
                    createdAt: '2026-04-19T10:00:00Z'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                createOrder401Example:
                  summary: Default createOrder 401 response
                  x-microcks-default: true
                  value:
                    code: UNAUTHORIZED
                    message: Authentication required
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /orders/{orderId}:
    get:
      operationId: getOrder
      summary: Advance Auto Parts Get Order Details
      description: Retrieve details of a specific order including line items, tracking, and status.
      tags:
      - Orders
      parameters:
      - name: orderId
        in: path
        required: true
        description: Order identifier.
        schema:
          type: string
      responses:
        '200':
          description: Order details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
              examples:
                getOrder200Example:
                  summary: Default getOrder 200 response
                  x-microcks-default: true
                  value:
                    id: order-001
                    status: delivered
                    total: 109.98
                    createdAt: '2026-04-01T10:30:00Z'
                    items:
                    - productId: SKU-123456
                      quantity: 2
                      unitPrice: 54.99
        '404':
          description: Order not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                getOrder404Example:
                  summary: Default getOrder 404 response
                  x-microcks-default: true
                  value:
                    code: NOT_FOUND
                    message: Order not found
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    OrderInput:
      type: object
      description: Request to create a new order.
      required:
      - cartId
      - fulfillmentType
      properties:
        cartId:
          type: string
          description: Cart to convert to an order.
          example: cart-abc123
        storeId:
          type: string
          description: Store for pickup (required for store-pickup fulfillment).
          example: store-001
        fulfillmentType:
          type: string
          description: How to fulfill the order.
          enum:
          - store-pickup
          - same-day-delivery
          - standard-shipping
          example: store-pickup
        paymentMethodId:
          type: string
          description: Payment method identifier.
          example: pm-001
    OrderList:
      type: object
      description: List of orders.
      properties:
        orders:
          type: array
          description: Array of orders.
          items:
            $ref: '#/components/schemas/Order'
        total:
          type: integer
          description: Total number of orders.
          example: 25
    CartItem:
      type: object
      description: An item in the shopping cart.
      properties:
        productId:
          type: string
          description: Product SKU.
          example: SKU-123456
        quantity:
          type: integer
          description: Quantity of the item.
          example: 2
        unitPrice:
          type: number
          format: float
          description: Price per unit.
          example: 54.99
    Order:
      type: object
      description: A placed order.
      properties:
        id:
          type: string
          description: Order identifier.
          example: order-001
        status:
          type: string
          description: Current order status.
          enum:
          - pending
          - processing
          - shipped
          - delivered
          - cancelled
          example: delivered
        total:
          type: number
          format: float
          description: Order total.
          example: 109.98
        createdAt:
          type: string
          format: date-time
          description: Order creation timestamp.
          example: '2026-04-01T10:30:00Z'
        items:
          type: array
          description: Items in the order.
          items:
            $ref: '#/components/schemas/CartItem'
    ErrorResponse:
      type: object
      description: API error response.
      properties:
        code:
          type: string
          description: Error code.
          example: NOT_FOUND
        message:
          type: string
          description: Error message.
          example: The requested resource was not found.
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://auth.advanceautoparts.com/oauth/authorize
          tokenUrl: https://auth.advanceautoparts.com/oauth/token
          scopes:
            catalog:read: Read product catalog
            orders:read: Read order history
            orders:write: Place and manage orders
            loyalty:read: Read loyalty account