• Register

Contracts

This API allows to retrieve the commercial contracts applicable to the provided search criteria. #### Request URI
#### Request Parameters
API field Type Description Mandatory Technical Details
salesOrganization String Sales organization code used to identify the commercial context. Y Mapped to SAP SalesOrg. Maximum length: 4.
vendorCode String Vendor code used for the contract search. Y Mapped to SAP VendorCode. Maximum length: 10. Leading zeroes must be preserved where applicable.
invoiceDate String Invoice reference date used to identify applicable contracts. Y Mapped to SAP InvoiceDate. Expected format: YYYY-MM-DD.
periodStartDate String Start date of the period used for the contract search. N Mapped to SAP StartPeriod when provided. Expected format: YYYY-MM-DD.
periodEndDate String End date of the period used for the contract search. N Mapped to SAP EndPeriod when provided. Expected format: YYYY-MM-DD.
brandCode String Brand code to be included in the contract search. Y Mapped to SAP Brands. Mandatory because required by the SAP SOAP WSDL. Can be repeated to search for multiple brands. At least one brandCode must be provided.
#### Request Example

#### Request Example with multiple brands

#### Request Example - Test Case

#### Response Structure
API field Type Mandatory Description
contracts (0..∞)
contractCode String N Commercial contract identifier.
contractTypeCode String N Commercial contract type code.
brandCode String N Brand associated with the contract.
validFromDate String N Contract validity start date.
validToDate String N Contract validity end date.
#### Response Example

#### Empty Response Example

#### Error Response Structure
API field Type Mandatory Description
status String Y Response status. Returned as Error in case of failed processing.
message String Y Error message describing the reason of the failure.
#### Error Response Examples

Validation error - Missing brandCode

Validation error - Generic

SAP / backend processing error

Docs Navigation