{"info":{"_postman_id":"eada9dd2-7c3b-40af-89be-585c7122e0fe","name":"Magento 2 Custom Stock Status API & Examples","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10589000","collectionId":"eada9dd2-7c3b-40af-89be-585c7122e0fe","publishedId":"SzfCVSAQ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-04-28T03:55:37.000Z"},"item":[{"name":"Get label, image product","id":"8618aaa8-a8c2-4606-8364-2d7931c27fbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_tocken}}","type":"text"}],"url":"{{magento_base_url}}/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]\n=sku&searchCriteria[filter_groups][0][filters][0][value]\n=24-WB01&searchCriteria[filter_groups][0][filters][0][condition_type]\n=eq","urlObject":{"path":["rest","V1","products"],"host":["{{magento_base_url}}"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]\n","value":"sku"},{"key":"searchCriteria[filter_groups][0][filters][0][value]\n","value":"24-WB01"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]\n","value":"eq"}],"variable":[]}},"response":[{"id":"a1a57182-45ae-4f43-8f04-149e04c21cc9","name":"Add label, image Product  Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{admin_tocken}}","type":"text"}],"url":{"raw":"{{magento_base_url}}/rest/V1/products?searchCriteria[filter_groups][0][filters][0][field]\n=sku&searchCriteria[filter_groups][0][filters][0][value]\n=24-WB01&searchCriteria[filter_groups][0][filters][0][condition_type]\n=eq","host":["{{magento_base_url}}"],"path":["rest","V1","products"],"query":[{"key":"searchCriteria[filter_groups][0][filters][0][field]\n","value":"sku"},{"key":"searchCriteria[filter_groups][0][filters][0][value]\n","value":"24-WB01"},{"key":"searchCriteria[filter_groups][0][filters][0][condition_type]\n","value":"eq"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Apr 2020 03:20:40 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Set-Cookie","value":"PHPSESSID=a8tijskit7v29bfldck8g0o7jo; expires=Wed, 01-Apr-2020 04:20:41 GMT; Max-Age=3600; path=/api/api2; domain=dev.mageplaza.vn; HttpOnly"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"5468"},{"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":"{\n    \"items\": [\n        {\n            \"id\": 8,\n            \"sku\": \"24-WB01\",\n            \"name\": \"Voyage Yoga Bag\",\n            \"attribute_set_id\": 15,\n            \"price\": 32,\n            \"status\": 1,\n            \"visibility\": 4,\n            \"type_id\": \"simple\",\n            \"created_at\": \"2020-02-28 03:23:48\",\n            \"updated_at\": \"2020-02-28 03:23:48\",\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\": \"4\"\n                    }\n                ],\n                \"mp_label_data\": [\n                    {\n                        \"id\": 1,\n                        \"name\": \"test\",\n                        \"enabled\": 1,\n                        \"store_ids\": \"0\",\n                        \"customer_group_ids\": \"0,1,2,3\",\n                        \"priority\": 0,\n                        \"label_template\": \"http://dev.mageplaza.vn/api/api2/pub/static/version1585620705/frontend/Magento/luma/en_US/Mageplaza_ProductLabels/images/template/p1/PL_Final_P1-17.png\",\n                        \"label_image\": null,\n                        \"label\": null,\n                        \"label_front\": \"Roboto\",\n                        \"label_font_size\": \"14\",\n                        \"label_color\": \"#FFFFFF\",\n                        \"label_css\": \"#design-label-text {top:32%; left:66%; transform: translateX(-50%) translateY(-50%) rotate(42deg)} #design-labels{margin-top:-8px; margin-left:8px}\",\n                        \"label_position\": \"{\\\"label\\\":{\\\"top\\\":0,\\\"left\\\":126,\\\"width\\\":136,\\\"height\\\":124,\\\"percentTop\\\":0,\\\"percentLeft\\\":100}}\",\n                        \"label_position_grid\": \"tr\",\n                        \"same\": 1,\n                        \"list_template\": \"http://dev.mageplaza.vn/api/api2/pub/static/version1585620705/frontend/Magento/luma/en_US/Mageplaza_ProductLabels/images/template/p1/PL_Final_P1-17.png\",\n                        \"list_image\": null,\n                        \"list_label\": null,\n                        \"list_font\": \"Roboto\",\n                        \"list_font_size\": \"14\",\n                        \"list_color\": \"#FFFFFF\",\n                        \"list_css\": \"#design-label-text {top:32%; left:66%; transform: translateX(-50%) translateY(-50%) rotate(42deg)} #design-labels{margin-top:-8px; margin-left:8px}\",\n                        \"list_position\": \"{\\\"label\\\":{\\\"top\\\":0,\\\"left\\\":126,\\\"width\\\":136,\\\"height\\\":124,\\\"percentTop\\\":0,\\\"percentLeft\\\":100}}\",\n                        \"list_position_grid\": null,\n                        \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\CatalogRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\",\\\"conditions\\\":[{\\\"type\\\":\\\"Magento\\\\\\\\CatalogRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Product\\\",\\\"attribute\\\":\\\"attribute_set_id\\\",\\\"operator\\\":\\\"==\\\",\\\"value\\\":\\\"15\\\",\\\"is_value_processed\\\":false}]}\",\n                        \"best_seller\": 0,\n                        \"limit\": null,\n                        \"from_date\": \"2020-03-01\",\n                        \"to_date\": \"2020-04-30\",\n                        \"stop_process\": 0,\n                        \"updated_at\": \"2020-03-30 06:37:40\",\n                        \"created_at\": \"2020-03-30 06:37:38\"\n                    }\n                ]\n            },\n            \"product_links\": [\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-UG07\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 1\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-WG082-pink\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 2\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-WG087\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 3\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"crosssell\",\n                    \"linked_product_sku\": \"24-WG085_Group\",\n                    \"linked_product_type\": \"grouped\",\n                    \"position\": 4\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB01\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 1\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB03\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 3\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB05\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 4\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB06\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 5\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-MB02\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 2\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-UB02\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 6\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-WB06\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 9\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-WB03\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 7\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-WB07\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 10\n                },\n                {\n                    \"sku\": \"24-WB01\",\n                    \"link_type\": \"upsell\",\n                    \"linked_product_sku\": \"24-WB04\",\n                    \"linked_product_type\": \"simple\",\n                    \"position\": 8\n                }\n            ],\n            \"options\": [],\n            \"media_gallery_entries\": [\n                {\n                    \"id\": 11,\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/wb01-black-0.jpg\"\n                }\n            ],\n            \"tier_prices\": [],\n            \"custom_attributes\": [\n                {\n                    \"attribute_code\": \"image\",\n                    \"value\": \"/w/b/wb01-black-0.jpg\"\n                },\n                {\n                    \"attribute_code\": \"small_image\",\n                    \"value\": \"/w/b/wb01-black-0.jpg\"\n                },\n                {\n                    \"attribute_code\": \"thumbnail\",\n                    \"value\": \"/w/b/wb01-black-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\": \"voyage-yoga-bag\"\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\": \"tax_class_id\",\n                    \"value\": \"2\"\n                },\n                {\n                    \"attribute_code\": \"category_ids\",\n                    \"value\": [\n                        \"3\",\n                        \"4\"\n                    ]\n                },\n                {\n                    \"attribute_code\": \"description\",\n                    \"value\": \"<p>Everything you need for a trip to the gym will fit inside this surprisingly spacious Voyage Yoga Bag. Stock it with a water bottle, change of clothes, pair of shoes, and even a few beauty products. Fits inside a locker and zips shut for security.</p>\\n<ul>\\n<li>Slip pocket on front.</li>\\n<li>Contrast piping.</li>\\n<li>Durable nylon construction.</li>\\n</ul>\"\n                },\n                {\n                    \"attribute_code\": \"activity\",\n                    \"value\": \"5438,5435\"\n                },\n                {\n                    \"attribute_code\": \"style_bags\",\n                    \"value\": \"5456,5457\"\n                },\n                {\n                    \"attribute_code\": \"material\",\n                    \"value\": \"5464,5465\"\n                },\n                {\n                    \"attribute_code\": \"strap_bags\",\n                    \"value\": \"5491,5493\"\n                },\n                {\n                    \"attribute_code\": \"features_bags\",\n                    \"value\": \"5501,5504,5506\"\n                }\n            ]\n        }\n    ],\n    \"search_criteria\": {\n        \"filter_groups\": [\n            {\n                \"filters\": [\n                    {\n                        \"field\": \"sku\",\n                        \"value\": \"24-WB01\",\n                        \"condition_type\": \"eq\"\n                    }\n                ]\n            }\n        ]\n    },\n    \"total_count\": 1\n}"}],"_postman_id":"8618aaa8-a8c2-4606-8364-2d7931c27fbd"},{"name":"Get label, image products SKU","id":"a71058de-2983-40d9-a38a-aa885f585239","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"application/json","type":"text"}],"url":"{{magento_base_url}}/rest/V1/products/24-MB01","urlObject":{"path":["rest","V1","products","24-MB01"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"325494cd-318f-40f1-85ce-98f3987cea33","name":"Add label, image products SKU Example","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"application/json","type":"text"}],"url":"{{magento_base_url}}/rest/V1/products/24-MB01"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Apr 2020 03:21:23 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=a8tijskit7v29bfldck8g0o7jo; expires=Wed, 01-Apr-2020 04:21:24 GMT; Max-Age=3600; path=/api/api2; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"6954"},{"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":"{\n    \"id\": 1,\n    \"sku\": \"24-MB01\",\n    \"name\": \"Joust Duffle Bag\",\n    \"attribute_set_id\": 15,\n    \"price\": 34,\n    \"status\": 1,\n    \"visibility\": 4,\n    \"type_id\": \"simple\",\n    \"created_at\": \"2020-02-28 03:23:47\",\n    \"updated_at\": \"2020-03-30 09:17:21\",\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\": \"4\"\n            }\n        ],\n        \"stock_item\": {\n            \"item_id\": 1,\n            \"product_id\": 1,\n            \"stock_id\": 1,\n            \"qty\": 1000,\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_label_data\": [\n            {\n                \"id\": 1,\n                \"name\": \"test\",\n                \"enabled\": 1,\n                \"store_ids\": \"0\",\n                \"customer_group_ids\": \"0,1,2,3\",\n                \"priority\": 0,\n                \"label_template\": \"http://dev.mageplaza.vn/api/api2/pub/static/version1585620705/frontend/Magento/luma/en_US/Mageplaza_ProductLabels/images/template/p1/PL_Final_P1-17.png\",\n                \"label_image\": null,\n                \"label\": null,\n                \"label_front\": \"Roboto\",\n                \"label_font_size\": \"14\",\n                \"label_color\": \"#FFFFFF\",\n                \"label_css\": \"#design-label-text {top:32%; left:66%; transform: translateX(-50%) translateY(-50%) rotate(42deg)} #design-labels{margin-top:-8px; margin-left:8px}\",\n                \"label_position\": \"{\\\"label\\\":{\\\"top\\\":0,\\\"left\\\":126,\\\"width\\\":136,\\\"height\\\":124,\\\"percentTop\\\":0,\\\"percentLeft\\\":100}}\",\n                \"label_position_grid\": \"tr\",\n                \"same\": 1,\n                \"list_template\": \"http://dev.mageplaza.vn/api/api2/pub/static/version1585620705/frontend/Magento/luma/en_US/Mageplaza_ProductLabels/images/template/p1/PL_Final_P1-17.png\",\n                \"list_image\": null,\n                \"list_label\": null,\n                \"list_font\": \"Roboto\",\n                \"list_font_size\": \"14\",\n                \"list_color\": \"#FFFFFF\",\n                \"list_css\": \"#design-label-text {top:32%; left:66%; transform: translateX(-50%) translateY(-50%) rotate(42deg)} #design-labels{margin-top:-8px; margin-left:8px}\",\n                \"list_position\": \"{\\\"label\\\":{\\\"top\\\":0,\\\"left\\\":126,\\\"width\\\":136,\\\"height\\\":124,\\\"percentTop\\\":0,\\\"percentLeft\\\":100}}\",\n                \"list_position_grid\": null,\n                \"conditions_serialized\": \"{\\\"type\\\":\\\"Magento\\\\\\\\CatalogRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Combine\\\",\\\"attribute\\\":null,\\\"operator\\\":null,\\\"value\\\":\\\"1\\\",\\\"is_value_processed\\\":null,\\\"aggregator\\\":\\\"all\\\",\\\"conditions\\\":[{\\\"type\\\":\\\"Magento\\\\\\\\CatalogRule\\\\\\\\Model\\\\\\\\Rule\\\\\\\\Condition\\\\\\\\Product\\\",\\\"attribute\\\":\\\"attribute_set_id\\\",\\\"operator\\\":\\\"==\\\",\\\"value\\\":\\\"15\\\",\\\"is_value_processed\\\":false}]}\",\n                \"best_seller\": 0,\n                \"limit\": null,\n                \"from_date\": \"2020-03-01\",\n                \"to_date\": \"2020-04-30\",\n                \"stop_process\": 0,\n                \"updated_at\": \"2020-03-30 06:37:40\",\n                \"created_at\": \"2020-03-30 06:37:38\"\n            }\n        ],\n        \"mp_stock_status_label\": \"abc\",\n        \"mp_stock_status_image\": \"http://dev.mageplaza.vn/api/api2/pub/media/attribute/swatch/swatch_thumb/110x90/4/_/4.jpg\"\n    },\n    \"product_links\": [\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"related\",\n            \"linked_product_sku\": \"24-MB04\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 1\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"related\",\n            \"linked_product_sku\": \"24-MB03\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 2\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"related\",\n            \"linked_product_sku\": \"24-MB05\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 3\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"related\",\n            \"linked_product_sku\": \"24-MB06\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 4\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-UG01\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 3\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-WG083-blue\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 2\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-WG086\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 1\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"crosssell\",\n            \"linked_product_sku\": \"24-WG085_Group\",\n            \"linked_product_type\": \"grouped\",\n            \"position\": 4\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB03\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 2\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB05\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 3\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB06\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 4\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-MB02\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 1\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-UB02\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 5\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-WB03\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 6\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-WB07\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 8\n        },\n        {\n            \"sku\": \"24-MB01\",\n            \"link_type\": \"upsell\",\n            \"linked_product_sku\": \"24-WB04\",\n            \"linked_product_type\": \"simple\",\n            \"position\": 7\n        }\n    ],\n    \"options\": [],\n    \"media_gallery_entries\": [\n        {\n            \"id\": 1,\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\": \"/m/b/mb01-blue-0.jpg\"\n        }\n    ],\n    \"tier_prices\": [],\n    \"custom_attributes\": [\n        {\n            \"attribute_code\": \"image\",\n            \"value\": \"/m/b/mb01-blue-0.jpg\"\n        },\n        {\n            \"attribute_code\": \"small_image\",\n            \"value\": \"/m/b/mb01-blue-0.jpg\"\n        },\n        {\n            \"attribute_code\": \"thumbnail\",\n            \"value\": \"/m/b/mb01-blue-0.jpg\"\n        },\n        {\n            \"attribute_code\": \"options_container\",\n            \"value\": \"container1\"\n        },\n        {\n            \"attribute_code\": \"msrp_display_actual_price_type\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"url_key\",\n            \"value\": \"joust-duffle-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\": \"0\"\n        },\n        {\n            \"attribute_code\": \"mp_stock_status\",\n            \"value\": \"5640\"\n        },\n        {\n            \"attribute_code\": \"mp_dynamic_groups\",\n            \"value\": \"5639\"\n        },\n        {\n            \"attribute_code\": \"mp_productalerts_stock_notify\",\n            \"value\": \"1\"\n        },\n        {\n            \"attribute_code\": \"mp_productalerts_price_alert\",\n            \"value\": \"1\"\n        },\n        {\n            \"attribute_code\": \"ts_packaging_type\",\n            \"value\": \"none\"\n        },\n        {\n            \"attribute_code\": \"category_ids\",\n            \"value\": [\n                \"3\",\n                \"4\"\n            ]\n        },\n        {\n            \"attribute_code\": \"description\",\n            \"value\": \"<p>The sporty Joust Duffle Bag can't be beat - not in the gym, not on the luggage carousel, not anywhere. Big enough to haul a basketball or soccer ball and some sneakers with plenty of room to spare, it's ideal for athletes with places to go.<p>\\r\\n<ul>\\r\\n<li>Dual top handles.</li>\\r\\n<li>Adjustable shoulder strap.</li>\\r\\n<li>Full-length zipper.</li>\\r\\n<li>L 29\\\" x W 13\\\" x H 11\\\".</li>\\r\\n</ul>\"\n        },\n        {\n            \"attribute_code\": \"news_from_date\",\n            \"value\": \"2020-02-29 00:00:00\"\n        },\n        {\n            \"attribute_code\": \"color\",\n            \"value\": \"5476\"\n        },\n        {\n            \"attribute_code\": \"eco_collection\",\n            \"value\": \"0\"\n        },\n        {\n            \"attribute_code\": \"performance_fabric\",\n            \"value\": \"0\"\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":"a71058de-2983-40d9-a38a-aa885f585239"},{"name":"Carts","id":"befda35b-2803-4953-af1f-221c322309ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":"{{magento_base_url}}/rest/V1/carts/:cartId","urlObject":{"path":["rest","V1","carts",":cartId"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"31","key":"cartId"}]}},"response":[{"id":"da3c3e27-6fd9-4aae-9f86-eb45aae33a5d","name":"Carts Example","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"url":{"raw":"{{magento_base_url}}/rest/V1/carts/:cartId","host":["{{magento_base_url}}"],"path":["rest","V1","carts",":cartId"],"variable":[{"key":"cartId","value":"31"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Apr 2020 07:18:22 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=j3psdliau3gq47fmq2cj287r9l; expires=Wed, 01-Apr-2020 08:18:22 GMT; Max-Age=3600; path=/api/api2; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"1912"},{"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":"{\n    \"id\": 31,\n    \"created_at\": \"2020-04-01 04:09:14\",\n    \"updated_at\": \"2020-04-01 04:09:14\",\n    \"is_active\": true,\n    \"is_virtual\": false,\n    \"items\": [],\n    \"items_count\": 0,\n    \"items_qty\": 0,\n    \"customer\": {\n        \"id\": 1,\n        \"group_id\": 1,\n        \"default_billing\": \"1\",\n        \"default_shipping\": \"1\",\n        \"created_at\": \"2020-02-28 03:28:43\",\n        \"updated_at\": \"2020-03-11 07:23:27\",\n        \"created_in\": \"Default Store View\",\n        \"dob\": \"1973-12-15\",\n        \"email\": \"roni_cost@example.com\",\n        \"firstname\": \"Veronica\",\n        \"lastname\": \"Costello\",\n        \"gender\": 2,\n        \"store_id\": 1,\n        \"website_id\": 1,\n        \"addresses\": [\n            {\n                \"id\": 1,\n                \"customer_id\": 1,\n                \"region\": {\n                    \"region_code\": \"MI\",\n                    \"region\": \"Michigan\",\n                    \"region_id\": 33\n                },\n                \"region_id\": 33,\n                \"country_id\": \"US\",\n                \"street\": [\n                    \"6146 Honey Bluff Parkway\"\n                ],\n                \"telephone\": \"(555) 229-3326\",\n                \"postcode\": \"49628-7978\",\n                \"city\": \"Calder\",\n                \"firstname\": \"Veronica\",\n                \"lastname\": \"Costello\",\n                \"default_shipping\": true,\n                \"default_billing\": true\n            },\n            {\n                \"id\": 3,\n                \"customer_id\": 1,\n                \"region\": {\n                    \"region_code\": \"MI\",\n                    \"region\": \"Michigan\",\n                    \"region_id\": 33\n                },\n                \"region_id\": 33,\n                \"country_id\": \"US\",\n                \"street\": [\n                    \"6146 Honey Bluff Parkway\"\n                ],\n                \"telephone\": \"(555) 229-3326\",\n                \"postcode\": \"49628-7978\",\n                \"city\": \"Calder\",\n                \"firstname\": \"Veronica\",\n                \"lastname\": \"Costello\"\n            }\n        ],\n        \"disable_auto_group_change\": 0,\n        \"extension_attributes\": {\n            \"is_subscribed\": false\n        }\n    },\n    \"billing_address\": {\n        \"id\": 134,\n        \"region\": \"Michigan\",\n        \"region_id\": 33,\n        \"region_code\": \"MI\",\n        \"country_id\": \"US\",\n        \"street\": [\n            \"6146 Honey Bluff Parkway\"\n        ],\n        \"telephone\": \"(555) 229-3326\",\n        \"postcode\": \"49628-7978\",\n        \"city\": \"Calder\",\n        \"firstname\": \"Veronica\",\n        \"lastname\": \"Costello\",\n        \"customer_id\": 1,\n        \"email\": \"roni_cost@example.com\",\n        \"same_as_billing\": 0,\n        \"customer_address_id\": 1,\n        \"save_in_address_book\": 0\n    },\n    \"orig_order_id\": 0,\n    \"currency\": {\n        \"global_currency_code\": \"USD\",\n        \"base_currency_code\": \"USD\",\n        \"store_currency_code\": \"USD\",\n        \"quote_currency_code\": \"USD\",\n        \"store_to_base_rate\": 0,\n        \"store_to_quote_rate\": 0,\n        \"base_to_global_rate\": 1,\n        \"base_to_quote_rate\": 1\n    },\n    \"customer_is_guest\": false,\n    \"customer_note_notify\": true,\n    \"customer_tax_class_id\": 3,\n    \"store_id\": 1,\n    \"extension_attributes\": {\n        \"shipping_assignments\": []\n    }\n}"}],"_postman_id":"befda35b-2803-4953-af1f-221c322309ca"},{"name":"Get label, image guest","id":"cbbf48d0-936d-4364-9830-bef8709c72b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"{{magento_base_url}}/rest/V1/guest-carts/:cartId/items","urlObject":{"path":["rest","V1","guest-carts",":cartId","items"],"host":["{{magento_base_url}}"],"query":[],"variable":[{"type":"string","value":"VW1arxo4viTw0W5Q953lsTHUbqkVYRea","key":"cartId"}]}},"response":[{"id":"6360d9c8-1e0b-4ee2-96cb-35b7fb04e10b","name":"Get label, image guest Example","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{magento_base_url}}/rest/V1/guest-carts/:cartId/items","host":["{{magento_base_url}}"],"path":["rest","V1","guest-carts",":cartId","items"],"variable":[{"key":"cartId","value":"VW1arxo4viTw0W5Q953lsTHUbqkVYRea"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Apr 2020 07:46:49 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=j3psdliau3gq47fmq2cj287r9l; expires=Wed, 01-Apr-2020 08:46:49 GMT; Max-Age=3600; path=/api/api2; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"336"},{"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":"[\n    {\n        \"item_id\": 79,\n        \"sku\": \"24-WB04\",\n        \"qty\": 1,\n        \"name\": \"Push It Messenger Bag\",\n        \"price\": 45,\n        \"product_type\": \"simple\",\n        \"quote_id\": \"VW1arxo4viTw0W5Q953lsTHUbqkVYRea\",\n        \"extension_attributes\": {\n            \"mp_stock_status_label\": \"abc\",\n            \"mp_stock_status_image\": \"http://dev.mageplaza.vn/api/api2/pub/media/attribute/swatch/swatch_thumb/110x90/4/_/4.jpg\"\n        }\n    }\n]"}],"_postman_id":"cbbf48d0-936d-4364-9830-bef8709c72b5"},{"name":"Customer Token","id":"6532b094-e782-4a60-9e1d-5cb89756c9bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"username\":\"roni_cost@example.com\",\r\n\"password\":\"roni_cost3@example.com\"\r\n}"},"url":"{{magento_base_url}}/rest/V1/integration/customer/token","urlObject":{"path":["rest","V1","integration","customer","token"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"8c9a449b-37d5-46b2-a8f1-b4a8b13f18c9","name":"Customer Token Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\"username\":\"roni_cost@example.com\",\r\n\"password\":\"roni_cost3@example.com\"\r\n}"},"url":"{{magento_base_url}}/rest/V1/integration/customer/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Apr 2020 07:16:03 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=j3psdliau3gq47fmq2cj287r9l; expires=Wed, 01-Apr-2020 08:16:04 GMT; Max-Age=3600; path=/api/api2; domain=dev.mageplaza.vn; HttpOnly"},{"key":"Set-Cookie","value":"persistent_shopping_cart=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/api/api2; HttpOnly"},{"key":"Set-Cookie","value":"form_key=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/api/api2; domain=dev.mageplaza.vn"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"34"},{"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":"\"hktfw361d3ygna83oa32dczpbxnqv2q8\""}],"_postman_id":"6532b094-e782-4a60-9e1d-5cb89756c9bc"},{"name":"Add item to the cart","id":"9a733f2b-f2b8-423a-8007-c1af205eaaa9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{magento_base_url}}/rest/V1/carts/mine","urlObject":{"path":["rest","V1","carts","mine"],"host":["{{magento_base_url}}"],"query":[],"variable":[]}},"response":[{"id":"e0496f09-8a13-41b3-b60a-000616b9b435","name":"Add item to the cart Example","originalRequest":{"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"}],"url":"{{magento_base_url}}/rest/V1/carts/mine"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Apr 2020 07:21:08 GMT"},{"key":"Server","value":"Apache/2.4.38 (Ubuntu)"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=j3psdliau3gq47fmq2cj287r9l; expires=Wed, 01-Apr-2020 08:21:08 GMT; Max-Age=3600; path=/api/api2; domain=dev.mageplaza.vn; HttpOnly"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"Content-Length","value":"2"},{"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":"31"}],"_postman_id":"9a733f2b-f2b8-423a-8007-c1af205eaaa9"}]}