Advance Auto Parts Loyalty API

Speed Perks loyalty program

Business capability
Loyalty & Retention Management BC-420.40

Operations 2

GET /loyalty/account Advance Auto Parts Get Loyalty Account #
GET /loyalty/transactions Advance Auto Parts Get Loyalty Transactions #

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-loyalty-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-loyalty-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Advance Auto Parts Commerce Loyalty 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: Loyalty
  description: Speed Perks loyalty program
paths:
  /loyalty/account:
    get:
      operationId: getLoyaltyAccount
      summary: Advance Auto Parts Get Loyalty Account
      description: Retrieve Speed Perks loyalty account details including points balance and reward status.
      tags:
      - Loyalty
      responses:
        '200':
          description: Loyalty account details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoyaltyAccount'
              examples:
                getLoyaltyAccount200Example:
                  summary: Default getLoyaltyAccount 200 response
                  x-microcks-default: true
                  value:
                    accountId: sp-001
                    memberId: '123456789'
                    pointsBalance: 2500
                    tier: Gold
                    rewardValue: 5.0
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                getLoyaltyAccount401Example:
                  summary: Default getLoyaltyAccount 401 response
                  x-microcks-default: true
                  value:
                    code: UNAUTHORIZED
                    message: Authentication required
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /loyalty/transactions:
    get:
      operationId: getLoyaltyTransactions
      summary: Advance Auto Parts Get Loyalty Transactions
      description: Retrieve Speed Perks points transaction history for the loyalty account.
      tags:
      - Loyalty
      parameters:
      - name: limit
        in: query
        required: false
        description: Maximum number of transactions to return.
        schema:
          type: integer
          default: 20
      - name: offset
        in: query
        required: false
        description: Pagination offset.
        schema:
          type: integer
          default: 0
      responses:
        '200':
          description: Points transaction history.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoyaltyTransactionList'
              examples:
                getLoyaltyTransactions200Example:
                  summary: Default getLoyaltyTransactions 200 response
                  x-microcks-default: true
                  value:
                    transactions:
                    - id: txn-001
                      type: earn
                      points: 100
                      description: 'Purchase #order-001'
                      date: '2026-04-01T10:30:00Z'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                getLoyaltyTransactions401Example:
                  summary: Default getLoyaltyTransactions 401 response
                  x-microcks-default: true
                  value:
                    code: UNAUTHORIZED
                    message: Authentication required
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    LoyaltyTransactionList:
      type: object
      description: List of loyalty transactions.
      properties:
        transactions:
          type: array
          description: Array of transactions.
          items:
            $ref: '#/components/schemas/LoyaltyTransaction'
    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.
    LoyaltyAccount:
      type: object
      description: A Speed Perks loyalty account.
      properties:
        accountId:
          type: string
          description: Loyalty account ID.
          example: sp-001
        memberId:
          type: string
          description: Member ID number.
          example: '123456789'
        pointsBalance:
          type: integer
          description: Current points balance.
          example: 2500
        tier:
          type: string
          description: Loyalty tier.
          enum:
          - Bronze
          - Silver
          - Gold
          - Platinum
          example: Gold
        rewardValue:
          type: number
          format: float
          description: Dollar value of available rewards.
          example: 5.0
    LoyaltyTransaction:
      type: object
      description: A Speed Perks points transaction.
      properties:
        id:
          type: string
          description: Transaction ID.
          example: txn-001
        type:
          type: string
          description: Transaction type.
          enum:
          - earn
          - redeem
          - expire
          - adjust
          example: earn
        points:
          type: integer
          description: Points earned or redeemed.
          example: 100
        description:
          type: string
          description: Transaction description.
          example: 'Purchase #order-001'
        date:
          type: string
          format: date-time
          description: Transaction date.
          example: '2026-04-01T10:30:00Z'
  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