{
  "opencollection": "1.0.0",
  "info": {
    "name": "Commerce Layer addresses shipping_methods API",
    "version": "7.10.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "shipping_methods",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the shipping method associated to the delivery lead time",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/delivery_lead_times/:deliveryLeadTimeId/shipping_method",
            "params": [
              {
                "name": "deliveryLeadTimeId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the shipping method associated to the delivery lead time"
        },
        {
          "info": {
            "name": "Retrieve the default shipping method associated to the market",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/markets/:marketId/default_shipping_method",
            "params": [
              {
                "name": "marketId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the default shipping method associated to the market"
        },
        {
          "info": {
            "name": "Retrieve the default shipping method associated to the order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/default_shipping_method",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the default shipping method associated to the order"
        },
        {
          "info": {
            "name": "Retrieve the shipping method associated to the shipment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipments/:shipmentId/shipping_method",
            "params": [
              {
                "name": "shipmentId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the shipping method associated to the shipment"
        },
        {
          "info": {
            "name": "Retrieve the available shipping methods associated to the shipment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipments/:shipmentId/available_shipping_methods",
            "params": [
              {
                "name": "shipmentId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the available shipping methods associated to the shipment"
        },
        {
          "info": {
            "name": "Retrieve the shipping method associated to the shipping method tier",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipping_method_tiers/:shippingMethodTierId/shipping_method",
            "params": [
              {
                "name": "shippingMethodTierId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the shipping method associated to the shipping method tier"
        },
        {
          "info": {
            "name": "List all shipping methods",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipping_methods"
          },
          "docs": "List all shipping methods"
        },
        {
          "info": {
            "name": "Create a shipping method",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipping_methods",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a shipping method"
        },
        {
          "info": {
            "name": "Retrieve a shipping method",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipping_methods/:shippingMethodId",
            "params": [
              {
                "name": "shippingMethodId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve a shipping method"
        },
        {
          "info": {
            "name": "Update a shipping method",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipping_methods/:shippingMethodId",
            "params": [
              {
                "name": "shippingMethodId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a shipping method"
        },
        {
          "info": {
            "name": "Delete a shipping method",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipping_methods/:shippingMethodId",
            "params": [
              {
                "name": "shippingMethodId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Delete a shipping method"
        },
        {
          "info": {
            "name": "Retrieve the shipping method associated to the shipping weight tier",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipping_weight_tiers/:shippingWeightTierId/shipping_method",
            "params": [
              {
                "name": "shippingWeightTierId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the shipping method associated to the shipping weight tier"
        }
      ]
    }
  ],
  "bundled": true
}