POST processSalesOrderB2C

Request Information

URI Parameters

None.

Body Parameters

SalesTableModel
NameDescriptionTypeAdditional information
Email

string

None.

CustAccount

string

None.

Name

string

None.

VATNum

string

None.

Phone

string

None.

Addressing

string

None.

dlvpostcode

string

None.

dlvregion

string

None.

dlvcity

string

None.

dlvcountry

string

None.

dlvStreetName

string

None.

dlvStreet

string

None.

WebSalesId

string

None.

discCode

string

None.

BillingAddress

BillingAddress

None.

ShippingAddress

ShippingAddress

None.

cliente

cliente

None.

lineas

Collection of lineas

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "CustAccount": "sample string 2",
  "Name": "sample string 3",
  "VATNum": "sample string 4",
  "Phone": "sample string 5",
  "Addressing": "sample string 6",
  "dlvpostcode": "sample string 7",
  "dlvregion": "sample string 8",
  "dlvcity": "sample string 9",
  "dlvcountry": "sample string 10",
  "dlvStreetName": "sample string 11",
  "dlvStreet": "sample string 12",
  "WebSalesId": "sample string 13",
  "discCode": "sample string 14",
  "BillingAddress": {
    "invZipCodeId": "sample string 1",
    "invCity": "sample string 2",
    "invregion": "sample string 3",
    "invStreetName": "sample string 4",
    "Phone": "sample string 5",
    "Name": 6.1
  },
  "ShippingAddress": {
    "dlvZipCodeId": "sample string 1",
    "dlvCity": "sample string 2",
    "dlvregion": "sample string 3",
    "dlvStreetName": "sample string 4",
    "Phone": "sample string 5",
    "Name": 6.1
  },
  "cliente": {
    "name": "sample string 1",
    "lastname": "sample string 2",
    "nif": "sample string 3",
    "city": "sample string 4",
    "country": "sample string 5",
    "postcode": "sample string 6",
    "region": "sample string 7",
    "street": "sample string 8",
    "telephone": "sample string 9",
    "taxRecharge": 10,
    "WebMarketCustId": "sample string 11"
  },
  "lineas": [
    {
      "sku": "sample string 1",
      "qty_ordered": 2.1,
      "base_price": 3.1,
      "producto": {
        "sku": "sample string 1",
        "name": "sample string 2",
        "description": "sample string 3",
        "price": 4.1
      }
    },
    {
      "sku": "sample string 1",
      "qty_ordered": 2.1,
      "base_price": 3.1,
      "producto": {
        "sku": "sample string 1",
        "name": "sample string 2",
        "description": "sample string 3",
        "price": 4.1
      }
    }
  ]
}

application/xml, text/xml

Sample:
<SalesTableModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EaxApi.Model">
  <Addressing>sample string 6</Addressing>
  <BillingAddress>
    <Name>6.1</Name>
    <Phone>sample string 5</Phone>
    <invCity>sample string 2</invCity>
    <invStreetName>sample string 4</invStreetName>
    <invZipCodeId>sample string 1</invZipCodeId>
    <invregion>sample string 3</invregion>
  </BillingAddress>
  <CustAccount>sample string 2</CustAccount>
  <Email>sample string 1</Email>
  <Name>sample string 3</Name>
  <Phone>sample string 5</Phone>
  <ShippingAddress>
    <Name>6.1</Name>
    <Phone>sample string 5</Phone>
    <dlvCity>sample string 2</dlvCity>
    <dlvStreetName>sample string 4</dlvStreetName>
    <dlvZipCodeId>sample string 1</dlvZipCodeId>
    <dlvregion>sample string 3</dlvregion>
  </ShippingAddress>
  <VATNum>sample string 4</VATNum>
  <WebSalesId>sample string 13</WebSalesId>
  <cliente>
    <WebMarketCustId>sample string 11</WebMarketCustId>
    <city>sample string 4</city>
    <country>sample string 5</country>
    <lastname>sample string 2</lastname>
    <name>sample string 1</name>
    <nif>sample string 3</nif>
    <postcode>sample string 6</postcode>
    <region>sample string 7</region>
    <street>sample string 8</street>
    <taxRecharge>10</taxRecharge>
    <telephone>sample string 9</telephone>
  </cliente>
  <discCode>sample string 14</discCode>
  <dlvStreet>sample string 12</dlvStreet>
  <dlvStreetName>sample string 11</dlvStreetName>
  <dlvcity>sample string 9</dlvcity>
  <dlvcountry>sample string 10</dlvcountry>
  <dlvpostcode>sample string 7</dlvpostcode>
  <dlvregion>sample string 8</dlvregion>
  <lineas>
    <lineas>
      <base_price>3.1</base_price>
      <producto>
        <description>sample string 3</description>
        <name>sample string 2</name>
        <price>4.1</price>
        <sku>sample string 1</sku>
      </producto>
      <qty_ordered>2.1</qty_ordered>
      <sku>sample string 1</sku>
    </lineas>
    <lineas>
      <base_price>3.1</base_price>
      <producto>
        <description>sample string 3</description>
        <name>sample string 2</name>
        <price>4.1</price>
        <sku>sample string 1</sku>
      </producto>
      <qty_ordered>2.1</qty_ordered>
      <sku>sample string 1</sku>
    </lineas>
  </lineas>
</SalesTableModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultOfString
NameDescriptionTypeAdditional information
Success

boolean

None.

ErrorMessage

string

None.

Data

string

None.

ErrorType

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "ErrorMessage": "sample string 2",
  "Data": "sample string 3",
  "ErrorType": "sample string 4"
}

application/xml, text/xml

Sample:
<ApiResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EaxApi.Model">
  <Data>sample string 3</Data>
  <ErrorMessage>sample string 2</ErrorMessage>
  <ErrorType>sample string 4</ErrorType>
  <Success>true</Success>
</ApiResultOfstring>