{ "opencollection": "1.0.0", "info": { "name": "Addresses Introduction Account Addresses Product Image Relationships API", "version": "25.1126.6886238" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Product Image Relationships", "type": "folder" }, "items": [ { "info": { "name": "Get Main Image Relationships", "type": "http" }, "http": { "method": "GET", "url": "https://useast.api.elasticpath.com/pcm/products/:productID/relationships/main_image", "params": [ { "name": "productID", "value": "", "type": "path", "description": "A unique identifier for the product." } ] }, "docs": "Get Main Image Relationships" }, { "info": { "name": "Create main image relationships", "type": "http" }, "http": { "method": "POST", "url": "https://useast.api.elasticpath.com/pcm/products/:productID/relationships/main_image", "params": [ { "name": "productID", "value": "", "type": "path", "description": "A unique identifier for the product." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Associates a main image with the specified product." }, { "info": { "name": "Replace Main Image Relationships", "type": "http" }, "http": { "method": "PUT", "url": "https://useast.api.elasticpath.com/pcm/products/:productID/relationships/main_image", "params": [ { "name": "productID", "value": "", "type": "path", "description": "A unique identifier for the product." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replace Main Image Relationships" }, { "info": { "name": "Delete Main Image Relationships", "type": "http" }, "http": { "method": "DELETE", "url": "https://useast.api.elasticpath.com/pcm/products/:productID/relationships/main_image", "params": [ { "name": "productID", "value": "", "type": "path", "description": "A unique identifier for the product." } ] }, "docs": "Delete Main Image Relationships" } ] } ], "bundled": true }