How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

SAP S/4HANA Pricing Elements API

Operations on header and item pricing elements

SAP S/4HANA Pricing Elements API is one of 6 APIs that SAP S/4HANA publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 19 JSON Schema definitions.

Tagged areas include Pricing Elements. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, a JSON-LD context, and 19 JSON Schemas.

This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against 2 base URLs: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV, https://{host}:{port}/sap/opu/odata/sap/API_SALES_ORDER_SRV.

2 operations 2 paths 3 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Servers
https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV
https://{host}:{port}/sap/opu/odata/sap/API_SALES_ORDER_SRV
Authentication
HTTP Basic, OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 2

SAP S/4HANA Pricing Elements API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (basicAuth). It supports OAuth 2.0 (oauth2) using the clientCredentials flow, exposing 1 scope. By default, every request must be authenticated.

  • basicAuth — Basic authentication using SAP user credentials
  • oauth2 — OAuth 2.0 authentication for SAP S/4HANA Cloud

Paths & Operations 2

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

Pricing Elements 2

Operations on header and item pricing elements

GET
/A_SalesOrder('{SalesOrder}')/to_PricingElement
Sap S/4hana Retrieve Header Pricing Elements for a Sales Order
listSalesOrderPricingElements 2 params → 200401404
GET
/A_SalesOrderItem(SalesOrder='{SalesOrder}',SalesOrderItem='{SalesOrderItem}')/to_PricingElement
Sap S/4hana Retrieve Pricing Elements for a Sales Order Item
listSalesOrderItemPricingElements 3 params → 200401404

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are SalesOrderHeaderPrcgElmnt (29 properties), SalesOrderItemPrcgElmnt (19 properties), ODataError (1 property). Each schema is shown below with its type and property counts.

ODataError
object
OData error response envelope
1 property
SalesOrderItemPrcgElmnt
object
Sales order item pricing element entity (ASalesOrderItemPrcgElmnt) representing a pricing condition at the item level.
19 properties
SalesOrderHeaderPrcgElmnt
object
Sales order header pricing element entity (ASalesOrderHeaderPrcgElmnt) representing a pricing condition at the header level, such as overall discounts, surchar…
29 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

sap-s4hana-pricing-elements-api-openapi.yml Raw ↑

Other APIs SAP S/4HANA publishes across the network.

SAP S/4HANA Partners API
SAP S/4HANA Sales Order Items API
SAP S/4HANA Sales Orders API
SAP S/4HANA Schedule Lines API
SAP S/4HANA Text API
Where this information came from

This is an independent, third-party profile of SAP S/4HANA Pricing Elements API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.