Bu metod, PttAVM mağazanızda bulunan ürünleri güncellemenize olanak tanır. Endpoint'i kullanırken, "Dikkat Edilmesi Gereken Kurallar" alanındaki uyarılara dikkat edilmesi gerekmektedir.
https://ws.pttavm.com:93/service.svc HTTP/1.1POSTtext/xml;charset=UTF-84016http://tempuri.org/IService/UpdateProductsV3ws.pttavm.com:93İsteklerinizde
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:ept="http://schemas.datacontract.org/2004/07/ePttAVMService.Model.Requests">
<soapenv:Header/>
<soapenv:Body>
<tem:UpdateProductsV3>
<!--Optional:-->
<tem:items>
<!--Zero or more repetitions:-->
<ept:ProductV3Request>
<!--Optional:-->
<ept:Active>false</ept:Active>
<!--Optional:-->
<ept:Barcode>redirection-test-new-001</ept:Barcode>
<!--Optional:-->
<ept:BasketMaxQuantity>6</ept:BasketMaxQuantity>
<!--Optional:-->
<ept:Brand>CatalogBrandTest</ept:Brand>
<!--Optional:-->
<ept:CatalogBarcode>redirection-test-001</ept:CatalogBarcode>
<!--Optional:-->
<ept:CategoryId>1192</ept:CategoryId>
<!--Optional:-->
<ept:Desi>1</ept:Desi>
<!--Optional:-->
<ept:Discount>0</ept:Discount>
<!--Optional:-->
<ept:EstimatedCourierDelivery>5</ept:EstimatedCourierDelivery>
<!--Optional:-->
<ept:Gtin>000000000017</ept:Gtin>
<!--Optional:-->
<ept:Images>
<!--Zero or more repetitions:-->
<ept:ProductImageV3>
<!--Optional:-->
<ept:Url>https://klasiksanatlar.com/img/sayfalar/b/1_1546079894_1_1534620012_Ekran-Resmi-2018-08-18-22.25.18.jpg</ept:Url>
</ept:ProductImageV3>
<ept:ProductImageV3>
<!--Optional:-->
<ept:Url>https://kitantik.s3.cloud.ngn.com.tr/images/2019-07-07/0z8kgltjxshxyzj1a9x.JPG</ept:Url>
</ept:ProductImageV3>
</ept:Images>
<!--Optional:-->
<ept:LongDescription>uzun aciklama2</ept:LongDescription>
<!--Optional:-->
<ept:Name>Redirection Test2xx</ept:Name>
<!--Optional:-->
<ept:NoShippingProduct>0</ept:NoShippingProduct>
<!--Optional:-->
<ept:PriceWithoutVat>1000</ept:PriceWithoutVat>
<!--Optional:-->
<ept:Quantity>5</ept:Quantity>
<!--Optional:-->
<ept:ShortDescription>kisa aciklamaaa2</ept:ShortDescription>
<!--Optional:-->
<ept:SingleBox>1</ept:SingleBox>
<!--Optional:-->
<ept:VATRate>10</ept:VATRate>
<!--Optional:-->
<ept:Variants>
<!--Zero or more repetitions:-->
<ept:VariantV3>
<!--Optional:-->
<ept:Attributes>
<!--Zero or more repetitions:-->
<ept:VariantAttrV3>
<!--Optional:-->
<ept:Definition>Renk</ept:Definition>
<!--Optional:-->
<ept:Value>Kırmızı</ept:Value>
</ept:VariantAttrV3>
<ept:VariantAttrV3>
<!--Optional:-->
<ept:Definition>Beden</ept:Definition>
<!--Optional:-->
<ept:Value>XL</ept:Value>
</ept:VariantAttrV3>
</ept:Attributes>
<!--Optional:-->
<ept:CatalogBarcode>redirection-test-001-varyeni</ept:CatalogBarcode>
<!--Optional:-->
<ept:Price>33</ept:Price>
<!--Optional:-->
<ept:Quantity>6</ept:Quantity>
<!--Optional:-->
<ept:VariantBarcode>redirection-test-001-vars</ept:VariantBarcode>
</ept:VariantV3>
<ept:VariantV3>
<!--Optional:-->
<ept:Attributes>
<!--Zero or more repetitions:-->
<ept:VariantAttrV3>
<!--Optional:-->
<ept:Definition>Renk</ept:Definition>
<!--Optional:-->
<ept:Value>Kırmızı</ept:Value>
</ept:VariantAttrV3>
<ept:VariantAttrV3>
<!--Optional:-->
<ept:Definition>Beden</ept:Definition>
<!--Optional:-->
<ept:Value>L</ept:Value>
</ept:VariantAttrV3>
</ept:Attributes>
<!--Optional:-->
<ept:CatalogBarcode>redirection-test-002-varyeni</ept:CatalogBarcode>
<!--Optional:-->
<ept:Price>-44</ept:Price>
<!--Optional:-->
<ept:Quantity>8</ept:Quantity>
<!--Optional:-->
<ept:VariantBarcode>redirection-test-002-vars</ept:VariantBarcode>
</ept:VariantV3>
</ept:Variants>
<!--Optional:-->
<ept:WarrantyDuration>12</ept:WarrantyDuration>
<!--Optional:-->
<ept:WarrantySupplier>war sup</ept:WarrantySupplier>
</ept:ProductV3Request>
</tem:items>
</tem:UpdateProductsV3>
</soapenv:Body>
</soapenv:Envelope>
| Parametre | Tür | Açıklama | Durum |
|---|---|---|---|
| Active | boolean | Ürün aktivite durumu. | İsteğe bağlı |
| LongDescription | string | Uzun açıklama. | İsteğe bağlı |
| Name | string | Ürün İsmi. | Yeni Ürünler için zorunlu, Mevcut ürünlerde isteğe bağlı |
| NoShippingProduct | boolean | Kargo içermeyen ürünler için True, kargo içeren ürünler için False | İsteğe bağlı |
| Parts | array | Ürün parçaları | İsteğe bağlı |
| Desi | double | Parça desi değeri | İsteğe bağlı |
| PartComment | string | Parça açıklaması | İsteğe bağlı |
| PartNo | string | Parça kod numarası | İsteğe bağlı |
| PriceWithVAT | decimal | Ürünün KDV dahil fiyatı | Yeni ürünler için zorunlu, mevcut ürünler için isteğe bağlı |
| PriceWithoutVAT | decimal | Ürünün KDV hariç fiyatı | Yeni ürünler için zorunlu, mevcut ürünler için isteğe bağlı |
| Quantity | integer | Ürünün stok bilgisi | Yeni ürünler için zorunlu, mevcut ürünler için isteğe bağlı |
| ShortDescription | string | Kısa açıklama (Özet alanı) | İsteğe bağlı |
| SingleBox | boolean | Tek kutu(1), çoklu kutu(2) | İsteğe bağlı |
| VATRate | integer | Kdv oranı | Yeni ürünler için zorunlu, mevcut ürünler için isteğe bağlı |
| Variants | array | Varyant | Varyantlı ürünler için zorunlu |
| Attributes | array | Nitelikler | Zorunlu |
| Definition | string | Varyant grubu (Örneğin renk) | Varyantlı ürünler için gerekli |
| Value | string | Varyant değeri (Örneğin kırmızı) | Varyantlı ürünler için gerekli |
| Price | decimal | Varyant kombinasyonu fiyat farkı (KDV dahil). Bu değer, KDV eklenmiş olarak girilmelidir. (Pozitif bir değer ürünün fiyatına eklenirken, negatif bir değer çıkarılır.) | - |
| Quantity | integer | Varyant adet | İsteğe bağlı |
| VariantBarcode | string | Varyant barkod | Varyantlı ürünler için gerekli |
| WarrantyDuration | integer | Varyant periyod | İsteğe bağlı |
| WarrantySupplier | string | Garanti sağlayıcı firma | İsteğe bağlı |
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<ActivityId CorrelationId="9edda120-74b5-4bb1-9af3-48a41b9ae460" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">00000000-0000-0000-0000-000000000000</ActivityId>
<o:Security s:mustUnderstand="1" xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<u:Timestamp u:Id="_0">
<u:Created>2025-03-20T07:54:42.119Z</u:Created>
<u:Expires>2025-03-20T07:59:42.119Z</u:Expires>
</u:Timestamp>
</o:Security>
</s:Header>
<s:Body>
<UpdateProductsV3Response xmlns="http://tempuri.org/">
<UpdateProductsV3Result xmlns:a="http://schemas.datacontract.org/2004/07/ePttAVMService.Model.Responses" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:Message>İşleminiz başarıyla sıraya alınmıştır. Size verilen tracking id ile takibini sağlayabilirsiniz.</a:Message>
<a:Success>true</a:Success>
<a:TrackingId>67dbc9c283f9c52828347ed8</a:TrackingId>
<a:CountOfProductsToBeProcessed>1</a:CountOfProductsToBeProcessed>
</UpdateProductsV3Result>
</UpdateProductsV3Response>
</s:Body>
</s:Envelope>
| Parametre | Tür | Açıklama |
|---|---|---|
| Message | string | İşlem mesajı. |
| Success | boolean | İşlem başarı durumu. |
| TrackingId | string | İşlemi takip etmek için ID değeri. |
| CountOfProductsToBeProcessed | integer | İşleme alınacak ürün sayısı. |