{ "opencollection": "1.0.0", "info": { "name": "Commerce Layer addresses merchants API", "version": "7.10.1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "merchants", "type": "folder" }, "items": [ { "info": { "name": "Retrieve the merchant associated to the market", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/markets/:marketId/merchant", "params": [ { "name": "marketId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the merchant associated to the market" }, { "info": { "name": "List all merchants", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/merchants" }, "docs": "List all merchants" }, { "info": { "name": "Create a merchant", "type": "http" }, "http": { "method": "POST", "url": "https://{your_organization_slug}.commercelayer.io/api/merchants", "body": { "type": "json", "data": "{}" } }, "docs": "Create a merchant" }, { "info": { "name": "Retrieve a merchant", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/merchants/:merchantId", "params": [ { "name": "merchantId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve a merchant" }, { "info": { "name": "Update a merchant", "type": "http" }, "http": { "method": "PATCH", "url": "https://{your_organization_slug}.commercelayer.io/api/merchants/:merchantId", "params": [ { "name": "merchantId", "value": "", "type": "path", "description": "The resource's id" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a merchant" }, { "info": { "name": "Delete a merchant", "type": "http" }, "http": { "method": "DELETE", "url": "https://{your_organization_slug}.commercelayer.io/api/merchants/:merchantId", "params": [ { "name": "merchantId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Delete a merchant" }, { "info": { "name": "Retrieve the merchant associated to the store", "type": "http" }, "http": { "method": "GET", "url": "https://{your_organization_slug}.commercelayer.io/api/stores/:storeId/merchant", "params": [ { "name": "storeId", "value": "", "type": "path", "description": "The resource's id" } ] }, "docs": "Retrieve the merchant associated to the store" } ] } ], "bundled": true }