Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Advance Auto Parts Cart API

Shopping cart management

Advance Auto Parts Cart API is one of 7 APIs that Advance Auto Parts publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Cart. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 2 JSON Schemas.

This API exposes 2 operations across 1 path, and defines 4 schemas. It is described by OpenAPI 3.0.3, at version 1.

Requests are made against a single base URL, https://api.advanceautoparts.com/v1.

2 operations 1 paths 4 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1
Base URL
https://api.advanceautoparts.com/v1
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Advance Auto Parts Cart API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-API-Key (apiKey). By default, every request must be authenticated.

Paths & Operations 2

Across 1 path, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Cart 2

Shopping cart management

GET
/cart
Advance Auto Parts Get Current Cart
getCart → 200401
POST
/cart
Advance Auto Parts Add Item to Cart
addToCart body → 200401

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Cart (3 properties), CartItem (3 properties), ErrorResponse (2 properties), CartItemInput (2 properties). Each schema is shown below with its type and property counts.

CartItem
object
An item in the shopping cart.
3 properties
CartItemInput
object
Request to add an item to the cart.
2 properties 2 required
Cart
object
A shopping cart.
3 properties
ErrorResponse
object
API error response.
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

advance-auto-parts-cart-api-openapi.yml Raw ↑

Other APIs Advance Auto Parts publishes across the network.

Advance Auto Parts Inventory API
Advance Auto Parts Loyalty API
Advance Auto Parts Orders API
Advance Auto Parts Products API
Advance Auto Parts Stores API
Advance Auto Parts Vehicles API