{
  "opencollection": "1.0.0",
  "info": {
    "name": "Commerce Layer addresses stock_locations API",
    "version": "7.10.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "stock_locations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the jwt stock locations associated to the customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customers/:customerId/jwt_stock_locations",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the jwt stock locations associated to the customer"
        },
        {
          "info": {
            "name": "Retrieve the stock location associated to the delivery lead time",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/delivery_lead_times/:deliveryLeadTimeId/stock_location",
            "params": [
              {
                "name": "deliveryLeadTimeId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock location associated to the delivery lead time"
        },
        {
          "info": {
            "name": "Retrieve the stock location associated to the inventory return location",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/inventory_return_locations/:inventoryReturnLocationId/stock_location",
            "params": [
              {
                "name": "inventoryReturnLocationId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock location associated to the inventory return location"
        },
        {
          "info": {
            "name": "Retrieve the stock location associated to the inventory stock location",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/inventory_stock_locations/:inventoryStockLocationId/stock_location",
            "params": [
              {
                "name": "inventoryStockLocationId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock location associated to the inventory stock location"
        },
        {
          "info": {
            "name": "Retrieve the stock location associated to the package",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/packages/:packageId/stock_location",
            "params": [
              {
                "name": "packageId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock location associated to the package"
        },
        {
          "info": {
            "name": "Retrieve the jwt stock locations associated to the price",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/prices/:priceId/jwt_stock_locations",
            "params": [
              {
                "name": "priceId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the jwt stock locations associated to the price"
        },
        {
          "info": {
            "name": "Retrieve the stock location associated to the return",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/returns/:returnId/stock_location",
            "params": [
              {
                "name": "returnId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock location associated to the return"
        },
        {
          "info": {
            "name": "Retrieve the stock location associated to the shipment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipments/:shipmentId/stock_location",
            "params": [
              {
                "name": "shipmentId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock location associated to the shipment"
        },
        {
          "info": {
            "name": "Retrieve the stock location associated to the shipping method",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipping_methods/:shippingMethodId/stock_location",
            "params": [
              {
                "name": "shippingMethodId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock location associated to the shipping method"
        },
        {
          "info": {
            "name": "Retrieve the jwt stock locations associated to the SKU",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/skus/:skuId/jwt_stock_locations",
            "params": [
              {
                "name": "skuId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the jwt stock locations associated to the SKU"
        },
        {
          "info": {
            "name": "Retrieve the stock location associated to the stock item",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_items/:stockItemId/stock_location",
            "params": [
              {
                "name": "stockItemId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock location associated to the stock item"
        },
        {
          "info": {
            "name": "List all stock locations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_locations"
          },
          "docs": "List all stock locations"
        },
        {
          "info": {
            "name": "Create a stock location",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_locations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a stock location"
        },
        {
          "info": {
            "name": "Retrieve a stock location",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_locations/:stockLocationId",
            "params": [
              {
                "name": "stockLocationId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve a stock location"
        },
        {
          "info": {
            "name": "Update a stock location",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_locations/:stockLocationId",
            "params": [
              {
                "name": "stockLocationId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a stock location"
        },
        {
          "info": {
            "name": "Delete a stock location",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_locations/:stockLocationId",
            "params": [
              {
                "name": "stockLocationId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Delete a stock location"
        },
        {
          "info": {
            "name": "Retrieve the origin stock location associated to the stock transfer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_transfers/:stockTransferId/origin_stock_location",
            "params": [
              {
                "name": "stockTransferId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the origin stock location associated to the stock transfer"
        },
        {
          "info": {
            "name": "Retrieve the destination stock location associated to the stock transfer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_transfers/:stockTransferId/destination_stock_location",
            "params": [
              {
                "name": "stockTransferId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the destination stock location associated to the stock transfer"
        },
        {
          "info": {
            "name": "Retrieve the stock location associated to the store",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stores/:storeId/stock_location",
            "params": [
              {
                "name": "storeId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock location associated to the store"
        }
      ]
    }
  ],
  "bundled": true
}