POST Checkout/AddShippingAddress

Request Information

URI Parameters

None.

Body Parameters

ShippingDetail
NameDescriptionTypeAdditional information
ShippingID

integer

None.

CustomerId

integer

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

Mobile

string

None.

Address

string

None.

Province

string

None.

City

string

None.

PostCode

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Customer

Customer

None.

Orders

Collection of Order

None.

Request Formats

application/json, text/json

Sample:
{
  "ShippingID": 1,
  "CustomerId": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "Email": "sample string 4",
  "Mobile": "sample string 5",
  "Address": "sample string 6",
  "Province": "sample string 7",
  "City": "sample string 8",
  "PostCode": "sample string 9",
  "Latitude": 1.0,
  "Longitude": 1.0,
  "Customer": {
    "$id": "2",
    "CustomerID": 1,
    "First_Name": "sample string 2",
    "Last_Name": "sample string 3",
    "UserName": "sample string 4",
    "Password": "sample string 5",
    "Age": 1,
    "Gender": "sample string 6",
    "DateofBirth": "2025-12-06T05:50:07.3421269+00:00",
    "Organization": "sample string 7",
    "Country": "sample string 8",
    "State": "sample string 9",
    "City": "sample string 10",
    "PostalCode": "sample string 11",
    "Email": "sample string 12",
    "AltEmail": "sample string 13",
    "Phone1": "sample string 14",
    "Phone2": "sample string 15",
    "Mobile1": "sample string 16",
    "Mobile2": "sample string 17",
    "Address1": "sample string 18",
    "Address2": "sample string 19",
    "Picture": "sample string 20",
    "status": "sample string 21",
    "LastLogin": "2025-12-06T05:50:07.3421269+00:00",
    "Created": "2025-12-06T05:50:07.3421269+00:00",
    "Notes": "sample string 22",
    "Carts": [
      {
        "$id": "3",
        "CartID": 1,
        "CustomerID": 2,
        "ProductID": 3,
        "Quantity": 1,
        "CreateDate": "2025-12-06T05:50:07.3421269+00:00",
        "isActive": true,
        "Customer": {
          "$ref": "2"
        },
        "Product": {
          "$id": "4",
          "ProductID": 1,
          "ProductNumber": "sample string 2",
          "Name": "sample string 3",
          "SupplierID": 1,
          "CategoryID": 4,
          "SubCategoryID": 1,
          "Brand": "sample string 5",
          "QuantityPerUnit": "sample string 6",
          "UnitPrice": 1.0,
          "OldPrice": 1.0,
          "VAT": 1.0,
          "GrandTotal": 1.0,
          "UnitWeight": "sample string 7",
          "Size": "sample string 8",
          "Discount": 1.0,
          "UnitInStock": 1,
          "UnitOnOrder": 1,
          "ProductAvailable": true,
          "ImageURL": "sample string 9",
          "AltText": "sample string 10",
          "AddBadge": true,
          "OfferTitle": "sample string 11",
          "OfferBadgeClass": "sample string 12",
          "ShortDescription": "sample string 13",
          "LongDescription": "sample string 14",
          "Picture1": "sample string 15",
          "Picture2": "sample string 16",
          "Picture3": "sample string 17",
          "Picture4": "sample string 18",
          "Note": "sample string 19",
          "LocationID": "sample string 20",
          "UnitMeasurement": "sample string 21",
          "DeliveryCharges": 1.0,
          "Type": 22,
          "Carts": [
            {
              "$ref": "3"
            },
            {
              "$ref": "3"
            }
          ],
          "Category": {
            "$id": "5",
            "CategoryID": 1,
            "Name": "sample string 2",
            "Description": "sample string 3",
            "Picture1": "sample string 4",
            "Picture2": "sample string 5",
            "isActive": true,
            "Products": [
              {
                "$ref": "4"
              },
              {
                "$ref": "4"
              }
            ],
            "SubCategories": [
              {
                "$id": "6",
                "SubCategoryID": 1,
                "CategoryID": 2,
                "Name": "sample string 3",
                "Description": "sample string 4",
                "Picture1": "sample string 5",
                "Picture2": "sample string 6",
                "isActive": true,
                "Category": {
                  "$ref": "5"
                },
                "Products": [
                  {
                    "$ref": "4"
                  },
                  {
                    "$ref": "4"
                  }
                ]
              },
              {
                "$ref": "6"
              }
            ]
          },
          "OrderDetails": [
            {
              "$id": "7",
              "OrderDetailsID": 1,
              "OrderID": 2,
              "ProductID": 3,
              "UnitPrice": 1.0,
              "Quantity": 1,
              "Discount": 1.0,
              "TotalAmount": 1.0,
              "OrderDate": "2025-12-06T05:50:07.3421269+00:00",
              "Tax": 1.0,
              "DeliveryCharge": 1.0,
              "Order": {
                "$id": "8",
                "OrderID": 1,
                "CustomerID": 2,
                "PaymentID": 1,
                "ShippingID": 1,
                "Discount": 1.0,
                "Taxes": 1.0,
                "TotalAmount": 1.0,
                "GrandTotal": 1.0,
                "isCompleted": true,
                "OrderDate": "2025-12-06T05:50:07.3421269+00:00",
                "DIspatched": true,
                "DispatchedDate": "2025-12-06T05:50:07.3421269+00:00",
                "Shipped": true,
                "ShippingDate": "2025-12-06T05:50:07.3421269+00:00",
                "Deliver": true,
                "DeliveryDate": "2025-12-06T05:50:07.3421269+00:00",
                "Notes": "sample string 3",
                "CancelOrder": true,
                "Notified": true,
                "LocationID": 1,
                "DeliveryCharge": 1.0,
                "Vat": 1.0,
                "Status": "sample string 4",
                "CusName": "sample string 5",
                "CusAddress": "sample string 6",
                "CusMob": "sample string 7",
                "ProductDetails": "sample string 8"
              },
              "Product": {
                "$ref": "4"
              }
            },
            {
              "$ref": "7"
            }
          ],
          "SubCategory": {
            "$ref": "6"
          },
          "Supplier": {
            "$id": "9",
            "SupplierID": 1,
            "CompanyName": "sample string 2",
            "ContactName": "sample string 3",
            "ContactTitle": "sample string 4",
            "Address": "sample string 5",
            "Mobile": "sample string 6",
            "Phone": "sample string 7",
            "Fax": "sample string 8",
            "Email": "sample string 9",
            "City": "sample string 10",
            "Country": "sample string 11",
            "Products": [
              {
                "$ref": "4"
              },
              {
                "$ref": "4"
              }
            ]
          },
          "RecentlyViews": [
            {
              "$id": "10",
              "RViewID": 1,
              "CustomerID": 2,
              "ProductID": 3,
              "ViewDate": "2025-12-06T05:50:07.3421269+00:00",
              "Note": "sample string 5",
              "Customer": {
                "$ref": "2"
              },
              "Product": {
                "$ref": "4"
              }
            },
            {
              "$ref": "10"
            }
          ],
          "Reviews": [
            {
              "$id": "11",
              "ReviewID": 1,
              "CustomerID": 1,
              "ProductID": 1,
              "Name": "sample string 2",
              "Email": "sample string 3",
              "Review1": "sample string 4",
              "Rate": 1,
              "DateTime": "2025-12-06T05:50:07.3421269+00:00",
              "isDelete": true,
              "Customer": {
                "$ref": "2"
              },
              "Product": {
                "$ref": "4"
              }
            },
            {
              "$ref": "11"
            }
          ],
          "Wishlists": [
            {
              "$id": "12",
              "WishlistID": 1,
              "CustomerID": 2,
              "ProductID": 3,
              "isActive": true,
              "Customer": {
                "$ref": "2"
              },
              "Product": {
                "$ref": "4"
              }
            },
            {
              "$ref": "12"
            }
          ]
        }
      },
      {
        "$ref": "3"
      }
    ],
    "Orders": [
      {
        "$ref": "8"
      },
      {
        "$ref": "8"
      }
    ],
    "RecentlyViews": [
      {
        "$ref": "10"
      },
      {
        "$ref": "10"
      }
    ],
    "Reviews": [
      {
        "$ref": "11"
      },
      {
        "$ref": "11"
      }
    ],
    "ShippingDetails": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ],
    "Wishlists": [
      {
        "$ref": "12"
      },
      {
        "$ref": "12"
      }
    ]
  },
  "Orders": [
    {
      "$ref": "8"
    },
    {
      "$ref": "8"
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.