Transfer Product To Trendyol (createProducts)

TRANSFER PRODUCTS TO TRENDYOL

This method is the updated version of Transfer Product To Trendyol To use this method Trendyol Brand, Category ve Attributes informations must be sent.

Products sent using this service are published more quickly on Trendyol.com.

This method supports single and multiple item in single request.

You must check the service response and item status from getBatchRequestResult

NOTE: The images of the products must be 1200x1800 and 96dpi.

  • POST createProducts (Single)

https://api.trendyol.com/sapigw/suppliers/{supplierid}/v2/products


{
  "items": [
    {
      "barcode": "barkod-1234",
      "title": "Bebek Takımı Pamuk",
      "productMainId": "1234BT",
      "brandId": 1791,
      "categoryId": 411,
      "quantity": 100,
      "stockCode": "STK-345",
      "dimensionalWeight": 2,
      "description": "Ürün açıklama bilgisi",
      "currencyType": "TRY",
      "listPrice": 250.99,
      "salePrice": 120.99,
      "vatRate": 18,
      "cargoCompanyId": 10,
      "shipmentAddressId": 0,
      "returningAddressId": 0,
      "images": [
        {
          "url": "https://www.sampleadress/path/folder/image_1.jpg"
        }
      ],
      "attributes": [
        {
          "attributeId": 338,
          "attributeValueId": 6980
        },
        {
          "attributeId": 343,
          "attributeValueId": 4294
        },
        {
          "attributeId": 346,
          "attributeValueId": 4290
        },
        {
        "attributeId": 47,
        "customAttributeValue": "COLOUR"
        }
      ]
    }
  ]
}
  • POST createProducts (Single Product with 2 variants)

https://api.trendyol.com/sapigw/suppliers/{supplierid}/v2/products


{
  "items": [
    {
      "barcode": "barkod-1234",
      "title": "Bebek Takımı Pamuk",
      "productMainId": "1234BT",
      "brandId": 1791,
      "categoryId": 411,
      "quantity": 100,
      "stockCode": "STK-345",
      "dimensionalWeight": 2,
      "description": "Ürün açıklama bilgisi",
      "currencyType": "TRY",
      "listPrice": 250.99,
      "salePrice": 120.99,
      "vatRate": 18,
      "cargoCompanyId": 10,
      "shipmentAddressId": 0,
      "returningAddressId": 0,
      "images": [
        {
          "url": "https://www.sampleadress/path/folder/image_1.jpg"
        }
      ],
      "attributes": [
        {
          "attributeId": 338,
          "attributeValueId": 6980
        },
        {
          "attributeId": 343,
          "attributeValueId": 4294
        },
        {
          "attributeId": 346,
          "attributeValueId": 4290
        },
        {
        "attributeId": 47,
        "customAttributeValue": "COLOUR"
        }
      ]
    },
    {
      "barcode": "barkod-12345",
      "title": "Bebek Takımı Pamuk",
      "productMainId": "1234BT",
      "brandId": 1791,
      "categoryId": 411,
      "quantity": 100,
      "stockCode": "STK-3454",
      "dimensionalWeight": 2,
      "description": "Ürün açıklama bilgisi",
      "currencyType": "TRY",
      "listPrice": 250.99,
      "salePrice": 120.99,
      "vatRate": 18,
      "cargoCompanyId": 10,
      "shipmentAddressId": 0,
      "returningAddressId": 0,
      "images": [
        {
          "url": "https://www.sampleadress/path/folder/image_2.jpg"
        }
      ],
      "attributes": [
        {
          "attributeId": 338,
          "attributeValueId": 6981
        },
        {
          "attributeId": 343,
          "attributeValueId": 4294
        },
        {
          "attributeId": 346,
          "attributeValueId": 4290
        },
        {
        "attributeId": 47,
        "customAttributeValue": "COLOUR"
        }
      ]
    }
  ]
}

NOT : If a product has more than one variant (such as XL and L size of the product), the request is expected to be sent in multiple instances. Only the attributes section of the product must be differentiated.


"attributes": [
        {
          "attributeId": 338,
          "attributeValueId": 6981
        },
        {
          "attributeId": 343,
          "attributeValueId": 4294
        },
        {
          "attributeId": 346,
          "attributeValueId": 4290
        },
        {
        "attributeId": 47,
        "customAttributeValue": "COLOUR"
        }
      ]

Parameters Description

*Bold parameteres are required.

Parameter Description DataType
barcode Product Barcode string
title Product Title string
productMainId Main Product ID string
brandId Trendyol Brand ID information. You can get Brands from here . integer
categoryId Trendyol Category ID information. You can get Categories from here . integer
quantity Stock Amount string
stockCode Seller own stock code string
dimensionalWeight Product dimension on Desi integer
description Product description. HTML - string
currencyType Product Price currency. string
listprice Product List price - PSF number
saleprice Product Sale price - TSF number
cargoCompanyId Trendyol available Shipment Company list integer
images. Product image addresses List
vatRate Product tax rate e.g. 0,1,8,18 integer
shipmentAddressId Products's shipment warehouse ID - integer
returnAddressId Product's return warehouse ID integer
attributes Attributes of the product (Spesification/Attribute) . You can get Category Attributes from here . List