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

Newstore cart API

Operations on carts

Newstore cart API is one of 42 APIs that Newstore publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include cart. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, and API documentation.

This API exposes 7 operations across 5 paths, and defines 22 schemas. It is described by OpenAPI 2.0, at version 1.0.

Requests are made against the base URL https://dodici-demo.p.newstore.net.

7 operations 5 paths 22 schemas 1 DELETE1 GET2 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
1.0
Base URL
https://dodici-demo.p.newstore.net
Authentication
OAuth 2.0
Resource Areas
1

Authentication & Security 1

Newstore cart API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth) using the application flow, exposing 29 scopes.

Paths & Operations 7

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

cart 7

Operations on carts

POST
/checkout/carts
createCart
createCart 2 params → default201400422429500502503
GET
/checkout/carts/{cartId}
showCart
showCart 1 param → default200400404422429500502
PATCH
/checkout/carts/{cartId}
updateCart
updateCart 3 params → default200400404409422429500
POST
/checkout/carts/{cartId}/items
createLineItem
createLineItem 3 params → default201400404409422429500
DELETE
/checkout/carts/{cartId}/items/{lineItemId}
destroyLineItem
destroyLineItem 2 params → default200400404409422429500
PATCH
/checkout/carts/{cartId}/items/{lineItemId}
updateLineItem
updateLineItem 4 params → default200400404409422429500
POST
/checkout/carts/{cartId}/items/{lineItemId}/add-ons
createAddOnLineItem
createAddOnLineItem 4 params → default201400404409422429500

Schemas 22

The contract defines 22 schemas that model the data the API accepts and returns. The most detailed are CartResource (12 properties), ItemResource (11 properties), Problem (9 properties), CreateCartRequestBody (8 properties). Each schema is shown below with its type and property counts.

ExtendedAttribute
object
2 properties 2 required
CartLinks
object
4 properties 2 required
ItemResource
object
11 properties 7 required
CreateCartRequestBody
object
8 properties 6 required
ChangeItemResponseBody
object
2 properties 2 required
ItemLinks
object
5 properties 2 required
AddOnLinks
object
3 properties 1 required
ChangeItemExtendedAttribute
object
2 properties 2 required
AddItemRequestBody
object
7 properties 1 required
AddItemResponseBody
object
2 properties 2 required
AddItemExtendedAttribute
object
2 properties 2 required
ChangeItemRequestBody
object
3 properties
Problem
object
9 properties
ItemPrice
object
2 properties 2 required
ChangeCartRequestBody
object
1 property
RemoveItemResponseBody
object
2 properties 2 required
CartResource
object
12 properties 10 required
Fulfillment
string
Fulfillment type
AddItemItemPrice
object
2 properties
Source
string
Price source
Link
object
2 properties 1 required
AddOnResource
object
8 properties 6 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

newstore-cart-api-openapi.yml Raw ↑

Other APIs Newstore publishes across the network.

Newstore address API
Newstore audit-events API
Newstore cashboxes API
Newstore customer-configuration API
Newstore customer-profile API
Newstore customerProfile API
Newstore data API
Newstore EasypostAdapterConfig API
Newstore external-public API
Newstore fulfillment-requests API
Newstore identity-providers API
Newstore Import Schemas API