{
  "opencollection": "1.0.0",
  "info": {
    "name": "Commerce Layer addresses customers API",
    "version": "7.10.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "customers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve the customer associated to the coupon recipient",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/coupon_recipients/:couponRecipientId/customer",
            "params": [
              {
                "name": "couponRecipientId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the customer associated to the coupon recipient"
        },
        {
          "info": {
            "name": "Retrieve the customer associated to the customer address",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customer_addresses/:customerAddressId/customer",
            "params": [
              {
                "name": "customerAddressId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the customer associated to the customer address"
        },
        {
          "info": {
            "name": "Retrieve the customers associated to the customer group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customer_groups/:customerGroupId/customers",
            "params": [
              {
                "name": "customerGroupId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the customers associated to the customer group"
        },
        {
          "info": {
            "name": "Retrieve the customer associated to the customer password reset",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customer_password_resets/:customerPasswordResetId/customer",
            "params": [
              {
                "name": "customerPasswordResetId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the customer associated to the customer password reset"
        },
        {
          "info": {
            "name": "Retrieve the customer associated to the customer payment source",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customer_payment_sources/:customerPaymentSourceId/customer",
            "params": [
              {
                "name": "customerPaymentSourceId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the customer associated to the customer payment source"
        },
        {
          "info": {
            "name": "Retrieve the customer associated to the customer subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customer_subscriptions/:customerSubscriptionId/customer",
            "params": [
              {
                "name": "customerSubscriptionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the customer associated to the customer subscription"
        },
        {
          "info": {
            "name": "List all customers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customers"
          },
          "docs": "List all customers"
        },
        {
          "info": {
            "name": "Create a customer",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customers",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a customer"
        },
        {
          "info": {
            "name": "Retrieve a customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customers/:customerId",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve a customer"
        },
        {
          "info": {
            "name": "Update a customer",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customers/:customerId",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a customer"
        },
        {
          "info": {
            "name": "Delete a customer",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customers/:customerId",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Delete a customer"
        },
        {
          "info": {
            "name": "Retrieve the jwt customer associated to the customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/customers/:customerId/jwt_customer",
            "params": [
              {
                "name": "customerId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the jwt customer associated to the customer"
        },
        {
          "info": {
            "name": "Retrieve the customer associated to the gift card recipient",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/gift_card_recipients/:giftCardRecipientId/customer",
            "params": [
              {
                "name": "giftCardRecipientId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the customer associated to the gift card recipient"
        },
        {
          "info": {
            "name": "Retrieve the customer associated to the in stock subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/in_stock_subscriptions/:inStockSubscriptionId/customer",
            "params": [
              {
                "name": "inStockSubscriptionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the customer associated to the in stock subscription"
        },
        {
          "info": {
            "name": "Retrieve the customer associated to the order subscription",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/order_subscriptions/:orderSubscriptionId/customer",
            "params": [
              {
                "name": "orderSubscriptionId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the customer associated to the order subscription"
        },
        {
          "info": {
            "name": "Retrieve the customer associated to the order",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/orders/:orderId/customer",
            "params": [
              {
                "name": "orderId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the customer associated to the order"
        },
        {
          "info": {
            "name": "Retrieve the jwt customer associated to the price",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/prices/:priceId/jwt_customer",
            "params": [
              {
                "name": "priceId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the jwt customer associated to the price"
        },
        {
          "info": {
            "name": "Retrieve the customer associated to the return",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/returns/:returnId/customer",
            "params": [
              {
                "name": "returnId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the customer associated to the return"
        },
        {
          "info": {
            "name": "Retrieve the customer associated to the SKU list",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/sku_lists/:skuListId/customer",
            "params": [
              {
                "name": "skuListId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the customer associated to the SKU list"
        },
        {
          "info": {
            "name": "Retrieve the jwt customer associated to the SKU",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{your_organization_slug}.commercelayer.io/api/skus/:skuId/jwt_customer",
            "params": [
              {
                "name": "skuId",
                "value": "",
                "type": "path",
                "description": "The resource's id"
              }
            ]
          },
          "docs": "Retrieve the jwt customer associated to the SKU"
        }
      ]
    }
  ],
  "bundled": true
}