POST Webshop/ProcessShoppingCartToOrder

Maak van een winkelmandje een order aan.

Request Information

URI Parameters

None.

Body Parameters

WebshopShoppingCartOrderProcessor
NameDescriptionTypeAdditional information
ShippingMethodId

Verzendmethode

integer

Required

PaymentMethodId

Betaalmethode

integer

Required

WebshopUserId

Webshopgebruiker

integer

None.

DebtorId

Debiteurnummer

integer

Required

OrderDescription

Omschrijving van de order

string

None.

OrderReference

Referentie

string

None.

OrderRemarks

Opmerking

string

None.

StatusId

Order status id

integer

Required

ShippingCosts

Verzendkosten

decimal number

Required

PriceListId

Webshop prijslijst

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ShippingMethodId": 1,
  "PaymentMethodId": 2,
  "WebshopUserId": 1,
  "DebtorId": 3,
  "OrderDescription": "sample string 4",
  "OrderReference": "sample string 5",
  "OrderRemarks": "sample string 6",
  "StatusId": 7,
  "ShippingCosts": 8.0,
  "PriceListId": 1
}

application/xml, text/xml

Sample:
<WebshopShoppingCartOrderProcessor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
  <DebtorId>3</DebtorId>
  <OrderDescription>sample string 4</OrderDescription>
  <OrderReference>sample string 5</OrderReference>
  <OrderRemarks>sample string 6</OrderRemarks>
  <PaymentMethodId>2</PaymentMethodId>
  <PriceListId>1</PriceListId>
  <ShippingCosts>8</ShippingCosts>
  <ShippingMethodId>1</ShippingMethodId>
  <StatusId>7</StatusId>
  <WebshopUserId>1</WebshopUserId>
</WebshopShoppingCartOrderProcessor>

Response Information

Resource Description

Logic4ResponseOfInt32
NameDescriptionTypeAdditional information
Value

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": 1,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.ResponseModels">
  <ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ValidationMessages>
  <Value>1</Value>
</Logic4ResponseOfint>