ShoppingService
전체 작업 목록을 보려면 여기를 클릭하십시오.
Cart
[장바구니 담기]
테스트
테스트 폼은 로컬 컴퓨터의 요청에만 사용할 수 있습니다.SOAP 1.1
다음은 샘플 SOAP 1.1 요청 및 응답입니다. 표시된 placeholders는 실제 값으로 바꿔야 합니다.
POST /APIv1/ShoppingService.asmx HTTP/1.1 Host: api.auction.co.kr Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.auction.co.kr/APIv1/ShoppingService/Cart" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <AuthenticationTicket xmlns="http://www.auction.co.kr/Security"> <Value>string</Value> </AuthenticationTicket> <EncryptedTicket xmlns="http://www.auction.co.kr/Security"> <Value>string</Value> </EncryptedTicket> </soap:Header> <soap:Body> <Cart xmlns="http://www.auction.co.kr/APIv1/ShoppingService"> <request ItemID="string" Version="int" TransFeePrePaidYN="boolean" SiteID="string" PlatformType="string" DeviceType="string" AppType="string" TrackingVer="int" Url="string" Acode="string" GitemNo="string" MartBranchCode="string" MartBranchName="string"> <MemberTicket xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <Ticket xmlns="http://schema.auction.co.kr/Arche.Service.xsd">string</Ticket> </MemberTicket> <RequestOption StockNo="long" Section="string" ObjOptClaseNo1="long" Text="string" ObjOptClaseNo2="long" Text2="string" ObjOptClaseNo3="long" Code="string" Quantity="int" Price="decimal" IsDisplayable="boolean" ChangeType="Add or Update or Remove" StockQty="int" ImageUrl="string" StockMasterSeqNo="long" StandAloneStockSeqNo="string" ImageWidth="int" ImageHeight="int" SkuMatchingVerNo="long" SingleOptSeqNo="long" EpinMatchingVerNo="long" StockId="long" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> </RequestOption> <RequestOption StockNo="long" Section="string" ObjOptClaseNo1="long" Text="string" ObjOptClaseNo2="long" Text2="string" ObjOptClaseNo3="long" Code="string" Quantity="int" Price="decimal" IsDisplayable="boolean" ChangeType="Add or Update or Remove" StockQty="int" ImageUrl="string" StockMasterSeqNo="long" StandAloneStockSeqNo="string" ImageWidth="int" ImageHeight="int" SkuMatchingVerNo="long" SingleOptSeqNo="long" EpinMatchingVerNo="long" StockId="long" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> </RequestOption> <RequestMessage ItemStockNo="long" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <RequestMessage StockTextNo="int" BuyerWriting="string" /> <RequestMessage StockTextNo="int" BuyerWriting="string" /> </RequestMessage> <RequestMessage ItemStockNo="long" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <RequestMessage StockTextNo="int" BuyerWriting="string" /> <RequestMessage StockTextNo="int" BuyerWriting="string" /> </RequestMessage> <RequestProdOption StockNo="long" Section="string" ObjOptClaseNo1="long" Text="string" ObjOptClaseNo2="long" Text2="string" ObjOptClaseNo3="long" Code="string" Quantity="int" Price="decimal" IsDisplayable="boolean" ChangeType="Add or Update or Remove" StockQty="int" ImageUrl="string" StockMasterSeqNo="long" StandAloneStockSeqNo="string" ImageWidth="int" ImageHeight="int" SkuMatchingVerNo="long" SingleOptSeqNo="long" EpinMatchingVerNo="long" StockId="long" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> </RequestProdOption> <RequestProdOption StockNo="long" Section="string" ObjOptClaseNo1="long" Text="string" ObjOptClaseNo2="long" Text2="string" ObjOptClaseNo3="long" Code="string" Quantity="int" Price="decimal" IsDisplayable="boolean" ChangeType="Add or Update or Remove" StockQty="int" ImageUrl="string" StockMasterSeqNo="long" StandAloneStockSeqNo="string" ImageWidth="int" ImageHeight="int" SkuMatchingVerNo="long" SingleOptSeqNo="long" EpinMatchingVerNo="long" StockId="long" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> </RequestProdOption> <RequestOptionCalculation StockNo="long" ItemStockCalcNo="long" BuyerInsValue1="int" BuyerInsValue2="int" Qty="int" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd" /> <RequestOptionCalculation StockNo="long" ItemStockCalcNo="long" BuyerInsValue1="int" BuyerInsValue2="int" Qty="int" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd" /> <RequestShipping AdditionalShippingType="int" WishDeliveryDate="dateTime" WishDeliveryAMPM="AM or PM" ApplyGiftPacking="boolean" MartCode="EMart or HomePlus or LotteMart or LotteSuper or Etc" BuyerPostNo="string" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd" /> </request> <type>string</type> </Cart> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <EncryptedTicket xmlns="http://www.auction.co.kr/Security"> <Value>string</Value> </EncryptedTicket> </soap:Header> <soap:Body> <CartResponse xmlns="http://www.auction.co.kr/APIv1/ShoppingService"> <CartResult CartNo="long" PreSmileShippingAmount="decimal" CurSmileShippingAmount="decimal" CurSmileShippingCount="int" CurTotalCount="int" ErrorMessage="string" ErrorType="int" ResultType="int" /> </CartResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
다음은 샘플 SOAP 1.2 요청 및 응답입니다. 표시된 placeholders는 실제 값으로 바꿔야 합니다.
POST /APIv1/ShoppingService.asmx HTTP/1.1 Host: api.auction.co.kr Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <AuthenticationTicket xmlns="http://www.auction.co.kr/Security"> <Value>string</Value> </AuthenticationTicket> <EncryptedTicket xmlns="http://www.auction.co.kr/Security"> <Value>string</Value> </EncryptedTicket> </soap12:Header> <soap12:Body> <Cart xmlns="http://www.auction.co.kr/APIv1/ShoppingService"> <request ItemID="string" Version="int" TransFeePrePaidYN="boolean" SiteID="string" PlatformType="string" DeviceType="string" AppType="string" TrackingVer="int" Url="string" Acode="string" GitemNo="string" MartBranchCode="string" MartBranchName="string"> <MemberTicket xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <Ticket xmlns="http://schema.auction.co.kr/Arche.Service.xsd">string</Ticket> </MemberTicket> <RequestOption StockNo="long" Section="string" ObjOptClaseNo1="long" Text="string" ObjOptClaseNo2="long" Text2="string" ObjOptClaseNo3="long" Code="string" Quantity="int" Price="decimal" IsDisplayable="boolean" ChangeType="Add or Update or Remove" StockQty="int" ImageUrl="string" StockMasterSeqNo="long" StandAloneStockSeqNo="string" ImageWidth="int" ImageHeight="int" SkuMatchingVerNo="long" SingleOptSeqNo="long" EpinMatchingVerNo="long" StockId="long" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> </RequestOption> <RequestOption StockNo="long" Section="string" ObjOptClaseNo1="long" Text="string" ObjOptClaseNo2="long" Text2="string" ObjOptClaseNo3="long" Code="string" Quantity="int" Price="decimal" IsDisplayable="boolean" ChangeType="Add or Update or Remove" StockQty="int" ImageUrl="string" StockMasterSeqNo="long" StandAloneStockSeqNo="string" ImageWidth="int" ImageHeight="int" SkuMatchingVerNo="long" SingleOptSeqNo="long" EpinMatchingVerNo="long" StockId="long" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> </RequestOption> <RequestMessage ItemStockNo="long" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <RequestMessage StockTextNo="int" BuyerWriting="string" /> <RequestMessage StockTextNo="int" BuyerWriting="string" /> </RequestMessage> <RequestMessage ItemStockNo="long" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <RequestMessage StockTextNo="int" BuyerWriting="string" /> <RequestMessage StockTextNo="int" BuyerWriting="string" /> </RequestMessage> <RequestProdOption StockNo="long" Section="string" ObjOptClaseNo1="long" Text="string" ObjOptClaseNo2="long" Text2="string" ObjOptClaseNo3="long" Code="string" Quantity="int" Price="decimal" IsDisplayable="boolean" ChangeType="Add or Update or Remove" StockQty="int" ImageUrl="string" StockMasterSeqNo="long" StandAloneStockSeqNo="string" ImageWidth="int" ImageHeight="int" SkuMatchingVerNo="long" SingleOptSeqNo="long" EpinMatchingVerNo="long" StockId="long" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> </RequestProdOption> <RequestProdOption StockNo="long" Section="string" ObjOptClaseNo1="long" Text="string" ObjOptClaseNo2="long" Text2="string" ObjOptClaseNo3="long" Code="string" Quantity="int" Price="decimal" IsDisplayable="boolean" ChangeType="Add or Update or Remove" StockQty="int" ImageUrl="string" StockMasterSeqNo="long" StandAloneStockSeqNo="string" ImageWidth="int" ImageHeight="int" SkuMatchingVerNo="long" SingleOptSeqNo="long" EpinMatchingVerNo="long" StockId="long" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd"> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> <SkuInfo skuId="long" owQty="int" xmlns="http://schema.auction.co.kr/Arche.Service.xsd" /> </RequestProdOption> <RequestOptionCalculation StockNo="long" ItemStockCalcNo="long" BuyerInsValue1="int" BuyerInsValue2="int" Qty="int" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd" /> <RequestOptionCalculation StockNo="long" ItemStockCalcNo="long" BuyerInsValue1="int" BuyerInsValue2="int" Qty="int" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd" /> <RequestShipping AdditionalShippingType="int" WishDeliveryDate="dateTime" WishDeliveryAMPM="AM or PM" ApplyGiftPacking="boolean" MartCode="EMart or HomePlus or LotteMart or LotteSuper or Etc" BuyerPostNo="string" xmlns="http://schema.auction.co.kr/Arche.Itempage3.Service.xsd" /> </request> <type>string</type> </Cart> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <EncryptedTicket xmlns="http://www.auction.co.kr/Security"> <Value>string</Value> </EncryptedTicket> </soap12:Header> <soap12:Body> <CartResponse xmlns="http://www.auction.co.kr/APIv1/ShoppingService"> <CartResult CartNo="long" PreSmileShippingAmount="decimal" CurSmileShippingAmount="decimal" CurSmileShippingCount="int" CurTotalCount="int" ErrorMessage="string" ErrorType="int" ResultType="int" /> </CartResponse> </soap12:Body> </soap12:Envelope>