Skip to main content

list-products

List products in the GPA (Global Product Access) system for a company. Use to browse or search a company's full product set across all catalogs — e.g. "show my products", "find products with SKU containing ABC", or page through the full catalog. Supports paging, free-text search, sorting, and product filters.

To list products scoped to one catalog, use list-catalog-products. For the full detail of a single product, use get-product-details.

Company-scoped callers (CompanyAdmin / CompanyUser) are auto-scoped. Host / NetworkAdmin callers must pass companyId — use list-companies first to get the target company's id.

Tool Name

datasync_product_list-products

Credential Required

X-DataSync-API-Key — your GPA Personal Access Token (PAT)

Parameters

ParameterTypeRequiredDescription
request.pageinteger | nullNo1-based page number. Omit for the first page.
request.pageSizeinteger | nullNoPage size (max 1000). Omit for backend default.
request.searchstring | nullNoFree-text search across product name and SKU.
request.sortBystring | nullNoField to sort by.
request.sortDescboolean | nullNoSort descending when true.
request.statusstring | nullNoFilter by lifecycle status: Active, Draft, or Archived.
request.productCategoryGlobalstring | nullNoFilter by global product-category code.
request.currencyCodeIsostring | nullNoFilter by ISO currency code (e.g. USD).
request.priceFromnumber | nullNoMinimum selling price (inclusive).
request.priceTonumber | nullNoMaximum selling price (inclusive).
request.stockFrominteger | nullNoMinimum available quantity (inclusive).
request.stockTointeger | nullNoMaximum available quantity (inclusive).
request.catalogIdstring | nullNoRestrict to products published in this catalog GUID.
request.skuInternalIdentifierstring | nullNoFilter by internal SKU identifier.
request.companyIdstring | nullNoTarget company GUID. Required for Host / NetworkAdmin callers; ignored for company-scoped callers.

Response

Returns a page of product records plus pagination totals.

{
"totalCount": 850,
"totalPages": 9,
"products": [
{
"id": "d4e5f6a7-b8c9-0123-defa-234567890123",
"name": "Men's Polo Shirt",
"skuInternalIdentifier": "SKU-POLO-M-BLU",
"status": "Active",
"productCategoryGlobal": "Apparel",
"price": 29.99,
"currencyCodeIso": "USD",
"availableQuantity": 500
}
]
}

Response Fields

FieldTypeDescription
totalCountintegerTotal number of products matching the filter
totalPagesintegerTotal pages at the requested page size
productsarrayPage of product records
products[].idstringProduct GUID — use as productId in get-product-details
products[].namestringProduct name
products[].skuInternalIdentifierstringInternal SKU identifier
products[].statusstringLifecycle status: Active, Draft, or Archived
products[].productCategoryGlobalstringGlobal product-category code
products[].pricenumberSelling price
products[].currencyCodeIsostringISO currency code (e.g. USD)
products[].availableQuantityintegerCurrent available stock quantity

Example Call

{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "datasync_product_list-products",
"arguments": {
"request": {
"search": "polo",
"status": "Active",
"currencyCodeIso": "USD"
}
}
}
}

Example Prompts

  • Show my products
  • Find products with SKU containing ABC
  • List all active products priced under $50
  • Show products in the Apparel category

See Also