{
  "opencollection": "1.0.0",
  "info": {
    "name": "Commerce Layer addresses tags API",
    "version": "7.10.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "tags",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the tags associated to the address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/addresses/:addressId/tags",
            "params": [
              {
                "name": "addressId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the address"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the bundle",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/bundles/:bundleId/tags",
            "params": [
              {
                "name": "bundleId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the bundle"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the buy x pay y promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/buy_x_pay_y_promotions/:buyXPayYPromotionId/tags",
            "params": [
              {
                "name": "buyXPayYPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the buy x pay y promotion"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the coupon",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/coupons/:couponId/tags",
            "params": [
              {
                "name": "couponId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the coupon"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customers/:customerId/tags",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the customer"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the external promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/external_promotions/:externalPromotionId/tags",
            "params": [
              {
                "name": "externalPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the external promotion"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the fixed amount promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/fixed_amount_promotions/:fixedAmountPromotionId/tags",
            "params": [
              {
                "name": "fixedAmountPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the fixed amount promotion"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the fixed price promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/fixed_price_promotions/:fixedPricePromotionId/tags",
            "params": [
              {
                "name": "fixedPricePromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the fixed price promotion"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the flex promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/flex_promotions/:flexPromotionId/tags",
            "params": [
              {
                "name": "flexPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the flex promotion"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the free gift promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/free_gift_promotions/:freeGiftPromotionId/tags",
            "params": [
              {
                "name": "freeGiftPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the free gift promotion"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the free shipping promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/free_shipping_promotions/:freeShippingPromotionId/tags",
            "params": [
              {
                "name": "freeShippingPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the free shipping promotion"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the gift card",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/gift_cards/:giftCardId/tags",
            "params": [
              {
                "name": "giftCardId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the gift card"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the line item option",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/line_item_options/:lineItemOptionId/tags",
            "params": [
              {
                "name": "lineItemOptionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the line item option"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the line item",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/line_items/:lineItemId/tags",
            "params": [
              {
                "name": "lineItemId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the line item"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the order subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/order_subscriptions/:orderSubscriptionId/tags",
            "params": [
              {
                "name": "orderSubscriptionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the order subscription"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/tags",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the order"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the percentage discount promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/percentage_discount_promotions/:percentageDiscountPromotionId/tags",
            "params": [
              {
                "name": "percentageDiscountPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the percentage discount promotion"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/promotions/:promotionId/tags",
            "params": [
              {
                "name": "promotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the promotion"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the return",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/returns/:returnId/tags",
            "params": [
              {
                "name": "returnId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the return"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the shipment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipments/:shipmentId/tags",
            "params": [
              {
                "name": "shipmentId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the shipment"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the shipping method",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipping_methods/:shippingMethodId/tags",
            "params": [
              {
                "name": "shippingMethodId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the shipping method"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the SKU option",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/sku_options/:skuOptionId/tags",
            "params": [
              {
                "name": "skuOptionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the SKU option"
        },
        {
          "info": {
            "name": "Retrieve the tags associated to the SKU",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/skus/:skuId/tags",
            "params": [
              {
                "name": "skuId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the tags associated to the SKU"
        },
        {
          "info": {
            "name": "List all tags",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/tags"
          },
          "docs": "List all tags"
        },
        {
          "info": {
            "name": "Create a tag",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your_organization_slug}.commercelayer.io/api/tags",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a tag"
        },
        {
          "info": {
            "name": "Retrieve a tag",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/tags/:tagId",
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve a tag"
        },
        {
          "info": {
            "name": "Update a tag",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{your_organization_slug}.commercelayer.io/api/tags/:tagId",
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a tag"
        },
        {
          "info": {
            "name": "Delete a tag",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{your_organization_slug}.commercelayer.io/api/tags/:tagId",
            "params": [
              {
                "name": "tagId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Delete a tag"
        }
      ]
    }
  ],
  "bundled": true
}