putProductsAttachments

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

  • productsAttachments Array<Object>
  • productIdent Object
  • attachments Array<Object>
  • virtualAttachments Array<Object>
  • errors Object
  • attachmentsErrorsOccurred Boolean
  • virtualAttachmentsErrorsOccurred Boolean
Examples

This function adds attachments to a product with the identifier "33" using the given parameters.

const result = await idosellRequest.putProductsAttachments
	.productIdent({"identValue":"33","productIdentType":"id"})
	.attachments([{"attachmentUrl":"https://www.wikipedia.org/portal/wikipedia.org/assets/img/Wikipedia-logo-v2.png","attachmentName":"mpt","langId":"pol","attachmentFileType":"image","attachmentEnable":"all","attachmentDownloadLog":"y"}])
	.exec()