{
  "opencollection": "1.0.0",
  "info": {
    "name": "Commerce Layer addresses markets API",
    "version": "7.10.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "markets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the markets associated to the avalara account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/avalara_accounts/:avalaraAccountId/markets",
            "params": [
              {
                "name": "avalaraAccountId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the avalara account"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the bing geocoder",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/bing_geocoders/:bingGeocoderId/markets",
            "params": [
              {
                "name": "bingGeocoderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the bing geocoder"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the bundle",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/bundles/:bundleId/market",
            "params": [
              {
                "name": "bundleId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the bundle"
        },
        {
          "info": {
            "name": "Retrieve the market 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/market",
            "params": [
              {
                "name": "buyXPayYPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the buy x pay y promotion"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the carrier account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/carrier_accounts/:carrierAccountId/market",
            "params": [
              {
                "name": "carrierAccountId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the carrier account"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the customer group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customer_groups/:customerGroupId/markets",
            "params": [
              {
                "name": "customerGroupId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the customer group"
        },
        {
          "info": {
            "name": "Retrieve the jwt markets associated to the customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customers/:customerId/jwt_markets",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the jwt markets associated to the customer"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the discount engine",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/discount_engines/:discountEngineId/markets",
            "params": [
              {
                "name": "discountEngineId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the discount engine"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the external promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/external_promotions/:externalPromotionId/market",
            "params": [
              {
                "name": "externalPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the external promotion"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the external tax calculator",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/external_tax_calculators/:externalTaxCalculatorId/markets",
            "params": [
              {
                "name": "externalTaxCalculatorId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the external tax calculator"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the fixed amount promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/fixed_amount_promotions/:fixedAmountPromotionId/market",
            "params": [
              {
                "name": "fixedAmountPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the fixed amount promotion"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the fixed price promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/fixed_price_promotions/:fixedPricePromotionId/market",
            "params": [
              {
                "name": "fixedPricePromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the fixed price promotion"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the free gift promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/free_gift_promotions/:freeGiftPromotionId/market",
            "params": [
              {
                "name": "freeGiftPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the free gift promotion"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the free shipping promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/free_shipping_promotions/:freeShippingPromotionId/market",
            "params": [
              {
                "name": "freeShippingPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the free shipping promotion"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the geocoder",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/geocoders/:geocoderId/markets",
            "params": [
              {
                "name": "geocoderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the geocoder"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the gift card",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/gift_cards/:giftCardId/market",
            "params": [
              {
                "name": "giftCardId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the gift card"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the google geocoder",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/google_geocoders/:googleGeocoderId/markets",
            "params": [
              {
                "name": "googleGeocoderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the google geocoder"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the in stock subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/in_stock_subscriptions/:inStockSubscriptionId/market",
            "params": [
              {
                "name": "inStockSubscriptionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the in stock subscription"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the manual tax calculator",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/manual_tax_calculators/:manualTaxCalculatorId/markets",
            "params": [
              {
                "name": "manualTaxCalculatorId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the manual tax calculator"
        },
        {
          "info": {
            "name": "List all markets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/markets"
          },
          "docs": "List all markets"
        },
        {
          "info": {
            "name": "Create a market",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your_organization_slug}.commercelayer.io/api/markets",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a market"
        },
        {
          "info": {
            "name": "Retrieve a market",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/markets/:marketId",
            "params": [
              {
                "name": "marketId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve a market"
        },
        {
          "info": {
            "name": "Update a market",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{your_organization_slug}.commercelayer.io/api/markets/:marketId",
            "params": [
              {
                "name": "marketId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a market"
        },
        {
          "info": {
            "name": "Delete a market",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{your_organization_slug}.commercelayer.io/api/markets/:marketId",
            "params": [
              {
                "name": "marketId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Delete a market"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the order subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/order_subscriptions/:orderSubscriptionId/market",
            "params": [
              {
                "name": "orderSubscriptionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the order subscription"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/market",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the order"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the payment method",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/payment_methods/:paymentMethodId/market",
            "params": [
              {
                "name": "paymentMethodId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the payment method"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the percentage discount promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/percentage_discount_promotions/:percentageDiscountPromotionId/market",
            "params": [
              {
                "name": "percentageDiscountPromotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the percentage discount promotion"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the price list scheduler",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/price_list_schedulers/:priceListSchedulerId/market",
            "params": [
              {
                "name": "priceListSchedulerId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the price list scheduler"
        },
        {
          "info": {
            "name": "Retrieve the jwt markets associated to the price",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/prices/:priceId/jwt_markets",
            "params": [
              {
                "name": "priceId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the jwt markets associated to the price"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the promotion",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/promotions/:promotionId/market",
            "params": [
              {
                "name": "promotionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the promotion"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the shipping method",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/shipping_methods/:shippingMethodId/market",
            "params": [
              {
                "name": "shippingMethodId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the shipping method"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the SKU option",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/sku_options/:skuOptionId/market",
            "params": [
              {
                "name": "skuOptionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the SKU option"
        },
        {
          "info": {
            "name": "Retrieve the jwt markets associated to the SKU",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/skus/:skuId/jwt_markets",
            "params": [
              {
                "name": "skuId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the jwt markets associated to the SKU"
        },
        {
          "info": {
            "name": "Retrieve the market associated to the store",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stores/:storeId/market",
            "params": [
              {
                "name": "storeId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the market associated to the store"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the stripe tax account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/stripe_tax_accounts/:stripeTaxAccountId/markets",
            "params": [
              {
                "name": "stripeTaxAccountId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the stripe tax account"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the subscription model",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/subscription_models/:subscriptionModelId/markets",
            "params": [
              {
                "name": "subscriptionModelId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the subscription model"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the talon one account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/talon_one_accounts/:talonOneAccountId/markets",
            "params": [
              {
                "name": "talonOneAccountId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the talon one account"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the tax calculator",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/tax_calculators/:taxCalculatorId/markets",
            "params": [
              {
                "name": "taxCalculatorId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the tax calculator"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the taxjar account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/taxjar_accounts/:taxjarAccountId/markets",
            "params": [
              {
                "name": "taxjarAccountId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the taxjar account"
        },
        {
          "info": {
            "name": "Retrieve the markets associated to the vertex account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/vertex_accounts/:vertexAccountId/markets",
            "params": [
              {
                "name": "vertexAccountId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the markets associated to the vertex account"
        }
      ]
    }
  ],
  "bundled": true
}