TOP

GetOrderDetail()

Part Of: Order Webservice 3.0

WSDL:

https://webservices.vin65.com/V301/OrderService.cfc?wsdl

Australian URL:

https://webservices.aus.vin65.com/V301/OrderService.cfc?wsdl

Description:

Use the GetOrder() function to get a order contact. Required fields are indicated by a '*'

Webservices V3.0+ date/time stamps are UTC time.

Parameters:

Attribute Data Type Default Description
WebsiteID UUID   Available For Enterprise Webservices
UUID of the Vin65 Website
Not necessary if OrderID is present
Useful if searching by OrderNumber
and OrderNumber is not unique across Enterprise
 
OrderID UUID   UUID of the Vin65 OrderID
OrderNumber Integer    
ShowKitAsIndividualSKUs Boolean False  

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>
  <GetOrderDetail> 
    <Request>
      <Security>
        <Username>//Your Username//</Username>
        <Password>//Your Password//</Password>
      </Security>
      <OrderID>f660d5e3-0173-4a19-0838-3eff95f2f20b</OrderID>
    </Request>
  </GetOrderDetail>
</soap:Body> 
</soap:Envelope> 

Sample Response:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="https://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body> 
  <GetOrderDetailResponse>
    <GetOrderDetailReturn>
      <Errors></Errors>
      <IsSuccessful>true</IsSuccessful>
      <Order>
        <AmountPaidByGiftCard>0.00</AmountPaidByGiftCard>
        <AmountPaidByPoints>0.00</AmountPaidByPoints>
        <BillContact>
          <Address>123 Test Ave</Address>
          <Address2></Address2>
          <AltContactID>110ae037-5a79-e111-936b-000c295a8381</AltContactID>
          <BirthDate>1902-03-19T08:00:00.000Z</BirthDate>
          <City>Testville</City>
          <ClubName>Red Club</ClubName>
          <ClubShipmentName>2014 May Shipment</ClubShipmentName>
          <Company></Company>
          <ContactID>4c58d5ef-edf8-b355-ebf8-d36c39c44d7e</ContactID>
          <CountryCode></CountryCode>
          <CustomerNumber>9050</CustomerNumber>
          <DateAdded>2012-01-17T23:38:12.590Z</DateAdded>
          <DateModified>2012-04-24T18:17:26.217Z</DateModified>
          <Email>josh@vin65.com</Email>
          <FirstName>Josh</FirstName>
          <IsNonTaxable>false</IsNonTaxable>
          <LastLoginDate>2012-04-24T18:17:26.217Z</LastLoginDate>
          <LastName>Clysdale</LastName>
          <LastOrderDate>2012-04-24T17:41:56.457Z</LastOrderDate>
          <LifetimeValue>2320.94</LifetimeValue>
          <OrderCount>18</OrderCount>
          <Phone>000-000-0000</Phone>
          <StateCode>CA</StateCode>
          <SourceCode>Event</SourceCode>
          <Title></Title>
          <Username>test123</Username>
          <WebsiteID>66272648-1e0b-4e34-f09b-81477a31b25f</WebsiteID>
          <WholesaleNumber></WholesaleNumber>
          <ZipCode>123456</ZipCode>
        </BillContact>
        <CompletedDate/>
        <Deposit>1.20</Deposit>
        <FulfillmentHouse>WineDirectFulfillment</FulfillmentHouse>
        <FutureShipDate/>
        <GiftMessage></GiftMessage>
        <Handling>10.50</Handling>
        <IsAPickupOrder>false</IsAPickupOrder>
        <IsExternalOrder>false</IsExternalOrder>
        <OrderCoupons>
          <OrderCoupon>
            <Code></Code>
            <CouponName>$25 Dollar Off Case Discount</CouponName>
            <ProductValue>25.00</ProductValue>
            <ShippingValue>0.00</ShippingValue>
            <TotalValue>25.00</TotalValue>
          </OrderCoupon>
        </OrderCoupons>
        <OrderID>f660d5e3-0173-4a19-0838-3eff95f2f20b</OrderID>
        <OrderItems>
          <OrderItem>
            <CostOfGood>0.00</CostOfGood>
            <InventoryPool>WineDirect</InventoryPool>
            <OriginalPrice>74.00</OriginalPrice>
            <ParentSKUID></ParentSKUID>
            <Price>71.92</Price>
            <ProductID>eaecdcc6-08ee-88fb-6368-2fb5f5bc8e0e</ProductID>
            <ProductSKUID>eaecdce8-ee5a-7217-ed1e-c6f6c3afa066</ProductSKUID>
            <Quantity>12</Quantity>
            <SKU>Gew&#xFC;rztraminer</SKU>
            <SalesTax>72.76</SalesTax>
            <ShippedDate/>
            <ShippingSKU></ShippingSKU>
            <ShippingService>UPS</ShippingService>
            <IsNonTaxable>false</IsNonTaxable>
            <IsSubSKU>false</IsSubSKU>
            <SubTitle></SubTitle>
            <Title>Gew&#xFC;rztraminer</Title>
            <TrackingNumber></TrackingNumber>
            <Type>Wine</Type>
            <UnitDescription>375ml</UnitDescription>
            <Weight>3.0</Weight>
          </OrderItem>
        </OrderItems>
        <OrderNotes>Original Order</OrderNotes>
        <OrderNumber>60345</OrderNumber>
        <OrderStatus>Submitted</OrderStatus>
        <PaymentStatus>Authorized</PaymentStatus>
        <PaymentTerms></PaymentTerms>
        <PickupLocationCode/> 
        <PointsInUse>0</PointsInUse>
        <PriceLevel>Retail</PriceLevel>
        <PreviousOrderNumber></PreviousOrderNumber>
        <RequestedShipDate/>
        <RMS>
          <BatchID></BatchID>
          <CashierID></CashierID>
          <RegisterNumber></RegisterNumber>
          <StoreID></StoreID>
        </RMS>
        <SalesAssociate></SalesAssociate>
        <SalesAttribute></SalesAttribute>
        <ShipToAddress>
          <Address>123 Test Ave</Address>
          <Address2></Address2>
          <BirthDate>1902-03-19T08:00:00.000Z</BirthDate>
          <City>Testville</City>
          <Company></Company>
          <CountryCode></CountryCode>
          <Email>josh@vin65.com</Email>
          <FirstName>Josh</FirstName>
          <LastName>Clysdale</LastName>
          <Phone>000-000-0000</Phone>
          <StateCode>CA</StateCode>
          <Title></Title>
          <ZipCode>123456</ZipCode>
        </ShipToAddress>
        <ShippedDate/>
        <Shipping>18.85</Shipping>
        <ShippingService>UPS</ShippingService>
        <ShippingStatus></ShippingStatus>
        <ShippingType/>
        <SourceCode></SourceCode>
        <SubTotal>863.04</SubTotal>
        <SubmittedDate/>
        <Tax>72.76</Tax>
        <Tender>
          <Tender>
            <AmountTendered>900.00</AmountTendered>
            <CardExpiryMo>1</CardExpiryMo>
            <CardExpiryYr>2015</CardExpiryYr>
            <CardNumber>************5454</CardNumber>
            <CardType>Visa</CardType>
            <NameOnCard></NameOnCard>
            <PaymentType>CreditCard</PaymentType>
            <IsActive>true</IsActive>
          </Tender>
          <Tender>
            <AmountTendered>66.35</AmountTendered>
            <PaymentType>Cash</PaymentType>
            <IsActive>true</IsActive>
          </Tender>
        </Tender>
          <Tender>
            <AmountTendered>966.35</AmountTendered>
            <CardExpiryMo>1</CardExpiryMo>
            <CardExpiryYr>2015</CardExpiryYr>
            <CardNumber>************5454</CardNumber>
            <CardType>Visa</CardType>
            <NameOnCard></NameOnCard>
            <PaymentType>CreditCard</PaymentType>
            <IsActive>false</IsActive>
          </Tender>
          <Tender>
        <Tip>0.00</Tip>
        <Total>966.35</Total>
        <TotalAfterTip>966.35</TotalAfterTip>
        <TrackingNumber></TrackingNumber>
        <TransactionType>Order</TransactionType>
        <Type>AdminPanel</Type>
        <WebsiteID>66272648-1e0b-4e34-f09b-81477a31b25f</WebsiteID>
        <WholesaleNumber></WholesaleNumber>
      </Order>
      <RecordCount>1</RecordCount>
    </GetOrderDetailReturn>
  </GetOrderDetailResponse>
</soapenv:Body>
</soapenv:Envelope>     

Page Top