POST {Type}/pre-transactions/{partnerId}/{preTransactionId}/orderlines?api-version=2.0
Add orderlines to pre-transaction.
Request Information
URI Parameters
| Name | Description | Type | Required | Additional information |
|---|---|---|---|---|
| partnerId | integer |
Required |
||
| preTransactionId | globally unique identifier |
Required |
||
| Type | string |
None. |
Body Parameters
Collection of OrderLineRequest| Name | Description | Type | Required | Additional information |
|---|---|---|---|---|
| Name |
Product name. |
string |
Required String length: inclusive between 0 and 1000 |
|
| ArticleNo |
Product article number. |
string |
String length: inclusive between 0 and 50 |
|
| Amount |
Amount (with support for 2 decimals) |
decimal number |
Matching regular expression pattern: ^\d+(.\d{1,2})?$ Range: inclusive between 0 and 999999.99 |
|
| Quantity |
Quantity (with support for 2 decimals) |
decimal number |
Matching regular expression pattern: ^\d+(.\d{1,2})?$ Range: inclusive between 0 and 999999.99 |
|
| Tax |
Tax amount (with support for 2 decimals) |
decimal number |
Matching regular expression pattern: ^\d+(.\d{1,2})?$ Range: inclusive between 0 and 999999.99 |
Request Formats
application/json, text/json
Sample:
[
{
"name": "sample string 1",
"articleNo": "sample string 2",
"amount": 1.0,
"quantity": 1.0,
"tax": 1.0
},
{
"name": "sample string 1",
"articleNo": "sample string 2",
"amount": 1.0,
"quantity": 1.0,
"tax": 1.0
}
]
Response Information
Resource Description
None.