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