Fetch Customer Products
1 min
GET
https://api.nue.io/customers/{customerId}/products
customerIdstring<p>The customer ID (Nue ID or Salesforce external ID).</p>
productIdsstring<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>
<p>Notes:</p>
<ul>
<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>
<li>Repeated IDs are de-duplicated to a single lookup.</li>
<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>
<li>Customer pricing-attribute filtering is applied exactly as it is without this parameter.</li>
</ul>
acceptstringGenerated from available response content types
200<p>Customer-filtered product catalog returned successfully.</p>
401Unauthorized
404Customer not found
curl --request GET \
--url https://api.nue.io/customers/{customerId}/products \
--header 'accept: application/json'