PUT Stores/ModifyStoreConfiguration

Modifies an existing StoreConfiguration.

Request Information

URI Parameters

None.

Body Parameters

StoreConfigurationBinding
NameDescriptionTypeAdditional information
ID

integer

None.

TariffID

default Tariff for this store

integer

None.

TaxRateID

integer

None.

BillingContactID

default BillingContactID for this store

integer

None.

PaymentMeansID

default PaymentMeansID for this store

integer

None.

LanguageID

default Language for this store

integer

None.

ImageSizeID

default ImageSize for this store

integer

None.

MarketingEmailNotificationsAccountID

MarketingEmailNotificationsID for this store

integer

None.

StoreNotificationsEmailAccountID

StoreNotificationsEmailAccount for this store

integer

None.

FrontDomain

string

Required

FrontURL

string

Required

AdminURL

string

Required

NewsletterUnsubscribeBaseURL

string

Required

BaseMediaURL

The URL to reach media (including catalog images)

string

Required

OutOfStockQuantity

Minumum number of units of product to be considered out of stock

integer

None.

ShowProviderPublicName

If true, shows ProviderPublicName for products

boolean

None.

ManufacturerID

Provider used as this store own manufacturer

integer

None.

PricePrecision

Number of decimals to be used for prices

integer

Range: inclusive between 0 and 4

CustomerCareEmail

CustomerQueries get forwarded to CustomerCareEmail, if not null

string

String length: inclusive between 0 and 100

AdministratorEmail

Email account to receive automated store-related reports from the system

string

String length: inclusive between 0 and 100

CustomerTypeID

Default customer type

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "TariffID": 2,
  "TaxRateID": 3,
  "BillingContactID": 4,
  "PaymentMeansID": 5,
  "LanguageID": 6,
  "ImageSizeID": 7,
  "MarketingEmailNotificationsAccountID": 8,
  "StoreNotificationsEmailAccountID": 9,
  "FrontDomain": "sample string 10",
  "FrontURL": "sample string 11",
  "AdminURL": "sample string 12",
  "NewsletterUnsubscribeBaseURL": "sample string 13",
  "BaseMediaURL": "sample string 14",
  "OutOfStockQuantity": 15,
  "ShowProviderPublicName": true,
  "ManufacturerID": 1,
  "PricePrecision": 17,
  "CustomerCareEmail": "sample string 18",
  "AdministratorEmail": "sample string 19",
  "CustomerTypeID": 20,
  "Lang": "sample string 21",
  "StoreID": 22
}

application/xml, text/xml

Sample:
<StoreConfigurationBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Store">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 21</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">22</StoreID>
  <AdminURL>sample string 12</AdminURL>
  <AdministratorEmail>sample string 19</AdministratorEmail>
  <BaseMediaURL>sample string 14</BaseMediaURL>
  <BillingContactID>4</BillingContactID>
  <CustomerCareEmail>sample string 18</CustomerCareEmail>
  <CustomerTypeID>20</CustomerTypeID>
  <FrontDomain>sample string 10</FrontDomain>
  <FrontURL>sample string 11</FrontURL>
  <ID>1</ID>
  <ImageSizeID>7</ImageSizeID>
  <LanguageID>6</LanguageID>
  <ManufacturerID>1</ManufacturerID>
  <MarketingEmailNotificationsAccountID>8</MarketingEmailNotificationsAccountID>
  <NewsletterUnsubscribeBaseURL>sample string 13</NewsletterUnsubscribeBaseURL>
  <OutOfStockQuantity>15</OutOfStockQuantity>
  <PaymentMeansID>5</PaymentMeansID>
  <PricePrecision>17</PricePrecision>
  <ShowProviderPublicName>true</ShowProviderPublicName>
  <StoreNotificationsEmailAccountID>9</StoreNotificationsEmailAccountID>
  <TariffID>2</TariffID>
  <TaxRateID>3</TaxRateID>
</StoreConfigurationBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>