postProducts

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

  • settings Object
  • picturesSettings Object
  • products Array<Object>
  • productId Integer
  • productSizeCodeExternal 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
  • priceChangeMode String
  • priceFormula Object
  • productRetailPrice Number
  • productWholesalePrice Number
  • productMinimalPrice Number
  • productAutomaticCalculationPrice Number
  • productPosPrice Number
  • productVat Number
  • productVatFree String
  • productPriceComparisonSitesPrices Array<Object>
  • productEnableInPos String
  • productAdvancePrice Number
  • productNote String
  • productProfitPoints Number
  • productWeight Integer
  • productInVisible String
  • productInPersistent String
  • shopsMask Integer
  • productComplexNotes Integer
  • productInExportToPriceComparisonSites String
  • priceComparisonSites Array<Object>
  • productInExportToAmazonMarketplace String
  • availableProfile Integer
  • productRebate Integer
  • warrantyId Integer
  • productPriority Integer
  • productIcon String
  • productWatermarkId Integer
  • productWatermarkUrl String
  • productPictures Array<String>
  • productDescriptionPictures Array<String>
  • productPromotion Object
  • productDiscount Object
  • productDistinguished Object
  • productSpecial Object
  • productParametersDistinction Array<Object>
  • associatedProducts Array<Object>
  • productSizes Array<Object>
  • productShopsAttributes Array<Object>
  • subscription Array<Object>
  • productNames Object
  • productDescriptions Object
  • productLongDescriptions Object
  • productAuctionDescriptionsData Array<Object>
  • productMetaTitles Object
  • productMetaDescriptions Object
  • productMetaKeywords Object
  • productUrl Object
  • productVersion Object
  • currencyId String
  • delivererId Integer
  • productParametersDistinctionChangeMode 'add'|'delete'|'delete_group'|'replace'
  • productDeliveryTime Object
  • productSumInBasket String
  • dispatchSettings Object
  • standardUnit Object
  • minQuantityPerOrder Object
  • productDimensions Object
  • responsibleProducerCode String
  • responsiblePersonCode String
  • setText text: string, type: "name"|"short"|"long"|"metatitle"|"metadescription"|"metakeywords"|"acutionname"|"auctiondescription", language: string, shopId: number|string
  • addPrice value: number, type: 'retail'|'wholesale'|'pos'|'minimal'|'strikethroughRetail'|'strikethroughWholesale'|'suggested'|'automaticCalculation'
  • setPrice value: number, type: 'retail'|'wholesale'|'pos'|'minimal'|'strikethroughRetail'|'strikethroughWholesale'|'suggested'|'automaticCalculation'
Examples

This function retrieves the products that have the size ID "uniw".

const result = await idosellRequest.postProducts
	.productSizes([{"sizeId":"uniw"}])
	.exec()

This function creates empty product for selected shop

const result = await idosellRequest.postProducts
	.shopsMask(1)
	.exec()

This function creates product with selected retail price

const result = await idosellRequest.shopsMask(1)
	.setPrice(219)
	.exec()

This function creates product with selected wholesale net price

const result = await idosellRequest.shopsMask(1)
	.setPrice(219, "wholesale", true)
	.exec()

This function creates product with selected name

const result = await idosellRequest.postProducts
	.shopsMask(1)
	.setText("My New Product","name")
	.exec()