Mauve.Bestellforum

<back to all web services

ConfirmOrder

Confirm an Order

Requires Authentication
Required permission:all
The following routes are available for this service:
POST/orders/{OrderId}/confirm
ConfirmOrder Parameters:
NameParameterData TypeRequiredDescription
OrderIdpathintYesThe id of the order to confirm.
CustomerIdbodystringNo
CustomerSalutationbodystringNo
CustomerFirstNamebodystringYes
CustomerLastNamebodystringYes
CustomerPostalCodebodystringYes
CustomerCitybodystringYes
CustomerCountrybodystringYes
CustomerStreetbodystringYes
CustomerStreetNumberbodystringNo
CustomerCompanybodystringNo
CustomerCompany2bodystringNo
AdditionToAddressbodystringNo
DeliveryAddressSalutationbodystringNo
DeliveryAddressFirstNamebodystringNo
DeliveryAddressLastNamebodystringNo
DeliveryAddressPostalCodebodystringNo
DeliveryAddressCitybodystringNo
DeliveryAddressCountrybodystringNo
DeliveryAddressStreetbodystringNo
DeliveryAddressStreetNumberbodystringNo
DeliveryAddressCompanybodystringNo
AdditionToDeliveryAddressbodystringNo
CustomerIbanbodystringNo
CustomerBicbodystringNo
CustomerSepaMandateReferencebodystringNo
CustomerSepaMandateDatebodyDateTime?No
AccountHolderNamebodystringNo
CustomerEMailbodystringYes
NotebodystringNo
PaymentMethodbodystringNo
ShippingMethodbodystringNo
ExternalCustomerIdbodystringNo
DeliveryDatebodyDateTime?No
OrderNumberbodystringNo
PaymentbodyOrderPaymentNo
MediaCodebodystringNo
OrderPayment Parameters:
NameParameterData TypeRequiredDescription
AmountformdecimalYes
NameformstringYes
DateformDateTimeNo
ReferenceNumberformstringNoThe reference number for the payment.
FinancialAccountNumberformstringNo
TypeformstringNoThe type of payment. Supported values: PayPal, Unknown or an empty string.

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /orders/{OrderId}/confirm HTTP/1.1 
Host: bestellforum.api.mauve.de 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"OrderId":0,"CustomerId":"String","CustomerSalutation":"String","CustomerFirstName":"String","CustomerLastName":"String","CustomerPostalCode":"String","CustomerCity":"String","CustomerCountry":"String","CustomerStreet":"String","CustomerStreetNumber":"String","CustomerCompany":"String","CustomerCompany2":"String","AdditionToAddress":"String","DeliveryAddressSalutation":"String","DeliveryAddressFirstName":"String","DeliveryAddressLastName":"String","DeliveryAddressPostalCode":"String","DeliveryAddressCity":"String","DeliveryAddressCountry":"String","DeliveryAddressStreet":"String","DeliveryAddressStreetNumber":"String","DeliveryAddressCompany":"String","AdditionToDeliveryAddress":"String","CustomerIban":"String","CustomerBic":"String","CustomerSepaMandateReference":"String","CustomerSepaMandateDate":"\/Date(-62135596800000-0000)\/","AccountHolderName":"String","CustomerEMail":"String","Note":"String","PaymentMethod":"String","ShippingMethod":"String","ExternalCustomerId":"String","DeliveryDate":"\/Date(-62135596800000-0000)\/","OrderNumber":"String","Payment":{"Amount":0,"Name":"String","Date":"\/Date(-62135596800000-0000)\/","ReferenceNumber":"String","FinancialAccountNumber":"String","Type":"String"},"MediaCode":"String"}