PUT 3dCartWebAPI/v1/StoreSettings


This method is used to update the Store Settings in the database.

Request Information

URI Parameters

None.

Body Parameters

A Json or XML object containing the Store Settings

StoreSettings
NameDescriptionTypeAdditional information
StoreInformation

StoreInformation

None.

MerchantInformation

MerchantInformation

None.

StoreStandards

StoreStandards

None.

Request Formats

application/json, text/json

Sample:
{
  "StoreInformation": {
    "StoreName": "sample string 1",
    "StoreSlogan": "sample string 2",
    "StoreLogo": "sample string 3",
    "StoreEmail": "sample string 4",
    "StoreURL": "sample string 5",
    "StoreSecureURL": "sample string 6"
  },
  "MerchantInformation": {
    "Company": "sample string 1",
    "Address1": "sample string 2",
    "Address2": "sample string 3",
    "City": "sample string 4",
    "State": "sample string 5",
    "Country": "sample string 6",
    "ZipCode": "sample string 7",
    "Phone": "sample string 8",
    "AlternatePhone": "sample string 9",
    "Fax": "sample string 10",
    "InvoiceLogo": "sample string 11",
    "InvoiceTerms": "sample string 12"
  },
  "StoreStandards": {
    "StoreTimeZone": "sample string 1",
    "CurrencySymbol": "sample string 2",
    "DecimalPlacesOnPrice": "sample string 3",
    "CurrencyCode": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<StoreSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <MerchantInformation xmlns:d2p1="http://schemas.datacontract.org/2004/07/_3dCartWebAPI.Models">
    <d2p1:Address1>sample string 2</d2p1:Address1>
    <d2p1:Address2>sample string 3</d2p1:Address2>
    <d2p1:AlternatePhone>sample string 9</d2p1:AlternatePhone>
    <d2p1:City>sample string 4</d2p1:City>
    <d2p1:Company>sample string 1</d2p1:Company>
    <d2p1:Country>sample string 6</d2p1:Country>
    <d2p1:Fax>sample string 10</d2p1:Fax>
    <d2p1:InvoiceLogo>sample string 11</d2p1:InvoiceLogo>
    <d2p1:InvoiceTerms>sample string 12</d2p1:InvoiceTerms>
    <d2p1:Phone>sample string 8</d2p1:Phone>
    <d2p1:State>sample string 5</d2p1:State>
    <d2p1:ZipCode>sample string 7</d2p1:ZipCode>
  </MerchantInformation>
  <StoreInformation xmlns:d2p1="http://schemas.datacontract.org/2004/07/_3dCartWebAPI.Models">
    <d2p1:StoreEmail>sample string 4</d2p1:StoreEmail>
    <d2p1:StoreLogo>sample string 3</d2p1:StoreLogo>
    <d2p1:StoreName>sample string 1</d2p1:StoreName>
    <d2p1:StoreSecureURL>sample string 6</d2p1:StoreSecureURL>
    <d2p1:StoreSlogan>sample string 2</d2p1:StoreSlogan>
    <d2p1:StoreURL>sample string 5</d2p1:StoreURL>
  </StoreInformation>
  <StoreStandards xmlns:d2p1="http://schemas.datacontract.org/2004/07/_3dCartWebAPI.Models">
    <d2p1:CurrencyCode>sample string 4</d2p1:CurrencyCode>
    <d2p1:CurrencySymbol>sample string 2</d2p1:CurrencySymbol>
    <d2p1:DecimalPlacesOnPrice>sample string 3</d2p1:DecimalPlacesOnPrice>
    <d2p1:StoreTimeZone>sample string 1</d2p1:StoreTimeZone>
  </StoreStandards>
</StoreSetting>

Sample Request



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.