TOP

GetProductDetail()

Part Of: Product Webservice 3.0

WSDL:

https://webservices.vin65.com/V300/ProductService.cfc?wsdl

Australian URL:

https://webservices.aus.vin65.com/V300/ProductService.cfc?wsdl

Description:

Use the GetProduct() function to retrieve a single product.

Parameters:

Attribute Data Type Default Description
WebsiteID UUID   Available For Enterprise Webservices
UUID of the Vin65 Website
Not necessary if ProductID is present
Useful if searching by SKU and SKU is not unique across Enterprise
ProductID* UUID   UUID of the Vin65 Product
One of either the ProductID or SKU is required.
SKU* String 50   One of either the ProductID or SKU is required.

Sample Request:

<soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema">
<soap:Body>
  <GetProductDetail>
    <Request>
      <Security>
        <Username>//Your Username//</Us ername>
        <Password>//Your Password//</Password>
      </Security>
      <ProductID>eaecd602-db2a-da9d-8a37-ea0c791fed9f</ProductID>
    </Request>
  </GetProductDetail>
</soap:Body>
</soap:Envelope>  

Sample Response:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="https://schem as.xmlsoap.org/soap/envelope/" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
  <GetProductDetailResponse>
    <GetProductDetailReturn>
      <Errors></Errors>
      <IsSuccessful>true</IsSuccessful>
      <Product>
        <ProductID>eaecd602-db2a-da9d-8a37-ea0c791fed9f</ProductID>
        <Title>Chardonnay</Title>
        <Type>Wine</Type>
        <Brand>Pine Wines</Brand>
        <ActionMessage/>
        <BundleItems/>
        <Description>
          <Description>This is a sample description.</Description>
          <Teaser>This is a sample teaser.</Teaser>
        </Description>
        <IsActive>true</IsActive>
        <IsDisplayOnWebsite>true</IsDisplayOnWebsite>
        <Media/>
        <Photos>
          <Photo>
            <Caption/>
            <DisplayOrder>1</DisplayOrder>
            <Photo>white-bottle.png</Photo>
            <Title/>
          </Photo>
        </Photos>
        <POSTitle>Chardonnay</POSTitle>
        <SKUs>
          <SKU>
            <CostOfGood>10.00</CostOfGood>
            <DisplayOrder>1</DisplayOrder>
            <Inventory>
              <Inventory>
                <CurrentInventory>9935</CurrentInventory>
                <InventoryPool>Default Warehouse Location</InventoryPool>
              </Inventory>
            </Inventory>
            <IsInventoryOn>true</IsInventoryOn>
            <IsNoShippingCharge>false</IsNoShippingCharge>
            <IsNonTaxable>false</IsNonTaxable>
            <MaxOrderQty/>
            <MinOrderQty/>
            <OrderInMultiplesOf/>
            <Prices>
              <Price>
                <Price>32.00</Price>
                <PriceLevel>Retail</PriceLevel>
                <PriceQuantity>1</PriceQuantity>
                <SalePrice/>
              </Price>
              <Price>
                <Price>18.00</Price>
                <PriceLevel>Trade</PriceLevel>
                <PriceQuantity>1</PriceQuantity>
                <SalePrice/>
              </Price>
            </Prices>
            <SKU>Chardonnay</SKU>
            <UPCCode/>
            <UnitDescription>750ml</UnitDescription>
            <Weight>3.0</Weight>
          </SKU>
        </SKUs>
        <SpiritProperties/>
        <SubTitle></SubTitle>
        <VintageNotes/>
        <WebsiteID>f660d5e3-0173-4a19-0838-3eff95f2f20b</WebsiteID>
        <WineProperties>
          <Acid></Acid>
          <Alcohol>14.3</Alcohol>
          <Appellation>Okanagan</Appellation>
          <AvgRating>94.0</AvgRating>
          <Awards>Gold Medal First Place at the 2008 Okanagan Icewine Festival</Awards>
          <BottleSize>750ml</BottleSize>
          <BottleSizeInML>750</BottleSizeInML>
          <BottlesInCase/>
          <BottlingDate/>
          <CGRating/>
          <Fermentation/>
          <FoodPairingNotes/>
          <HarvestDate/>
          <JHRating/>
          <OtherNotes >This is not a real wine, this is a demo website</OtherNotes>
          <PH>3.48</PH>
          <Production></Production>
          <ProductionNotes></ProductionNotes>
          <RPRating>94.0</RPRating>
          <Ratings/>
          <Region>Canada</Region>
          <ResidualSugar>222 g/l</ResidualSugar>
          <STRating/>
          <Sugar></Sugar>
          <Tannin>9.23 g/l</Tannin>
          <TastingNotes>Distinctive character, with rich palate coating textures and lots of layers and depth - this is benchmark Wine</TastingNotes>
          <Type>White</Type>
          <Varietal>Chardonnay</Varietal>
          <VineyardDesignation/>
          <VineyardNotes/>
          <Vintage>2006</Vintage>
          <WARating/>
          <WAndSRating/>
          <WBRating/>
          <WERating/>
          <WNRating/>
          <WSRating/>
          <WineMakerNotes/>
        </WineProperties>
        <DateAdded>2011-10-03T16:50:09.057Z</DateAdded>
        <DateModified>2012-04-18T00:01:21.303Z</DateModified>
      </Product>
      <RecordCount>1</RecordCount>
    </GetProductDetailReturn>
  </GetProductDetailResponse>
</soapenv:Body>
</soapenv:Envelope>   

Page Top