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