| Required permission: | all |
| POST | /orders/{OrderId}/confirm |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| OrderId | path | int | Yes | The id of the order to confirm. |
| CustomerId | body | string | No | |
| CustomerSalutation | body | string | No | |
| CustomerFirstName | body | string | Yes | |
| CustomerLastName | body | string | Yes | |
| CustomerPostalCode | body | string | Yes | |
| CustomerCity | body | string | Yes | |
| CustomerCountry | body | string | Yes | |
| CustomerStreet | body | string | Yes | |
| CustomerStreetNumber | body | string | No | |
| CustomerCompany | body | string | No | |
| CustomerCompany2 | body | string | No | |
| AdditionToAddress | body | string | No | |
| DeliveryAddressSalutation | body | string | No | |
| DeliveryAddressFirstName | body | string | No | |
| DeliveryAddressLastName | body | string | No | |
| DeliveryAddressPostalCode | body | string | No | |
| DeliveryAddressCity | body | string | No | |
| DeliveryAddressCountry | body | string | No | |
| DeliveryAddressStreet | body | string | No | |
| DeliveryAddressStreetNumber | body | string | No | |
| DeliveryAddressCompany | body | string | No | |
| AdditionToDeliveryAddress | body | string | No | |
| CustomerIban | body | string | No | |
| CustomerBic | body | string | No | |
| CustomerSepaMandateReference | body | string | No | |
| CustomerSepaMandateDate | body | DateTime? | No | |
| AccountHolderName | body | string | No | |
| CustomerEMail | body | string | Yes | |
| Note | body | string | No | |
| PaymentMethod | body | string | No | |
| ShippingMethod | body | string | No | |
| ExternalCustomerId | body | string | No | |
| DeliveryDate | body | DateTime? | No | |
| OrderNumber | body | string | No | |
| Payment | body | OrderPayment | No | |
| MediaCode | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Amount | form | decimal | Yes | |
| Name | form | string | Yes | |
| Date | form | DateTime | No | |
| ReferenceNumber | form | string | No | The reference number for the payment. |
| FinancialAccountNumber | form | string | No | |
| Type | form | string | No | The 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 .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
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: application/json
Content-Type: application/json
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"}