Skip to main content
Version: 85.2.0

getSalesDocHeader

GET 

/sales-docs/headers/:id

Return a single sales document header.

To access the service you need at least one of the following permissions:

Permission (one of)
getSalesOrder
createSalesOrder
updateSalesOrder
getSalesDoc
createSalesDoc
updateSalesDoc

Request

Responses

Response Headers
    X-Customer-Context

    A claim representing the calling user's permission to view data related to the sellToCustomerAccountId.

    This header is returned when:

    • sellToCustomerAccountId parameter is provided without X-Customer-Context header, or
    • sellToCustomerAccountId parameter is provided with an expired X-Customer-Context header.

    The claim should be cached by the client and sent in subsequent requests to avoid re-executing hierarchy and related customers queries.