putProducts

Operation Id:
products/products/put [Official Documentaction]
Methods

  • settings Object
  • picturesSettings Object
  • products Array<Object>
  • productId Integer
  • productIndex String
  • productSizeCodeExternal String
  • productSizeCodeProducer String
  • productDisplayedCode String
  • productTaxCode String
  • productInWrapper Integer
  • productSellByRetail Number
  • productSellByWholesale Number
  • categoryIdoSellId Integer
  • categoryIdoSellPath String
  • categoryId Integer
  • categoryName String
  • producerId Integer
  • producerName String
  • cnTaricCode String
  • countryOfOrigin String
  • unitId Integer
  • seriesId Integer
  • seriesPanelName String
  • sizesGroupId Integer
  • sizesGroupName String
  • priceChangeMode String
  • productRetailPrice Number
  • productRetailPriceNet Number
  • productWholesalePrice Number
  • productWholesalePriceNet Number
  • productMinimalPrice Number
  • productMinimalPriceNet Number
  • productAutomaticCalculationPrice Number
  • productAutomaticCalculationPriceNet Number
  • productPosPrice Number
  • productPosPriceNet Number
  • productSuggestedPrice Number
  • productSuggestedPriceNet Number
  • productStrikethroughRetailPrice Number
  • productStrikethroughRetailPriceNet Number
  • productStrikethroughWholesalePrice Number
  • productStrikethroughWholesalePriceNet Number
  • productVat Number
  • productVatFree String
  • productPriceComparisonSitesPrices Array<Object>
  • productEnableInPos String
  • productAdvancePrice Number
  • productNote String
  • productHotspotsZones Array<Object>
  • priceInPoints Object
  • loyaltyPoints Array<Object>
  • productWeight Integer
  • productInVisible String
  • shopsMask Integer
  • productComplexNotes Integer
  • productInExportToPriceComparisonSites 'y'|'selected'|'n'
  • priceComparisonSites Array<Object>
  • productInExportToAmazonMarketplace String
  • exportToAmazonMarketplacesList Array<String>
  • exportToAmazonExportAllSizes 'n'|'y'
  • exportAmazonUpdateStocks 'n'|'y'
  • productInExportToStrefaMarekAllegro String
  • productInExportToSmaPreset Integer
  • availableProfile Integer
  • productRebate Integer
  • warrantyId Integer
  • warrantyName String
  • priceFormula Object
  • sizeChartId Integer
  • sizeChartName String
  • productPriority Integer
  • productPriorityInMenuNodes Array<Object>
  • productIconLink String
  • productAuctionIconLink String
  • productGroupIconLink String
  • productPictures Array<Object>
  • productPicturesReplace Array<Object>
  • productPromotion Object
  • productDiscount Object
  • productDistinguished Object
  • productSpecial Object
  • productParametersDistinction Array<Object>
  • parametersConfigurable Array<Object>
  • associatedProducts Array<Object>
  • productSizes Array<Object>
  • attachments Array<Object>
  • removeAttachments Array<Object>
  • virtualAttachmentsToRemove Boolean
  • virtualAttachments Array<Object>
  • attachmentOperationValues 'edit'|'add'|'remove'
  • productShopsAttributes Array<Object>
  • subscription Array<Object>
  • productNames Object
  • productNamesInAuction Object
  • productNamesInPriceComparer Object
  • productParamDescriptions Object
  • productLongDescriptions Object
  • productLongDescriptionsInAuction Object
  • productAuctionDescriptionsData Array<Object>
  • productMetaTitles Object
  • productMetaDescriptions Object
  • productMetaKeywords Object
  • productUrl Object
  • productVersion Object
  • currencyId String
  • productCurrenciesShops Array<Object>
  • delivererId Integer
  • delivererName String
  • productParametersDistinctionChangeMode 'add'|'delete'|'delete_group'|'replace'
  • productDeliveryTime Object
  • productParameters Array<Object>
  • clearProductParameters Boolean
  • changeParametersDistinction Array<Object>
  • productPriceVatChangeMode 'change_net'|'change_gross'
  • productMenuItems Array<Object>
  • removeAllProductsAssignedToMenu Object
  • productSumInBasket String
  • productShopsPricesConfig 'same_prices'|'different_prices'
  • productPosPricesConfig 'pos_equals_retail'|'pos_notequals_retail'|'not_available_in_pos'|'sizes_pos_price_as_base_price'
  • productType 'product_item'|'product_free'|'product_packaging'|'product_bundle'|'product_collection'|'product_virtual'|'product_service'|'product_configurable'
  • priceRoundMode 'none'|'00'|'x0'|'99'|'x9'
  • productAvailabilityManagementType 'manual'|'stock'
  • removeChooseSizesValues Array<String>
  • removeAllUnusedProductSizes Boolean
  • producerCodesStandard 'auto'|'GTIN14'|'GTIN13'|'ISBN13'|'GTIN12'|'ISBN10'|'GTIN8'|'UPCE'|'MPN'|'other'
  • javaScriptInTheItemCard Array<Object>
  • serialNumbersOption 'na'|'optional'|'required'
  • dispatchSettings Object
  • standardUnit Object
  • minQuantityPerOrder Object
  • dynamicPricingEnabled String
  • clearStockQuantities Object
  • productDimensions Object
  • responsibleProducerCode String
  • responsiblePersonCode String
  • setText text: string, type: "name"|"short"|"long"|"metatitle"|"metadescription"|"metakeywords"|"acutionname"|"auctiondescription", language: string, shopId: number|string
  • editMode
  • addMode
  • addPrice value: number, type: 'retail'|'wholesale'|'pos'|'minimal'|'strikethroughRetail'|'strikethroughWholesale'|'suggested'|'automaticCalculation'
  • setPrice value: number, type: 'retail'|'wholesale'|'pos'|'minimal'|'strikethroughRetail'|'strikethroughWholesale'|'suggested'|'automaticCalculation'
  • setMenu shopId: number|string, menuIds: number|string
  • pictures picturesArray: string|string[]
Examples

The function sets the country of origin for a specific product with the ID of 33 to be "PL".

const result = await idosellRequest.putProducts
	.productId(33)
	.countryOfOrigin("PL")
	.exec()

This function sets the text value of the "name" field of the product with ID 33 to "Krzesło Pavon".

const result = await idosellRequest.putProducts
	.productId(33)
	.setText("Krzesło Pavon", "name")
	.exec()

This function sets edit mode and code on card for product ID 33

const result = await idosellRequest.putProducts
	.editMode()
	.productId(33)
	.productDisplayedCode("PD01")
	.exec()

This function sets retail price to product ID 33

const result = await idosellRequest.productId(33)
	.setPrice(219)
	.exec()

This function sets wholesale net price to the product ID 33

const result = await idosellRequest.putProducts
	.productId(33)
	.setPrice(169, "wholesale", true)
	.exec()

This function adds product to selected menu of selected Shop

const result = await idosellRequest.putProducts
	.productId(33)
	.setMenu(1,252)
	.exec()

Sets list of pictures attached to product

const result = await idosellRequest.productId(77)
	.pictures(["https://www.wikipedia.org/portal/wikipedia.org/assets/img/Wikipedia-logo-v2.png"])
	.exec()