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 sales-orders API

Operations related to sales order management.

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

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

This API exposes 8 operations across 7 paths, and defines 40 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.

8 operations 7 paths 40 schemas 3 GET1 PATCH4 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 sales-orders API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (oauth) using the application flow, exposing 29 scopes.

Paths & Operations 8

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

sales-orders 8

Operations related to sales order management.

GET
/v0/orders
showOrderHistoryForCustomer
showOrderHistoryForCustomer 3 params → default200400404409412429500
GET
/v0/orders/{id}
showSalesOrderByIdAndIdType
showSalesOrderByIdAndIdType 3 params → default200400404409412429500
POST
/v0/orders/{id}/_extend_grace_period
createGracePeriod
createGracePeriod 2 params → default200404409412429500502
GET
/v0/orders/{id}/cancel
showCancellationStatus
showCancellationStatus 2 params → default200400404429500502503
POST
/v0/orders/{id}/cancel
createCancellation
createCancellation 4 params → default200400404429500502503
POST
/v0/orders/{id}/items/{item_uuid}/cancel
createLineItemCancellation
createLineItemCancellation 3 params → default200400404429500502503
POST
/v0/orders/{id}/prices
createPriceInformationForItems
createPriceInformationForItems 3 params → default200400404429500502503
PATCH
/v0/orders/{id}/serial_numbers
updateSalesOrderSerialNumbers
updateSalesOrderSerialNumbers 3 params → default204400404429500502503

Schemas 40

The contract defines 40 schemas that model the data the API accepts and returns. The most detailed are SalesOrderDetailResponse (27 properties), SalesOrderDetail (15 properties), SalesOrderAddress (15 properties), SalesOrder (10 properties). Each schema is shown below with its type and property counts.

CountryCode
string
Country code for this address. Must be ISO-3166 reference
SalesOrderSerialNumbersRequestItemEpc
object
The epc which should be assigned to the specified order line item.
3 properties 3 required
SalesOrderItemPaymentHistory
object
Contains the payments/refunds history for the order. Can also include multiple payments against multiple credit sources (i.e. gift card + credit card)
5 properties 4 required
SalesOrderExternalIdentifier
object
External identifier for the order item
2 properties
SalesOrderPricesResponse
object
The response for retrieving price information.
2 properties 2 required
SalesOrderFulfillment
object
2 properties 1 required
SalesOrderDiscount
object
7 properties 4 required
SalesOrderTotals
object
7 properties
SalesOrderTaxLine
object
4 properties 2 required
SalesOrderSerialNumbersRequest
object
The response for adding serial number information.
1 property 1 required
SalesOrderPrice1
object
The response for retrieving price information.
5 properties 5 required
SalesOrderOrigin
string
Describes in which Order Management System the order originated from.
SalesOrderChannelType
string
The channel through which the order was placed.
SalesOrder
object
10 properties 9 required
SalesOrderDetail
object
15 properties 5 required
Level
string
On which level the discount was applied, either on the entire order or only on this item.
SalesOrderCustomer
object
4 properties
SalesOrderPricesRequest
object
The request for retrieving price information.
1 property 1 required
SalesOrderPaymentMethod
string
The method customer paid for the order.
SalesOrderTaxMethod
string
Method of calculation of the taxes, can be vatincluded or vatexcluded.
Type1
string
The type of the discount, either 'fixed' or 'percentage'.
SalesOrderItemStatus
string
Current status of the order item. 'pending' means the item is in the grace period, 'onhold' means the item couldn't be fulfilled and is in a conflict status.
Price1
object
4 properties 3 required
SalesOrderCancellationRequest
object
Request schema for order cancellation.
2 properties 1 required
SalesOrderListResponse
object
Order history for a customer retrieved from external OMS
1 property 1 required
Category
string
Describes if it is a Payment (authorization or capture) or Refund.
SalesOrderGiftWrapping
object
Gift wrapping information. This field is not required and will not be present if gift wrapping is not applicable for the order
3 properties 1 required
SalesOrderItemShipment
object
4 properties 2 required
SalesOrderFulfillmentType
string
The fulfillment type of the order. In case of mixed cart orders, fulfillment type is always 'multiple'
Problem
object
9 properties
SalesOrderStatus
string
Current status of the sales order
SalesOrderDetailResponse
object
Schema for fetching sales order using external ID
27 properties 10 required
SalesOrderProductAttributes
object
Additional product-related information.
6 properties 1 required
SalesOrderAddress
object
Address
15 properties
SalesOrderSerialNumbersRequestItem
object
3 properties 2 required
Origin
object
The ship-from origin for this fulfillment group. Omitted when neither zip code nor country code is known.
2 properties
Fulfillment
string
Fulfillment type
SalesOrderItem
object
6 properties 6 required
SalesOrderExtendedAttribute
object
2 properties 2 required
SalesOrderCancellationResponse
object
Request schema for order cancellation status.
3 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

newstore-sales-orders-api-openapi.yml Raw ↑

Other APIs Newstore publishes across the network.

Newstore address API
Newstore audit-events API
Newstore cart 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