{
  "opencollection": "1.0.0",
  "info": {
    "name": "Commerce Layer addresses stock_transfers API",
    "version": "7.10.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "stock_transfers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the stock transfers associated to the line item",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/line_items/:lineItemId/stock_transfers",
            "params": [
              {
                "name": "lineItemId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock transfers associated to the line item"
        },
        {
          "info": {
            "name": "Retrieve the stock transfers associated to the order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/stock_transfers",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock transfers associated to the order"
        },
        {
          "info": {
            "name": "Retrieve the stock transfers associated to the shipment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipments/:shipmentId/stock_transfers",
            "params": [
              {
                "name": "shipmentId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock transfers associated to the shipment"
        },
        {
          "info": {
            "name": "Retrieve the stock transfers associated to the stock location",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_locations/:stockLocationId/stock_transfers",
            "params": [
              {
                "name": "stockLocationId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock transfers associated to the stock location"
        },
        {
          "info": {
            "name": "Retrieve the stock transfer associated to the stock reservation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_reservations/:stockReservationId/stock_transfer",
            "params": [
              {
                "name": "stockReservationId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the stock transfer associated to the stock reservation"
        },
        {
          "info": {
            "name": "List all stock transfers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_transfers"
          },
          "docs": "List all stock transfers"
        },
        {
          "info": {
            "name": "Create a stock transfer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_transfers",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a stock transfer"
        },
        {
          "info": {
            "name": "Retrieve a stock transfer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_transfers/:stockTransferId",
            "params": [
              {
                "name": "stockTransferId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve a stock transfer"
        },
        {
          "info": {
            "name": "Update a stock transfer",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_transfers/:stockTransferId",
            "params": [
              {
                "name": "stockTransferId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a stock transfer"
        },
        {
          "info": {
            "name": "Delete a stock transfer",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_transfers/:stockTransferId",
            "params": [
              {
                "name": "stockTransferId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Delete a stock transfer"
        }
      ]
    }
  ],
  "bundled": true
}