SAP S/4HANA website screenshot

SAP S/4HANA

Collection of SAP S/4HANA Cloud and On-Premise APIs for enterprise resource planning.

18 APIs 5 Features
Business ApplicationsCloudEnterprise Resource PlanningERPFinanceHuman ResourcesInventoryLogisticsManufacturingPlant MaintenanceProcurementS/4HANASalesSAP

APIs

SAP S/4HANA Business Partner API

API for creating, reading, updating, and deleting business partner master data.

SAP S/4HANA Sales Order API

API for managing sales orders including creation, updates, and status changes.

SAP S/4HANA Purchase Order API

API for creating and managing purchase orders in procurement processes.

SAP S/4HANA Material Document API

API for posting goods movements and managing inventory transactions.

SAP S/4HANA Product Master API

API for managing product and material master data.

SAP S/4HANA Journal Entry API

API for creating and managing financial journal entries.

SAP S/4HANA Billing Document API

API for reading, canceling, and retrieving PDFs of billing documents in sales and distribution.

SAP S/4HANA Supplier Invoice API

API for creating and processing supplier invoices referenced to purchase orders.

SAP S/4HANA Customer Return API

API for integrating external applications with customer return processing including advanced returns management.

SAP S/4HANA Purchase Requisition API

API for creating, updating, and managing purchase requisitions in procurement workflows.

SAP S/4HANA Outbound Delivery API

API for creating, reading, updating, and deleting outbound deliveries including goods issue and picking operations.

SAP S/4HANA Inbound Delivery API

API for creating, reading, updating, and deleting inbound deliveries for procurement and logistics.

SAP S/4HANA Cost Center API

API for reading cost center master data used in controlling and cost management.

SAP S/4HANA GL Account API

API for reading general ledger account master data in chart of accounts.

SAP S/4HANA Bank Master API

API for reading bank master data including bank keys, SWIFT codes, and bank details.

SAP S/4HANA Production Order API

API for reading production order data including components, operations, and status information.

SAP S/4HANA Maintenance Order API

API for reading maintenance order data used in plant maintenance and enterprise asset management.

SAP S/4HANA Workforce Timesheet API

API for creating, reading, updating, and deleting workforce timesheet entries with automatic posting to controlling.

Collections

Pricing Plans

Sap S4Hana Plans Pricing

1 plans

PLANS

Rate Limits

Sap S4Hana Rate Limits

1 limits

RATE LIMITS

FinOps

Features

OData V2 and V4 APIs

RESTful APIs following OData protocol for standardized CRUD operations and query capabilities.

Deep Insert

Create complex documents with header and dependent entities in a single API request.

Optimistic Concurrency

ETag-based concurrency control to prevent conflicting updates to business documents.

Real-Time Integration

Synchronous API access to live ERP data for real-time business process integration.

Multi-Module Coverage

APIs spanning finance, sales, procurement, logistics, manufacturing, and HR modules.

Use Cases

Order-to-Cash

Automate the sales process from sales order creation through delivery and billing.

Procure-to-Pay

Streamline procurement from purchase requisition through purchase order, receipt, and invoice.

Financial Close

Automate journal entries, cost center reporting, and GL account management for period close.

Supply Chain Visibility

Track inbound and outbound deliveries, inventory movements, and material documents in real time.

Integrations

SAP Business Technology Platform

Native integration with SAP BTP for extensions, analytics, and AI/ML capabilities.

SAP Integration Suite

Pre-built integration flows for connecting S/4HANA with third-party applications.

Microsoft Office

Integration with Excel and Outlook for business data analysis and communication workflows.

Semantic Vocabularies

Sap S4Hana Context

10 classes · 14 properties

JSON-LD

Sap S4Hana Sales Order Context

0 classes · 0 properties

JSON-LD

API Governance Rules

SAP S/4HANA API Rules

7 rules · 7 errors

SPECTRAL

JSON Structure

Sap S4Hana Sales Order O Data Error Structure

1 properties

JSON STRUCTURE

Sap S4Hana Sales Order Sales Order Structure

59 properties

JSON STRUCTURE

Sap S4Hana Structure

0 properties

JSON STRUCTURE

Example Payloads

Resources

👥
GitHubOrganization
GitHubOrganization
🔗
LinkedIn
LinkedIn
🌐
Portal
Portal
🚀
GettingStarted
GettingStarted
🔑
Authentication
Authentication
📄
ChangeLog
ChangeLog
💬
Support
Support
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
🔗
API Catalog
API Catalog
🔗
API Packages
API Packages
🔗
OData V4 APIs
OData V4 APIs
🔗
REST APIs
REST APIs
🔗
On-Premise API Catalog
On-Premise API Catalog
🔗
On-Premise API Packages
On-Premise API Packages
🔗
Private Edition APIs
Private Edition APIs
🔗
Community
Community
🟢
StatusPage
StatusPage

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: SAP S/4HANA Sales Order API
  version: 1.0.0
request:
  auth:
    type: basic
    username: '{{username}}'
    password: '{{password}}'
items:
- info:
    name: Sales Orders
    type: folder
  items:
  - info:
      name: Sap S/4hana Retrieve a List of Sales Orders
      type: http
    http:
      method: GET
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder
      params:
      - name: $top
        value: ''
        type: query
        description: Maximum number of entities to return
      - name: $skip
        value: ''
        type: query
        description: Number of entities to skip
      - name: $filter
        value: ''
        type: query
        description: OData filter expression
      - name: $select
        value: ''
        type: query
        description: Comma-separated list of properties to include in the response
      - name: $expand
        value: ''
        type: query
        description: Comma-separated list of navigation properties to expand
      - name: $orderby
        value: ''
        type: query
        description: Comma-separated list of properties for sorting (e.g., 'CreationDate desc')
      - name: $inlinecount
        value: ''
        type: query
        description: Include total count of matching entities
    docs: Returns a collection of sales order header records. Supports OData system query options including $filter, $select,
      $expand, $orderby, $top, $skip, and $inlinecount for pagination. Use $expand to include related entities such as items,
      partners, and pricing elements in the response.
  - info:
      name: Sap S/4hana Create a New Sales Order
      type: http
    http:
      method: POST
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder
      body:
        type: json
        data: '{}'
    docs: Creates a new sales order in SAP S/4HANA. Supports deep insert, allowing you to create a header along with items,
      partners, pricing elements, schedule lines, billing plans, and text records in a single request. The SalesOrderType,
      SalesOrganization, DistributionChannel, and OrganizationDivision are required for creation.
  - info:
      name: Sap S/4hana Retrieve a Single Sales Order by Key
      type: http
    http:
      method: GET
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder(':SalesOrder')
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
      - name: $select
        value: ''
        type: query
        description: Comma-separated list of properties to include in the response
      - name: $expand
        value: ''
        type: query
        description: Comma-separated list of navigation properties to expand
    docs: Returns a single sales order header record identified by its sales order number. Use $expand to include related
      entities such as to_Item, to_Partner, and to_PricingElement.
  - info:
      name: Sap S/4hana Update a Sales Order Header
      type: http
    http:
      method: PATCH
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder(':SalesOrder')
      headers:
      - name: If-Match
        value: ''
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
      body:
        type: json
        data: '{}'
    docs: Performs a partial update (MERGE/PATCH) on an existing sales order header. Only the fields provided in the request
      body are updated. Requires an If-Match header with the entity ETag for optimistic concurrency control.
  - info:
      name: Sap S/4hana Delete a Sales Order
      type: http
    http:
      method: DELETE
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder(':SalesOrder')
      headers:
      - name: If-Match
        value: ''
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
    docs: Deletes an existing sales order. Requires an If-Match header with the entity ETag for optimistic concurrency control.
      A sales order can only be deleted if its processing status permits deletion.
- info:
    name: Sales Order Items
    type: folder
  items:
  - info:
      name: Sap S/4hana Retrieve Items for a Sales Order
      type: http
    http:
      method: GET
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder(':SalesOrder')/to_Item
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
      - name: $top
        value: ''
        type: query
        description: Maximum number of entities to return
      - name: $skip
        value: ''
        type: query
        description: Number of entities to skip
      - name: $filter
        value: ''
        type: query
        description: OData filter expression
      - name: $select
        value: ''
        type: query
        description: Comma-separated list of properties to include in the response
      - name: $expand
        value: ''
        type: query
        description: Comma-separated list of navigation properties to expand
    docs: Returns the line items belonging to a specific sales order. Use $expand to include related entities such as to_PricingElement,
      to_ScheduleLine, and to_Partner.
  - info:
      name: Sap S/4hana Create a New Sales Order Item
      type: http
    http:
      method: POST
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder(':SalesOrder')/to_Item
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
      body:
        type: json
        data: '{}'
    docs: Creates a new line item within an existing sales order. The Material field is typically required. Supports deep
      insert for creating pricing elements, schedule lines, partners, and text along with the item.
  - info:
      name: Sap S/4hana Retrieve a Single Sales Order Item
      type: http
    http:
      method: GET
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrderItem(SalesOrder=':SalesOrder',SalesOrderItem=':SalesOrderItem')
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
      - name: SalesOrderItem
        value: ''
        type: path
        description: Sales order item number (6-character string, e.g., '000010')
      - name: $select
        value: ''
        type: query
        description: Comma-separated list of properties to include in the response
      - name: $expand
        value: ''
        type: query
        description: Comma-separated list of navigation properties to expand
    docs: Returns a single sales order item identified by the composite key of SalesOrder and SalesOrderItem numbers.
  - info:
      name: Sap S/4hana Update a Sales Order Item
      type: http
    http:
      method: PATCH
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrderItem(SalesOrder=':SalesOrder',SalesOrderItem=':SalesOrderItem')
      headers:
      - name: If-Match
        value: ''
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
      - name: SalesOrderItem
        value: ''
        type: path
        description: Sales order item number (6-character string, e.g., '000010')
      body:
        type: json
        data: '{}'
    docs: Performs a partial update on an existing sales order item. Only the fields provided in the request body are updated.
      Requires an If-Match header with the entity ETag for optimistic concurrency control.
  - info:
      name: Sap S/4hana Delete a Sales Order Item
      type: http
    http:
      method: DELETE
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrderItem(SalesOrder=':SalesOrder',SalesOrderItem=':SalesOrderItem')
      headers:
      - name: If-Match
        value: ''
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
      - name: SalesOrderItem
        value: ''
        type: path
        description: Sales order item number (6-character string, e.g., '000010')
    docs: Deletes an existing sales order item. Requires an If-Match header with the entity ETag.
- info:
    name: Partners
    type: folder
  items:
  - info:
      name: Sap S/4hana Retrieve Partners for a Sales Order
      type: http
    http:
      method: GET
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder(':SalesOrder')/to_Partner
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
      - name: $select
        value: ''
        type: query
        description: Comma-separated list of properties to include in the response
    docs: Returns the header-level partner functions for a sales order, such as sold-to party, ship-to party, bill-to party,
      and payer.
- info:
    name: Pricing Elements
    type: folder
  items:
  - info:
      name: Sap S/4hana Retrieve Header Pricing Elements for a Sales Order
      type: http
    http:
      method: GET
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder(':SalesOrder')/to_PricingElement
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
      - name: $select
        value: ''
        type: query
        description: Comma-separated list of properties to include in the response
    docs: Returns the header-level pricing condition records for a sales order, including prices, discounts, surcharges, taxes,
      and freight charges.
  - info:
      name: Sap S/4hana Retrieve Pricing Elements for a Sales Order Item
      type: http
    http:
      method: GET
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrderItem(SalesOrder=':SalesOrder',SalesOrderItem=':SalesOrderItem')/to_PricingElement
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
      - name: SalesOrderItem
        value: ''
        type: path
        description: Sales order item number (6-character string, e.g., '000010')
      - name: $select
        value: ''
        type: query
        description: Comma-separated list of properties to include in the response
    docs: Returns the item-level pricing condition records for a sales order item, including item prices, discounts, surcharges,
      and tax amounts.
- info:
    name: Schedule Lines
    type: folder
  items:
  - info:
      name: Sap S/4hana Retrieve Schedule Lines for a Sales Order Item
      type: http
    http:
      method: GET
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrderItem(SalesOrder=':SalesOrder',SalesOrderItem=':SalesOrderItem')/to_ScheduleLine
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
      - name: SalesOrderItem
        value: ''
        type: path
        description: Sales order item number (6-character string, e.g., '000010')
      - name: $select
        value: ''
        type: query
        description: Comma-separated list of properties to include in the response
    docs: Returns the schedule lines for a specific sales order item, containing confirmed quantities and delivery dates.
- info:
    name: Text
    type: folder
  items:
  - info:
      name: Sap S/4hana Retrieve Text Records for a Sales Order
      type: http
    http:
      method: GET
      url: https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SALES_ORDER_SRV/A_SalesOrder(':SalesOrder')/to_Text
      params:
      - name: SalesOrder
        value: ''
        type: path
        description: Sales order number (10-character string, e.g., '0000000001')
      - name: $select
        value: ''
        type: query
        description: Comma-separated list of properties to include in the response
    docs: Returns the header-level text records for a sales order, such as notes, internal comments, and header texts.
bundled: true