---
title: Fetch Customer Products
slug: fetch-customer-products
docTags: 
createdAt: 2026-08-25T19:28:59.170Z
---

{
  "id": "2FotSjesATWzdzud_hmqV",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.nue.io/customers/{customerId}/products",
    "servers": [
      {
        "url": "https://api.nue.io/customers/{customerId}/products",
        "description": "**Production Environment** - Live production server for all customer-facing operations. Use this for production integrations with real customer data and transactions."
      },
      {
        "url": "https://api.sandbox.nue.io/customers/{customerId}/products",
        "description": "**Sandbox Environment** - Safe testing environment with sample data for development and integration testing. No rate limits apply. Data is reset weekly. Perfect for prototyping and QA testing."
      }
    ],
    "name": "Fetch Customer Products",
    "description": "<p>Returns the published product catalog filtered to only the price book entries relevant to a specific customer based on their account-level pricing attributes.</p>\n<p>This endpoint fetches the customer record and the full catalog in parallel, then evaluates each price book entry's pricing attribute mappings against the customer's account fields. Products with zero matching price book entries are excluded. Bundle product options are filtered by the same rules.</p>\n<p><strong>Filtering rules:</strong></p>\n<ul>\n<li>PBEs with no pricing attributes are universal (always included)</li>\n<li>Only Account-level mappings (<code>Quote.AccountId.*</code>) are evaluated</li>\n<li><code>__ANY__</code> wildcard values always match</li>\n<li>All account-level conditions must match for a PBE to be included</li>\n<li>Quote-level mappings are ignored (evaluated at order time)</li>\n</ul>\n<p>The response shape is identical to <code>GET /catalog/products</code>.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "customerId",
          "type": "string",
          "description": "<p>The customer ID (Nue ID or Salesforce external ID).</p>"
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "productIds",
          "type": "string",
          "example": "[\"01tQC00000Iu1ofYAB\",\"01tQC00000KBr8jYAD\",\"01tQC00000KVUXlYAP\"]",
          "description": "<p>Restricts the response to the named products, given as a JSON array of product IDs (for example <code>[\"01tQC00000Iu1ofYAB\",\"01tQC00000KBr8jYAD\"]</code>). When supplied, each product is fetched individually rather than reading the entire published catalog, which keeps large catalogs within the upstream response size limit. Omit the parameter to return the whole catalog as before.</p>\n<p>Notes:</p>\n<ul>\n<li>Values are product IDs, not SKUs. Double quotes are required; an empty array, a value that is not valid JSON, or a non-string element returns 400 INVALID_PARAMETER.</li>\n<li>Repeated IDs are de-duplicated to a single lookup.</li>\n<li>An ID that cannot be resolved, or a product with no price book entry matching the customer, does not fail the request. Those IDs are reported in a PRODUCTS_NOT_FOUND warning and omitted from <code>data</code>.</li>\n<li>Customer pricing-attribute filtering is applied exactly as it is without this parameter.</li>\n</ul>"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "ApiKeyAuth",
          "name": "nue-api-key",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "<p>Customer-filtered product catalog returned successfully.</p>",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "status",
                "kind": "optional",
                "type": "string",
                "description": "<p>Request status (SUCCESS or ERROR).</p>"
              },
              {
                "name": "data",
                "kind": "optional",
                "type": "array",
                "description": "",
                "example": "",
                "itemType": "object",
                "customType": "object[]",
                "schema": [
                  {
                    "name": "autoRenew",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "<p>Indicates if the product auto-renews</p>"
                  },
                  {
                    "name": "billingTiming",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Timing of billing (e.g., In Advance)</p>"
                  },
                  {
                    "name": "bundleTemplate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Template used for the product bundle"
                  },
                  {
                    "name": "carvesEligible",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Indicates if the product is eligible for carves"
                  },
                  {
                    "name": "configurable",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Indicates if the product is configurable"
                  },
                  {
                    "name": "customFields",
                    "kind": "optional",
                    "type": "object",
                    "description": "Custom fields associated with the product",
                    "example": "",
                    "schema": []
                  },
                  {
                    "name": "defaultRenewalTerm",
                    "kind": "optional",
                    "type": "number",
                    "description": "Default renewal term in months"
                  },
                  {
                    "name": "defaultSubscriptionTerm",
                    "kind": "optional",
                    "type": "number",
                    "description": "Default subscription term in months"
                  },
                  {
                    "name": "description",
                    "kind": "optional",
                    "type": "string",
                    "description": "Description of the product"
                  },
                  {
                    "name": "evergreen",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Indicates if the product is evergreen"
                  },
                  {
                    "name": "freeTrialType",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Type of free trial (e.g., Days)</p>"
                  },
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "string",
                    "description": "Unique identifier for the product"
                  },
                  {
                    "name": "imageUrl",
                    "kind": "optional",
                    "type": "string",
                    "description": "URL of the product image"
                  },
                  {
                    "name": "lastPublishedById",
                    "kind": "optional",
                    "type": "string",
                    "description": "ID of the user who last published the product"
                  },
                  {
                    "name": "lastPublishedDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Date of the last publication"
                  },
                  {
                    "name": "name",
                    "kind": "optional",
                    "type": "string",
                    "description": "Name of the product"
                  },
                  {
                    "name": "priceBookEntries",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "schema": [
                      {
                        "name": "active",
                        "kind": "optional",
                        "type": "boolean",
                        "description": "Indicates if the price book entry is active"
                      },
                      {
                        "name": "billingTiming",
                        "kind": "optional",
                        "type": "string",
                        "description": "Billing timing for the price book entry"
                      },
                      {
                        "name": "currencyIsoCode",
                        "kind": "optional",
                        "type": "string",
                        "description": "ISO code of the currency"
                      },
                      {
                        "name": "id",
                        "kind": "optional",
                        "type": "string",
                        "description": "Unique identifier for the price book entry"
                      },
                      {
                        "name": "listPrice",
                        "kind": "optional",
                        "type": "number",
                        "description": "List price for the entry"
                      },
                      {
                        "name": "priceBookId",
                        "kind": "optional",
                        "type": "string",
                        "description": "ID of the associated price book"
                      },
                      {
                        "name": "pricingAttributes",
                        "kind": "optional",
                        "type": "array",
                        "description": "Array of pricing attributes",
                        "example": "",
                        "itemType": "object",
                        "customType": "object[]",
                        "schema": [
                          {
                            "name": "description",
                            "kind": "optional",
                            "type": "string",
                            "description": "Description of the pricing attribute"
                          },
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "string",
                            "description": "Unique identifier for the pricing attribute"
                          },
                          {
                            "name": "label",
                            "kind": "optional",
                            "type": "string",
                            "description": "Label for the pricing attribute"
                          },
                          {
                            "name": "name",
                            "kind": "optional",
                            "type": "string",
                            "description": "Name of the pricing attribute"
                          },
                          {
                            "name": "value",
                            "kind": "optional",
                            "type": "string",
                            "description": "Value of the pricing attribute"
                          }
                        ]
                      },
                      {
                        "name": "recommended",
                        "kind": "optional",
                        "type": "boolean",
                        "description": "Indicates if the price book entry is recommended"
                      },
                      {
                        "name": "uom",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "example": "",
                        "schema": [
                          {
                            "name": "decimalScale",
                            "kind": "optional",
                            "type": "number",
                            "description": "Decimal scale for the unit of measure"
                          },
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "string",
                            "description": "ID of the unit of measure"
                          },
                          {
                            "name": "name",
                            "kind": "optional",
                            "type": "string",
                            "description": "Name of the unit of measure"
                          },
                          {
                            "name": "quantityDimension",
                            "kind": "optional",
                            "type": "string",
                            "description": "Quantity dimension for the unit"
                          },
                          {
                            "name": "roundingMode",
                            "kind": "optional",
                            "type": "string",
                            "description": "Rounding mode for pricing"
                          },
                          {
                            "name": "termDimension",
                            "kind": "optional",
                            "type": "string",
                            "description": "<p>Term dimension for the unit (optional)</p>"
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "name": "priceModel",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Pricing model of the product (e.g., Recurring, OneTime)</p>"
                  },
                  {
                    "name": "productCategory",
                    "kind": "optional",
                    "type": "string",
                    "description": "Category of the product"
                  },
                  {
                    "name": "productFeatures",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "schema": [
                      {
                        "name": "featureDescription",
                        "kind": "optional",
                        "type": "string",
                        "description": "Description of the feature"
                      },
                      {
                        "name": "featureName",
                        "kind": "optional",
                        "type": "string",
                        "description": "Name of the feature"
                      },
                      {
                        "name": "featureOrder",
                        "kind": "optional",
                        "type": "number",
                        "description": "Order of the feature"
                      },
                      {
                        "name": "id",
                        "kind": "optional",
                        "type": "string",
                        "description": "Unique identifier for the feature"
                      },
                      {
                        "name": "name",
                        "kind": "optional",
                        "type": "string",
                        "description": "Name of the product feature"
                      },
                      {
                        "name": "productOptions",
                        "kind": "optional",
                        "type": "array",
                        "description": "Array of product options associated with the feature",
                        "example": "",
                        "itemType": "string",
                        "customType": "string[]",
                        "itemExample": "",
                        "itemDefault": ""
                      }
                    ]
                  },
                  {
                    "name": "productOptions",
                    "kind": "optional",
                    "type": "array",
                    "description": "Array of product options",
                    "example": "",
                    "itemType": "string",
                    "customType": "string[]",
                    "itemExample": "",
                    "itemDefault": ""
                  },
                  {
                    "name": "productPriceTags",
                    "kind": "optional",
                    "type": "array",
                    "description": "",
                    "example": "",
                    "itemType": "object",
                    "customType": "object[]",
                    "schema": [
                      {
                        "name": "active",
                        "kind": "optional",
                        "type": "boolean",
                        "description": "Indicates if the price tag is active"
                      },
                      {
                        "name": "id",
                        "kind": "optional",
                        "type": "string",
                        "description": "Unique identifier for the price tag"
                      },
                      {
                        "name": "name",
                        "kind": "optional",
                        "type": "string",
                        "description": "Name of the price tag"
                      },
                      {
                        "name": "priceBookEntry",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "example": "",
                        "schema": [
                          {
                            "name": "active",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "Indicates if the price book entry is active"
                          },
                          {
                            "name": "billingTiming",
                            "kind": "optional",
                            "type": "string",
                            "description": "Billing timing for the price book entry"
                          },
                          {
                            "name": "currencyIsoCode",
                            "kind": "optional",
                            "type": "string",
                            "description": "ISO code of the currency"
                          },
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "string",
                            "description": "Unique identifier for the price book entry"
                          },
                          {
                            "name": "listPrice",
                            "kind": "optional",
                            "type": "number",
                            "description": "List price for the entry"
                          },
                          {
                            "name": "priceBookId",
                            "kind": "optional",
                            "type": "string",
                            "description": "ID of the associated price book"
                          },
                          {
                            "name": "pricingAttributes",
                            "kind": "optional",
                            "type": "array",
                            "description": "Array of pricing attributes",
                            "example": "",
                            "itemType": "object",
                            "customType": "object[]",
                            "schema": [
                              {
                                "name": "description",
                                "kind": "optional",
                                "type": "string",
                                "description": "Description of the pricing attribute"
                              },
                              {
                                "name": "id",
                                "kind": "optional",
                                "type": "string",
                                "description": "Unique identifier for the pricing attribute"
                              },
                              {
                                "name": "label",
                                "kind": "optional",
                                "type": "string",
                                "description": "Label for the pricing attribute"
                              },
                              {
                                "name": "name",
                                "kind": "optional",
                                "type": "string",
                                "description": "Name of the pricing attribute"
                              },
                              {
                                "name": "value",
                                "kind": "optional",
                                "type": "string",
                                "description": "Value of the pricing attribute"
                              }
                            ]
                          },
                          {
                            "name": "recommended",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "Indicates if the price book entry is recommended"
                          },
                          {
                            "name": "uom",
                            "kind": "optional",
                            "type": "object",
                            "description": "",
                            "example": "",
                            "schema": [
                              {
                                "name": "decimalScale",
                                "kind": "optional",
                                "type": "number",
                                "description": "Decimal scale for the unit of measure"
                              },
                              {
                                "name": "id",
                                "kind": "optional",
                                "type": "string",
                                "description": "ID of the unit of measure"
                              },
                              {
                                "name": "name",
                                "kind": "optional",
                                "type": "string",
                                "description": "Name of the unit of measure"
                              },
                              {
                                "name": "quantityDimension",
                                "kind": "optional",
                                "type": "string",
                                "description": "Quantity dimension for the unit"
                              },
                              {
                                "name": "roundingMode",
                                "kind": "optional",
                                "type": "string",
                                "description": "Rounding mode for pricing"
                              },
                              {
                                "name": "termDimension",
                                "kind": "optional",
                                "type": "string",
                                "description": "<p>Term dimension for the unit (optional)</p>"
                              }
                            ]
                          }
                        ]
                      },
                      {
                        "name": "priceTag",
                        "kind": "optional",
                        "type": "object",
                        "description": "",
                        "example": "",
                        "schema": [
                          {
                            "name": "active",
                            "kind": "optional",
                            "type": "boolean",
                            "description": "Indicates if the price tag is active"
                          },
                          {
                            "name": "code",
                            "kind": "optional",
                            "type": "string",
                            "description": "Code representing the discount"
                          },
                          {
                            "name": "id",
                            "kind": "optional",
                            "type": "string",
                            "description": "Unique identifier for the price tag"
                          },
                          {
                            "name": "lastPublishedById",
                            "kind": "optional",
                            "type": "string",
                            "description": "ID of the user who last published the tag"
                          },
                          {
                            "name": "lastPublishedDate",
                            "kind": "optional",
                            "type": "string",
                            "description": "Date of the last publication"
                          },
                          {
                            "name": "name",
                            "kind": "optional",
                            "type": "string",
                            "description": "Name of the price tag"
                          },
                          {
                            "name": "priceTagType",
                            "kind": "optional",
                            "type": "string",
                            "description": "<p>Type of the price tag (e.g., Quantity, Term)</p>"
                          },
                          {
                            "name": "priceTiers",
                            "kind": "optional",
                            "type": "array",
                            "description": "",
                            "example": "",
                            "itemType": "object",
                            "customType": "object[]",
                            "schema": [
                              {
                                "name": "chargeModel",
                                "kind": "optional",
                                "type": "string",
                                "description": "<p>Model of charge (e.g., PerUnit)</p>"
                              },
                              {
                                "name": "discountPercentage",
                                "kind": "optional",
                                "type": "number",
                                "description": "Percentage discount applied"
                              },
                              {
                                "name": "endUnit",
                                "kind": "optional",
                                "type": "number",
                                "description": "Ending unit for the tier"
                              },
                              {
                                "name": "endUnitDimension",
                                "kind": "optional",
                                "type": "string",
                                "description": "Dimension of the ending tier unit"
                              },
                              {
                                "name": "id",
                                "kind": "optional",
                                "type": "string",
                                "description": "Unique identifier for the price tier"
                              },
                              {
                                "name": "name",
                                "kind": "optional",
                                "type": "string",
                                "description": "Name of the price tier"
                              },
                              {
                                "name": "startUnit",
                                "kind": "optional",
                                "type": "number",
                                "description": "Starting unit for the tier"
                              },
                              {
                                "name": "startUnitDimension",
                                "kind": "optional",
                                "type": "string",
                                "description": "Dimension of the starting tier unit"
                              },
                              {
                                "name": "tierNumber",
                                "kind": "optional",
                                "type": "number",
                                "description": "Number representing the tier"
                              }
                            ]
                          },
                          {
                            "name": "priceType",
                            "kind": "optional",
                            "type": "string",
                            "description": "<p>Type of pricing (e.g., Volume)</p>"
                          },
                          {
                            "name": "publishStatus",
                            "kind": "optional",
                            "type": "string",
                            "description": "Publication status of the price tag"
                          },
                          {
                            "name": "recordType",
                            "kind": "optional",
                            "type": "string",
                            "description": "<p>Type of record (DiscountDimension)</p>"
                          },
                          {
                            "name": "startTime",
                            "kind": "optional",
                            "type": "string",
                            "description": "Start time for the discount"
                          },
                          {
                            "name": "uomDimension",
                            "kind": "optional",
                            "type": "string",
                            "description": "Unit of measure dimension for pricing"
                          }
                        ]
                      },
                      {
                        "name": "serialNumber",
                        "kind": "optional",
                        "type": "number",
                        "description": "Serial number for the price tag"
                      }
                    ]
                  },
                  {
                    "name": "publishStatus",
                    "kind": "optional",
                    "type": "string",
                    "description": "Publication status of the product"
                  },
                  {
                    "name": "recordType",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Type of record (Product, Bundle)</p>"
                  },
                  {
                    "name": "showIncludedProductOptions",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Indicates if included product options are shown"
                  },
                  {
                    "name": "sku",
                    "kind": "optional",
                    "type": "string",
                    "description": "Stock keeping unit for the product"
                  },
                  {
                    "name": "soldIndependently",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Indicates if the product can be sold independently"
                  },
                  {
                    "name": "startDate",
                    "kind": "optional",
                    "type": "string",
                    "description": "Start date of the product availability"
                  },
                  {
                    "name": "status",
                    "kind": "optional",
                    "type": "string",
                    "description": "Status of the product"
                  },
                  {
                    "name": "taxCode",
                    "kind": "optional",
                    "type": "string",
                    "description": "Tax code associated with the product"
                  },
                  {
                    "name": "taxMode",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Tax mode (e.g., TaxExclusive)</p>"
                  },
                  {
                    "name": "uom",
                    "kind": "optional",
                    "type": "object",
                    "description": "",
                    "example": "",
                    "schema": [
                      {
                        "name": "decimalScale",
                        "kind": "optional",
                        "type": "number",
                        "description": "Decimal scale for the unit of measure"
                      },
                      {
                        "name": "id",
                        "kind": "optional",
                        "type": "string",
                        "description": "ID of the unit of measure"
                      },
                      {
                        "name": "name",
                        "kind": "optional",
                        "type": "string",
                        "description": "Name of the unit of measure"
                      },
                      {
                        "name": "quantityDimension",
                        "kind": "optional",
                        "type": "string",
                        "description": "Quantity dimension for the unit"
                      },
                      {
                        "name": "roundingMode",
                        "kind": "optional",
                        "type": "string",
                        "description": "Rounding mode for pricing"
                      },
                      {
                        "name": "termDimension",
                        "kind": "optional",
                        "type": "string",
                        "description": "<p>Term dimension for the unit (optional)</p>"
                      }
                    ]
                  }
                ]
              },
              {
                "name": "warnings",
                "kind": "optional",
                "type": "array",
                "description": "Any warnings generated during processing.",
                "example": "",
                "itemType": "object",
                "customType": "object[]",
                "schema": [
                  {
                    "name": "code",
                    "kind": "optional",
                    "type": "string",
                    "description": "Warning code."
                  },
                  {
                    "name": "message",
                    "kind": "optional",
                    "type": "string",
                    "description": "<p>Human-readable warning message.</p>"
                  }
                ]
              }
            ],
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "401",
        "description": "Unauthorized",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "<p>Authentication failed — returned with HTTP 401. Two variants occur: a missing key is rejected by the gateway with {status: \"FAILURE\", errorCode, errorType, message}; an invalid key is rejected by the service with {status: 401, error, message}.</p>",
            "customType": "UnauthorizedError",
            "schema": [
              {
                "name": "status",
                "kind": "optional",
                "type": "",
                "description": "<p>HTTP status code (e.g. 401) or the string \"FAILURE\" for gateway-level rejections.</p>"
              },
              {
                "name": "error",
                "kind": "optional",
                "type": "string",
                "description": "<p>Error reason phrase (invalid-key variant).</p>"
              },
              {
                "name": "errorCode",
                "kind": "optional",
                "type": "string",
                "description": "<p>Machine-readable error code, e.g. MISSING_AUTH_METHOD (missing-key variant).</p>"
              },
              {
                "name": "errorType",
                "kind": "optional",
                "type": "string",
                "description": "<p>Error category, e.g. AUTHENTICATION_ERROR (missing-key variant).</p>"
              },
              {
                "name": "message",
                "kind": "optional",
                "type": "string",
                "description": "<p>Human-readable error message.</p>"
              }
            ],
            "modelRef": "#/components/schemas/UnauthorizedError",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "404",
        "description": "Customer not found",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "status",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "ERROR"
              },
              {
                "name": "errorCode",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "CUSTOMER_NOT_FOUND"
              },
              {
                "name": "errorType",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "NOT_FOUND"
              },
              {
                "name": "message",
                "kind": "optional",
                "type": "string",
                "description": "",
                "example": "Customer with id 'abc123' not found."
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "VUlyjutBfZ2_diW-GOVa6",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://api.nue.io/customers/{customerId}/products \\\n     --header 'accept: application/json'"
        },
        {
          "id": "1BqYN1NaX3eBMwSO2yEbF",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.nue.io/customers/{customerId}/products\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "B92Syn0XbfOtCXwIup03H",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.nue.io/customers/{customerId}/products\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "fhJBL2JTdNzc1sQwQtbEb",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.nue.io/customers/{customerId}/products\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "VUlyjutBfZ2_diW-GOVa6"
    },
    "results": {
      "languages": [
        {
          "id": "kItuYpNG6jjXJw_P0ypMm",
          "language": "200",
          "code": "// Customer-filtered product catalog returned successfully.\n{\n  \"status\": \"\",\n  \"data\": [\n    {\n      \"autoRenew\": false,\n      \"billingTiming\": \"\",\n      \"bundleTemplate\": \"\",\n      \"carvesEligible\": false,\n      \"configurable\": false,\n      \"customFields\": {},\n      \"defaultRenewalTerm\": 0,\n      \"defaultSubscriptionTerm\": 0,\n      \"description\": \"\",\n      \"evergreen\": false,\n      \"freeTrialType\": \"\",\n      \"id\": \"\",\n      \"imageUrl\": \"\",\n      \"lastPublishedById\": \"\",\n      \"lastPublishedDate\": \"\",\n      \"name\": \"\",\n      \"priceBookEntries\": [\n        {\n          \"active\": false,\n          \"billingTiming\": \"\",\n          \"currencyIsoCode\": \"\",\n          \"id\": \"\",\n          \"listPrice\": 0,\n          \"priceBookId\": \"\",\n          \"pricingAttributes\": [\n            {\n              \"description\": \"\",\n              \"id\": \"\",\n              \"label\": \"\",\n              \"name\": \"\",\n              \"value\": \"\"\n            }\n          ],\n          \"recommended\": false,\n          \"uom\": {\n            \"decimalScale\": 0,\n            \"id\": \"\",\n            \"name\": \"\",\n            \"quantityDimension\": \"\",\n            \"roundingMode\": \"\",\n            \"termDimension\": \"\"\n          }\n        }\n      ],\n      \"priceModel\": \"\",\n      \"productCategory\": \"\",\n      \"productFeatures\": [\n        {\n          \"featureDescription\": \"\",\n          \"featureName\": \"\",\n          \"featureOrder\": 0,\n          \"id\": \"\",\n          \"name\": \"\",\n          \"productOptions\": [\n            \"\"\n          ]\n        }\n      ],\n      \"productOptions\": [\n        \"\"\n      ],\n      \"productPriceTags\": [\n        {\n          \"active\": false,\n          \"id\": \"\",\n          \"name\": \"\",\n          \"priceBookEntry\": {\n            \"active\": false,\n            \"billingTiming\": \"\",\n            \"currencyIsoCode\": \"\",\n            \"id\": \"\",\n            \"listPrice\": 0,\n            \"priceBookId\": \"\",\n            \"pricingAttributes\": [\n              {\n                \"description\": \"\",\n                \"id\": \"\",\n                \"label\": \"\",\n                \"name\": \"\",\n                \"value\": \"\"\n              }\n            ],\n            \"recommended\": false,\n            \"uom\": {\n              \"decimalScale\": 0,\n              \"id\": \"\",\n              \"name\": \"\",\n              \"quantityDimension\": \"\",\n              \"roundingMode\": \"\",\n              \"termDimension\": \"\"\n            }\n          },\n          \"priceTag\": {\n            \"active\": false,\n            \"code\": \"\",\n            \"id\": \"\",\n            \"lastPublishedById\": \"\",\n            \"lastPublishedDate\": \"\",\n            \"name\": \"\",\n            \"priceTagType\": \"\",\n            \"priceTiers\": [\n              {\n                \"chargeModel\": \"\",\n                \"discountPercentage\": 0,\n                \"endUnit\": 0,\n                \"endUnitDimension\": \"\",\n                \"id\": \"\",\n                \"name\": \"\",\n                \"startUnit\": 0,\n                \"startUnitDimension\": \"\",\n                \"tierNumber\": 0\n              }\n            ],\n            \"priceType\": \"\",\n            \"publishStatus\": \"\",\n            \"recordType\": \"\",\n            \"startTime\": \"\",\n            \"uomDimension\": \"\"\n          },\n          \"serialNumber\": 0\n        }\n      ],\n      \"publishStatus\": \"\",\n      \"recordType\": \"\",\n      \"showIncludedProductOptions\": false,\n      \"sku\": \"\",\n      \"soldIndependently\": false,\n      \"startDate\": \"\",\n      \"status\": \"\",\n      \"taxCode\": \"\",\n      \"taxMode\": \"\",\n      \"uom\": {\n        \"decimalScale\": 0,\n        \"id\": \"\",\n        \"name\": \"\",\n        \"quantityDimension\": \"\",\n        \"roundingMode\": \"\",\n        \"termDimension\": \"\"\n      }\n    }\n  ],\n  \"warnings\": [\n    {\n      \"code\": \"\",\n      \"message\": \"\"\n    }\n  ]\n}"
        },
        {
          "id": "l99PLVA-jLbhBwlSFIRzy",
          "language": "401",
          "code": "// Unauthorized\n{\n  \"status\": \"\",\n  \"error\": \"\",\n  \"errorCode\": \"\",\n  \"errorType\": \"\",\n  \"message\": \"\"\n}"
        },
        {
          "id": "pXax6md9ThPXaHdpPPic2",
          "language": "404",
          "code": "// Customer not found\n{\n  \"status\": \"ERROR\",\n  \"errorCode\": \"CUSTOMER_NOT_FOUND\",\n  \"errorType\": \"NOT_FOUND\",\n  \"message\": \"Customer with id 'abc123' not found.\"\n}"
        }
      ],
      "selectedLanguageId": "kItuYpNG6jjXJw_P0ypMm"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}