POST Supplier/DoOrderReservation
Request Information
URI Parameters
None.
Body Parameters
DoOrderReservationDTORequestName | Description | Type | Additional information |
---|---|---|---|
Balance | decimal number |
None. |
|
Order | DoOrderReservationOrderDTORequest |
Required |
|
ParticipantToken | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Balance": 1.1, "Order": { "Payments": [ { "OrderPaymentTypeID": 1, "ParcelQuantity": 2, "ParcelValue": 3.1, "CreditCardNumber": "sample string 4", "NSU": "sample string 5", "FixedCosts": 6.1, "FixedFee": 7.1, "AdditionalFee": 8.1 }, { "OrderPaymentTypeID": 1, "ParcelQuantity": 2, "ParcelValue": 3.1, "CreditCardNumber": "sample string 4", "NSU": "sample string 5", "FixedCosts": 6.1, "FixedFee": 7.1, "AdditionalFee": 8.1 } ], "SupplierOrderID": "sample string 1", "AmountValue": 2.1, "FreightValue": 3.1, "ShippingValueIncrement": 4.1, "TotalInterestValue": 5.1, "ProductsValue": 6.1, "ComplementValue": 7.1, "ValueInPoints": 8.1, "OrderID": 9, "EstimatedDeliveryDate": "2025-04-04T04:40:47.0146923+00:00", "MaxShippingDays": 10, "EstimatedDeliveryDescription": "sample string 11" }, "ParticipantToken": "sample string 1" }
application/xml, text/xml
Sample:
<DoOrderReservationDTORequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ParticipantToken>sample string 1</ParticipantToken> <Balance>1.1</Balance> <Order> <Payments> <SendOrderDetailsOrderPaymentDTORequest> <OrderPaymentTypeID>1</OrderPaymentTypeID> <ParcelQuantity>2</ParcelQuantity> <ParcelValue>3.1</ParcelValue> <CreditCardNumber>sample string 4</CreditCardNumber> <NSU>sample string 5</NSU> <FixedCosts>6.1</FixedCosts> <FixedFee>7.1</FixedFee> <AdditionalFee>8.1</AdditionalFee> </SendOrderDetailsOrderPaymentDTORequest> <SendOrderDetailsOrderPaymentDTORequest> <OrderPaymentTypeID>1</OrderPaymentTypeID> <ParcelQuantity>2</ParcelQuantity> <ParcelValue>3.1</ParcelValue> <CreditCardNumber>sample string 4</CreditCardNumber> <NSU>sample string 5</NSU> <FixedCosts>6.1</FixedCosts> <FixedFee>7.1</FixedFee> <AdditionalFee>8.1</AdditionalFee> </SendOrderDetailsOrderPaymentDTORequest> </Payments> <SupplierOrderID>sample string 1</SupplierOrderID> <AmountValue>2.1</AmountValue> <FreightValue>3.1</FreightValue> <ShippingValueIncrement>4.1</ShippingValueIncrement> <TotalInterestValue>5.1</TotalInterestValue> <ProductsValue>6.1</ProductsValue> <ComplementValue>7.1</ComplementValue> <ValueInPoints>8.1</ValueInPoints> <OrderID>9</OrderID> <EstimatedDeliveryDate>2025-04-04T04:40:47.0146923+00:00</EstimatedDeliveryDate> <MaxShippingDays>10</MaxShippingDays> <EstimatedDeliveryDescription>sample string 11</EstimatedDeliveryDescription> </Order> </DoOrderReservationDTORequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |