setArticleFiles(JSON)
Function: setArticleImages | |
Set Article Files (free download & Paid Downloads) - requires min. Api Version 6.0.14 | |
Request | |
user | xsd:string |
pass | xsd:string |
product_model | xsd:string |
product_external_id | xsd:string |
files | tns:productFiles |
Response | |
result | xsd:boolean |
message | xsd:string |
{ "result":"", "message":"" } |
Beispiel 1 - kostenloser Download (z.B. Produkthandbuch)
Automatischer Download von URL z.b. von Ihrem PIM bei übermittlung einer URL in file_url - wird bei upload über die API muss der inhalt in base64 codiert in "file" übertragen werden.
{ "function": "setArticleFiles", "paras": { "user": "{{api_user}}", "pass": "{{api_password}}", "products_model":"EAN112233445", "external_id":"", "files": [ { "file_name": "Handbuch_Artikel_EAN_EAN112233445.pdf", "file_url": "https://pim.****.com/produkte/Handbuch_Artikel_EAN_EAN112233445.pdf", "file_type":"free", "file_max_downloads":"0", "file_max_download_days":"0", "media_name": { "de": "Name DE", "en": "Name EN" }, "media_description": { "de": "Beschreibung DE", "en": "Description EN" } } ] } }