{"info":{"_postman_id":"b15704a0-c5a8-4195-8305-c3b9d39a9b23","name":"Product Attachments","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"b15704a0-c5a8-4195-8305-c3b9d39a9b23","publishedId":"T17Na4t5","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-07-13T04:47:53.000Z"},"item":[{"name":"Get Products List","id":"3e300956-d64b-488b-86a2-d0fa51273c9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{magento_base_url}}/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=sku&searchCriteria[filter_groups][0][filters][0][value]=24-WB04&searchCriteria[filter_groups][0][filters][0][condition_type]=eq","urlObject":{"path":["rest","V1","products"],"host":["{{magento_base_url}}"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"sku"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"24-WB04"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}],"variable":[]}},"response":[{"id":"830e8356-53af-4832-ae56-e7a84da2a1ef","name":"Get Products List Example","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer {{admin_token}}","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{magento_base_url}}/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]=sku&searchCriteria[filter_groups][0][filters][0][value]=24-WB04&searchCriteria[filter_groups][0][filters][0][condition_type]=eq","host":["{{magento_base_url}}"],"path":["rest","V1","products"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]","value":"sku"},{"key":"searchCriteria[filter_groups][0][filters][0][value]","value":"24-WB04"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]","value":"eq"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Jul 2020 08:33:37 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=2v21364ej8r1oea60ku50m4916; expires=Tue, 28-Jul-2020 09:33:37 GMT; Max-Age=3600; path=/api/ce235; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"3692"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"469962"},{"key":"Via","value":"1.1 varnish (Varnish/6.1)"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"items\": [\n        {\n            \"id\": 14,\n            \"sku\": \"24-WB04\",\n            \"name\": \"Push It Messenger Bag\",\n            \"attribute_set_id\": 15,\n            \"price\": 45,\n            \"status\": 1,\n            \"visibility\": 4,\n            \"type_id\": \"simple\",\n            \"created_at\": \"2020-06-25 09:08:36\",\n            \"updated_at\": \"2020-06-25 10:01:49\",\n            \"extension_attributes\": {\n                \"website_ids\": [\n                    1\n                ],\n                \"category_links\": [\n                    {\n                        \"position\": 0,\n                        \"category_id\": \"3\"\n                    },\n                    {\n                        \"position\": 0,\n                        \"category_id\": \"7\"\n                    },\n                    {\n                        \"position\": 0,\n                        \"category_id\": \"4\"\n                    }\n                ],\n                \"mp_files\": [\n                    {\n                        \"file_id\": \"2\",\n                        \"file_name\": \"41da6bf69e29f9fc4affb6fd9630c8e0.jpg\",\n                        \"file_icon\": \"http://dev.mageplaza.vn/api/ce235/pub/media/mageplaza/product_attachments/file_icons/default/jpg.png\"\n                    },\n                    {\n                        \"file_id\": \"1\",\n                        \"file_name\": \"file1.jpg\",\n                        \"file_icon\": \"http://dev.mageplaza.vn/api/ce235/pub/media/mageplaza/product_attachments/file_icons/default/jpg.png\"\n                    }\n                ]\n            },\n            \"product_links\": [\n                {\n                    \"sku\": \"24-WB04\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-UG06\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 4\n                },\n                {\n                    \"sku\": \"24-WB04\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-UG02\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 3\n                },\n                {\n                    \"sku\": \"24-WB04\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-UG05\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 2\n                },\n                {\n                    \"sku\": \"24-WB04\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-WG082-pink\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 1\n                },\n                {\n                    \"sku\": \"24-WB04\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB02\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 1\n                },\n                {\n                    \"sku\": \"24-WB04\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-UB02\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 2\n                }\n            ],\n            \"options\": [],\n            \"media_gallery_entries\": [\n                {\n                    \"id\": 18,\n                    \"media_type\": \"image\",\n                    \"label\": \"Image\",\n                    \"position\": 1,\n                    \"disabled\": false,\n                    \"types\": [\n                        \"image\",\n                        \"small_image\",\n                        \"thumbnail\"\n                    ],\n                    \"file\": \"/w/b/wb04-blue-0.jpg\"\n                }\n            ],\n            \"tier_prices\": [],\n            \"custom_attributes\": [\n                {\n                    \"attribute_code\": \"image\",\n                    \"value\": \"/w/b/wb04-blue-0.jpg\"\n                },\n                {\n                    \"attribute_code\": \"small_image\",\n                    \"value\": \"/w/b/wb04-blue-0.jpg\"\n                },\n                {\n                    \"attribute_code\": \"thumbnail\",\n                    \"value\": \"/w/b/wb04-blue-0.jpg\"\n                },\n                {\n                    \"attribute_code\": \"options_container\",\n                    \"value\": \"container2\"\n                },\n                {\n                    \"attribute_code\": \"msrp_display_actual_price_type\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"url_key\",\n                    \"value\": \"push-it-messenger-bag\"\n                },\n                {\n                    \"attribute_code\": \"gift_message_available\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"required_options\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"has_options\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"image_label\",\n                    \"value\": \"Image\"\n                },\n                {\n                    \"attribute_code\": \"small_image_label\",\n                    \"value\": \"Image\"\n                },\n                {\n                    \"attribute_code\": \"thumbnail_label\",\n                    \"value\": \"Image\"\n                },\n                {\n                    \"attribute_code\": \"tax_class_id\",\n                    \"value\": \"2\"\n                },\n                {\n                    \"attribute_code\": \"category_ids\",\n                    \"value\": [\n                        \"3\",\n                        \"7\",\n                        \"4\"\n                    ]\n                },\n                {\n                    \"attribute_code\": \"description\",\n                    \"value\": \"<p>The name says so, but the Push It Messenger Bag is much more than a busy commuter's tote. It's a closet away from home when you're pedaling from class or work to gym and back or home again. It's the perfect size and shape for laptop, folded clothes, even extra shoes.</p>\\r\\n<ul>\\r\\n<li>Adjustable crossbody strap.</li>\\r\\n<li>Top handle.</li>\\r\\n<li>Zippered interior pocket.</li>\\r\\n<li>Secure clip closures.</li>\\r\\n<li>Durable fabric construction.</li>\\r\\n</ul>\"\n                },\n                {\n                    \"attribute_code\": \"activity\",\n                    \"value\": \"5447,5450,5435\"\n                },\n                {\n                    \"attribute_code\": \"style_bags\",\n                    \"value\": \"5454,5455\"\n                },\n                {\n                    \"attribute_code\": \"material\",\n                    \"value\": \"5464,5465\"\n                },\n                {\n                    \"attribute_code\": \"color\",\n                    \"value\": \"5476\"\n                },\n                {\n                    \"attribute_code\": \"strap_bags\",\n                    \"value\": \"5488,5489,5490,5492,5493,5494\"\n                },\n                {\n                    \"attribute_code\": \"features_bags\",\n                    \"value\": \"5501,5502,5505,5506\"\n                },\n                {\n                    \"attribute_code\": \"eco_collection\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"performance_fabric\",\n                    \"value\": \"1\"\n                },\n                {\n                    \"attribute_code\": \"erin_recommends\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"new\",\n                    \"value\": \"0\"\n                },\n                {\n                    \"attribute_code\": \"sale\",\n                    \"value\": \"0\"\n                }\n            ]\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [\n            {\n                \"filters\": [\n                    {\n                        \"field\": \"sku\",\n                        \"value\": \"24-WB04\",\n                        \"condition_type\": \"eq\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"total_count\": 1\n}"}],"_postman_id":"3e300956-d64b-488b-86a2-d0fa51273c9e"},{"name":"Get Product by SKU","id":"31035c92-ba18-483b-82f3-3847445bb0f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{magento_base_url}}/rest/V1/products/:sku","urlObject":{"path":["rest","V1","products",":sku"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"24-WB04","key":"sku"}]}},"response":[{"id":"45fe132c-7772-44e6-94dc-9dc630be1b2e","name":"Get Product by SKU Example","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Bearer {{admin_token}}"},{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{magento_base_url}}/rest/V1/products/:sku","host":["{{magento_base_url}}"],"path":["rest","V1","products",":sku"],"variable":[{"key":"sku","value":"24-WB04"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Jul 2020 08:34:10 GMT"},{"key":"Set-Cookie","value":"PHPSESSID=2v21364ej8r1oea60ku50m4916; expires=Tue, 28-Jul-2020 09:34:10 GMT; Max-Age=3600; path=/api/ce235; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"4186"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"X-Varnish","value":"76767"},{"key":"Via","value":"1.1 varnish (Varnish/6.1)"},{"key":"Pragma","value":"no-cache"},{"key":"Expires","value":"-1"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate, max-age=0"},{"key":"Accept-Ranges","value":"bytes"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 14,\n    \"sku\": \"24-WB04\",\n    \"name\": \"Push It Messenger Bag\",\n    \"attribute_set_id\": 15,\n    \"price\": 45,\n    \"status\": 1,\n    \"visibility\": 4,\n    \"type_id\": \"simple\",\n    \"created_at\": \"2020-06-25 09:08:36\",\n    \"updated_at\": \"2020-06-25 10:01:49\",\n    \"extension_attributes\": {\n        \"website_ids\": [\n            1\n        ],\n        \"category_links\": [\n            {\n                \"position\": 0,\n                \"category_id\": \"3\"\n            },\n            {\n                \"position\": 0,\n                \"category_id\": \"7\"\n            },\n            {\n                \"position\": 0,\n                \"category_id\": \"4\"\n            }\n        ],\n        \"stock_item\": {\n            \"item_id\": 14,\n            \"product_id\": 14,\n            \"stock_id\": 1,\n            \"qty\": 99,\n            \"is_in_stock\": true,\n            \"is_qty_decimal\": false,\n            \"show_default_notification_message\": false,\n            \"use_config_min_qty\": true,\n            \"min_qty\": 0,\n            \"use_config_min_sale_qty\": 1,\n            \"min_sale_qty\": 1,\n            \"use_config_max_sale_qty\": true,\n            \"max_sale_qty\": 10000,\n            \"use_config_backorders\": true,\n            \"backorders\": 0,\n            \"use_config_notify_stock_qty\": true,\n            \"notify_stock_qty\": 1,\n            \"use_config_qty_increments\": true,\n            \"qty_increments\": 0,\n            \"use_config_enable_qty_inc\": true,\n            \"enable_qty_increments\": false,\n            \"use_config_manage_stock\": true,\n            \"manage_stock\": true,\n            \"low_stock_date\": null,\n            \"is_decimal_divided\": false,\n            \"stock_status_changed_auto\": 0\n        },\n        \"mp_files\": [\n            {\n                \"file_id\": \"2\",\n                \"file_name\": \"41da6bf69e29f9fc4affb6fd9630c8e0.jpg\",\n                \"file_icon\": \"http://dev.mageplaza.vn/api/ce235/pub/media/mageplaza/product_attachments/file_icons/default/jpg.png\"\n            },\n            {\n                \"file_id\": \"1\",\n                \"file_name\": \"file1.jpg\",\n                \"file_icon\": \"http://dev.mageplaza.vn/api/ce235/pub/media/mageplaza/product_attachments/file_icons/default/jpg.png\"\n            }\n        ]\n    },\n    \"product_links\": [\n        {\n            \"sku\": \"24-WB04\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-UG06\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 4\n        },\n        {\n            \"sku\": \"24-WB04\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-UG02\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 3\n        },\n        {\n            \"sku\": \"24-WB04\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-UG05\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 2\n        },\n        {\n            \"sku\": \"24-WB04\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-WG082-pink\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 1\n        },\n        {\n            \"sku\": \"24-WB04\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB02\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 1\n        },\n        {\n            \"sku\": \"24-WB04\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-UB02\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 2\n        }\n    ],\n    \"options\": [],\n    \"media_gallery_entries\": [\n        {\n            \"id\": 18,\n            \"media_type\": \"image\",\n            \"label\": \"Image\",\n            \"position\": 1,\n            \"disabled\": false,\n            \"types\": [\n                \"image\",\n                \"small_image\",\n                \"thumbnail\"\n            ],\n            \"file\": \"/w/b/wb04-blue-0.jpg\"\n        }\n    ],\n    \"tier_prices\": [],\n    \"custom_attributes\": [\n        {\n            \"attribute_code\": \"image\",\n            \"value\": \"/w/b/wb04-blue-0.jpg\"\n        },\n        {\n            \"attribute_code\": \"small_image\",\n            \"value\": \"/w/b/wb04-blue-0.jpg\"\n        },\n        {\n            \"attribute_code\": \"thumbnail\",\n            \"value\": \"/w/b/wb04-blue-0.jpg\"\n        },\n        {\n            \"attribute_code\": \"options_container\",\n            \"value\": \"container2\"\n        },\n        {\n            \"attribute_code\": \"msrp_display_actual_price_type\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"url_key\",\n            \"value\": \"push-it-messenger-bag\"\n        },\n        {\n            \"attribute_code\": \"gift_message_available\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"required_options\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"has_options\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"image_label\",\n            \"value\": \"Image\"\n        },\n        {\n            \"attribute_code\": \"small_image_label\",\n            \"value\": \"Image\"\n        },\n        {\n            \"attribute_code\": \"thumbnail_label\",\n            \"value\": \"Image\"\n        },\n        {\n            \"attribute_code\": \"tax_class_id\",\n            \"value\": \"2\"\n        },\n        {\n            \"attribute_code\": \"category_ids\",\n            \"value\": [\n                \"3\",\n                \"7\",\n                \"4\"\n            ]\n        },\n        {\n            \"attribute_code\": \"description\",\n            \"value\": \"<p>The name says so, but the Push It Messenger Bag is much more than a busy commuter's tote. It's a closet away from home when you're pedaling from class or work to gym and back or home again. It's the perfect size and shape for laptop, folded clothes, even extra shoes.</p>\\r\\n<ul>\\r\\n<li>Adjustable crossbody strap.</li>\\r\\n<li>Top handle.</li>\\r\\n<li>Zippered interior pocket.</li>\\r\\n<li>Secure clip closures.</li>\\r\\n<li>Durable fabric construction.</li>\\r\\n</ul>\"\n        },\n        {\n            \"attribute_code\": \"activity\",\n            \"value\": \"5447,5450,5435\"\n        },\n        {\n            \"attribute_code\": \"style_bags\",\n            \"value\": \"5454,5455\"\n        },\n        {\n            \"attribute_code\": \"material\",\n            \"value\": \"5464,5465\"\n        },\n        {\n            \"attribute_code\": \"color\",\n            \"value\": \"5476\"\n        },\n        {\n            \"attribute_code\": \"strap_bags\",\n            \"value\": \"5488,5489,5490,5492,5493,5494\"\n        },\n        {\n            \"attribute_code\": \"features_bags\",\n            \"value\": \"5501,5502,5505,5506\"\n        },\n        {\n            \"attribute_code\": \"eco_collection\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"performance_fabric\",\n            \"value\": \"1\"\n        },\n        {\n            \"attribute_code\": \"erin_recommends\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"new\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"sale\",\n            \"value\": \"0\"\n        }\n    ]\n}"}],"_postman_id":"31035c92-ba18-483b-82f3-3847445bb0f3"},{"name":"Customer Download File","id":"b8963080-ce5b-40ad-86e2-77b8b63b147d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/mpProductAttachment/mine/download/:fileId/:productId","description":"<p>To download the file, click on <strong>Save Response &gt; Save to a file</strong> in the right corner of Respone section.\nUse the following sreenshot as reference: <a href=\"http://prntscr.com/t673y4\">http://prntscr.com/t673y4</a></p>\n","urlObject":{"path":["rest","V1","mpProductAttachment","mine","download",":fileId",":productId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"1","key":"fileId"},{"type":"string","value":"1","key":"productId"}]}},"response":[{"id":"3d3720b7-160c-47d1-b7a7-b53161356f22","name":"Customer Download File Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{customer_token}}","type":"text"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpProductAttachment/mine/download/:fileId/:productId","host":["{{magento_base_url}}"],"path":["rest","V1","mpProductAttachment","mine","download",":fileId",":productId"],"variable":[{"key":"fileId","value":"5"},{"key":"productId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Jun 2020 10:23:35 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Cache-Control","value":"must-revalidate, post-check=0, pre-check=0"},{"key":"Pragma","value":"public"},{"key":"Set-Cookie","value":"PHPSESSID=7i8onjn8d8nhj682e5i94qvoe6; expires=Thu, 25-Jun-2020 11:23:35 GMT; Max-Age=3600; path=/api/ce235; domain=dev.mageplaza.vn; HttpOnly"},{"key":"Content-Length","value":"167"},{"key":"Content-Description","value":"File Transfer"},{"key":"Content-Transfer-Encoding","value":"binary"},{"key":"Content-Disposition","value":"attachment; filename=\"export (1).csv\""},{"key":"Last-Modified","value":"Thu, 25 Jun 2020 10:23:35 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"ID,\"File Label\",\"File Name\",Status,\"Store View\",\"Customer Group\",Priority,\"Created Date\"\n4,\"SampleFile 1\",file.gif,1,0,\"0,1,2,3\",0,\n5,\"SampleFile 2\",\"file 2\",1,0,0,0,\n"}],"_postman_id":"b8963080-ce5b-40ad-86e2-77b8b63b147d"},{"name":"Guest Download File","id":"6faf3dca-e71e-4782-ba4f-de63ee5e1cd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{magento_base_url}}/rest/V1/mpProductAttachment/download/:fileId/:productId","description":"<p>To download the file, click on <strong>Save Response &gt; Save to a file</strong> in the right corner of Respone section.\nUse the following sreenshot as reference: <a href=\"http://prntscr.com/t66w1j\">http://prntscr.com/t66w1j</a></p>\n","urlObject":{"path":["rest","V1","mpProductAttachment","download",":fileId",":productId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"id":"6de4931f-e3e4-40a5-ab29-fece9c272e7e","type":"string","value":"7","key":"fileId"},{"id":"f45a1cf1-0264-4778-8ef0-078a45e49ff0","type":"string","value":"1","key":"productId"}]}},"response":[{"id":"84124f5a-e5c2-43dd-a7f7-395e27beda12","name":"Guest Download File Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":{"raw":"{{magento_base_url}}/rest/V1/mpProductAttachment/download/:fileId/:productId","host":["{{magento_base_url}}"],"path":["rest","V1","mpProductAttachment","download",":fileId",":productId"],"variable":[{"key":"fileId","value":"5"},{"key":"productId","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Jun 2020 10:23:59 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 01 Jan 1970 00:00:00 GMT"},{"key":"Cache-Control","value":"must-revalidate, post-check=0, pre-check=0"},{"key":"Pragma","value":"public"},{"key":"Set-Cookie","value":"PHPSESSID=7i8onjn8d8nhj682e5i94qvoe6; expires=Thu, 25-Jun-2020 11:23:59 GMT; Max-Age=3600; path=/api/ce235; domain=dev.mageplaza.vn; HttpOnly"},{"key":"Content-Length","value":"167"},{"key":"Content-Description","value":"File Transfer"},{"key":"Content-Transfer-Encoding","value":"binary"},{"key":"Content-Disposition","value":"attachment; filename=\"export (1).csv\""},{"key":"Last-Modified","value":"Thu, 25 Jun 2020 10:23:59 GMT"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json; charset=utf-8"}],"cookie":[],"responseTime":null,"body":"ID,\"File Label\",\"File Name\",Status,\"Store View\",\"Customer Group\",Priority,\"Created Date\"\n4,\"SampleFile 1\",file.gif,1,0,\"0,1,2,3\",0,\n5,\"SampleFile 2\",\"file 2\",1,0,0,0,\n"}],"_postman_id":"6faf3dca-e71e-4782-ba4f-de63ee5e1cd8"}],"event":[{"listen":"prerequest","script":{"id":"cdbea0cb-a201-40cc-aa25-33cbe1126ebb","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d3221879-0a7a-4518-9650-1dcb33e259d4","type":"text/javascript","exec":[""]}}]}