{
  "opencollection": "1.0.0",
  "info": {
    "name": "Commerce Layer addresses shipments API",
    "version": "7.10.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "shipments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the shipment associated to the easypost pickup",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/easypost_pickups/:easypostPickupId/shipment",
            "params": [
              {
                "name": "easypostPickupId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the shipment associated to the easypost pickup"
        },
        {
          "info": {
            "name": "Retrieve the shipments associated to the order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/shipments",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the shipments associated to the order"
        },
        {
          "info": {
            "name": "Retrieve the shipment associated to the parcel",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/parcels/:parcelId/shipment",
            "params": [
              {
                "name": "parcelId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the shipment associated to the parcel"
        },
        {
          "info": {
            "name": "Retrieve the shipment associated to the pickup",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/pickups/:pickupId/shipment",
            "params": [
              {
                "name": "pickupId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the shipment associated to the pickup"
        },
        {
          "info": {
            "name": "List all shipments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipments"
          },
          "docs": "List all shipments"
        },
        {
          "info": {
            "name": "Create a shipment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipments",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a shipment"
        },
        {
          "info": {
            "name": "Retrieve a shipment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipments/:shipmentId",
            "params": [
              {
                "name": "shipmentId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve a shipment"
        },
        {
          "info": {
            "name": "Update a shipment",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipments/:shipmentId",
            "params": [
              {
                "name": "shipmentId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a shipment"
        },
        {
          "info": {
            "name": "Delete a shipment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipments/:shipmentId",
            "params": [
              {
                "name": "shipmentId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Delete a shipment"
        },
        {
          "info": {
            "name": "Retrieve the shipment associated to the stock line item",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_line_items/:stockLineItemId/shipment",
            "params": [
              {
                "name": "stockLineItemId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the shipment associated to the stock line item"
        },
        {
          "info": {
            "name": "Retrieve the shipment associated to the stock transfer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stock_transfers/:stockTransferId/shipment",
            "params": [
              {
                "name": "stockTransferId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the shipment associated to the stock transfer"
        }
      ]
    }
  ],
  "bundled": true
}