POST api/Paypal/Checkout

Documentation for 'Checkout'.

Request Information

Parameters

NameDescriptionAdditional information
cartInfo
Documentation for 'cartInfo'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "shippingMethod": 1,
  "paymentMethod": 2,
  "isDifferentShippingAddress": true,
  "isShippedToReseller": true,
  "code": "sample string 5",
  "deliveryOptionId": 6,
  "deliveryEmail": "sample string 7",
  "orderAddresses": [
    {
      "salutation": "sample string 1",
      "name": "sample string 2",
      "address1": "sample string 3",
      "address2": "sample string 4",
      "country": "sample string 5",
      "zip": "sample string 6",
      "city": "sample string 7",
      "transactionMaster_Id": 8,
      "addressType_Id": 9,
      "addressType": {
        "name": "sample string 1",
        "sequence": 2,
        "literalCode": "sample string 3",
        "text": "[sample string 4]sample string 3??",
        "id": 5
      },
      "firstName": "sample string 10",
      "addressTypeText": "sample string 11",
      "isResellerAddress": true,
      "email": "sample string 13",
      "id": 14
    },
    {
      "salutation": "sample string 1",
      "name": "sample string 2",
      "address1": "sample string 3",
      "address2": "sample string 4",
      "country": "sample string 5",
      "zip": "sample string 6",
      "city": "sample string 7",
      "transactionMaster_Id": 8,
      "addressType_Id": 9,
      "addressType": {
        "name": "sample string 1",
        "sequence": 2,
        "literalCode": "sample string 3",
        "text": "[sample string 4]sample string 3??",
        "id": 5
      },
      "firstName": "sample string 10",
      "addressTypeText": "sample string 11",
      "isResellerAddress": true,
      "email": "sample string 13",
      "id": 14
    },
    {
      "salutation": "sample string 1",
      "name": "sample string 2",
      "address1": "sample string 3",
      "address2": "sample string 4",
      "country": "sample string 5",
      "zip": "sample string 6",
      "city": "sample string 7",
      "transactionMaster_Id": 8,
      "addressType_Id": 9,
      "addressType": {
        "name": "sample string 1",
        "sequence": 2,
        "literalCode": "sample string 3",
        "text": "[sample string 4]sample string 3??",
        "id": 5
      },
      "firstName": "sample string 10",
      "addressTypeText": "sample string 11",
      "isResellerAddress": true,
      "email": "sample string 13",
      "id": 14
    }
  ]
}

application/xml, text/xml

Sample:
<CartInfoVM xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ShippingMethod>1</ShippingMethod>
  <PaymentMethod>2</PaymentMethod>
  <IsDifferentShippingAddress>true</IsDifferentShippingAddress>
  <IsShippedToReseller>true</IsShippedToReseller>
  <Code>sample string 5</Code>
  <DeliveryOptionId>6</DeliveryOptionId>
  <DeliveryEmail>sample string 7</DeliveryEmail>
  <OrderAddresses>
    <TransactionMasterAddressVM>
      <Id>14</Id>
      <Salutation>sample string 1</Salutation>
      <Name>sample string 2</Name>
      <Address1>sample string 3</Address1>
      <Address2>sample string 4</Address2>
      <Country>sample string 5</Country>
      <Zip>sample string 6</Zip>
      <City>sample string 7</City>
      <TransactionMaster_Id>8</TransactionMaster_Id>
      <AddressType_Id>9</AddressType_Id>
      <AddressType>
        <Id>5</Id>
        <LiteralCode>sample string 3</LiteralCode>
        <LangCode>sample string 4</LangCode>
        <Name>sample string 1</Name>
        <Sequence>2</Sequence>
      </AddressType>
      <FirstName>sample string 10</FirstName>
      <AddressTypeText>sample string 11</AddressTypeText>
      <IsResellerAddress>true</IsResellerAddress>
      <Email>sample string 13</Email>
    </TransactionMasterAddressVM>
    <TransactionMasterAddressVM>
      <Id>14</Id>
      <Salutation>sample string 1</Salutation>
      <Name>sample string 2</Name>
      <Address1>sample string 3</Address1>
      <Address2>sample string 4</Address2>
      <Country>sample string 5</Country>
      <Zip>sample string 6</Zip>
      <City>sample string 7</City>
      <TransactionMaster_Id>8</TransactionMaster_Id>
      <AddressType_Id>9</AddressType_Id>
      <AddressType>
        <Id>5</Id>
        <LiteralCode>sample string 3</LiteralCode>
        <LangCode>sample string 4</LangCode>
        <Name>sample string 1</Name>
        <Sequence>2</Sequence>
      </AddressType>
      <FirstName>sample string 10</FirstName>
      <AddressTypeText>sample string 11</AddressTypeText>
      <IsResellerAddress>true</IsResellerAddress>
      <Email>sample string 13</Email>
    </TransactionMasterAddressVM>
    <TransactionMasterAddressVM>
      <Id>14</Id>
      <Salutation>sample string 1</Salutation>
      <Name>sample string 2</Name>
      <Address1>sample string 3</Address1>
      <Address2>sample string 4</Address2>
      <Country>sample string 5</Country>
      <Zip>sample string 6</Zip>
      <City>sample string 7</City>
      <TransactionMaster_Id>8</TransactionMaster_Id>
      <AddressType_Id>9</AddressType_Id>
      <AddressType>
        <Id>5</Id>
        <LiteralCode>sample string 3</LiteralCode>
        <LangCode>sample string 4</LangCode>
        <Name>sample string 1</Name>
        <Sequence>2</Sequence>
      </AddressType>
      <FirstName>sample string 10</FirstName>
      <AddressTypeText>sample string 11</AddressTypeText>
      <IsResellerAddress>true</IsResellerAddress>
      <Email>sample string 13</Email>
    </TransactionMasterAddressVM>
  </OrderAddresses>
</CartInfoVM>

application/x-www-form-urlencoded

Sample:

Sample not available.