List products
Changed onProduct listing endpoint shown in the source document for active product filtering. Most product examples use /naproducts, the companion workbook does not include this path, and the endpoint returned HTTP 403 during a production smoke test. Prefer /naproducts unless the service provider confirms this endpoint is enabled for the target database.
Request
- Base URL: https://api.myposconnect.com/api/v2
- URL: https://api.myposconnect.com/api/v2/products
- Auth: HTTP bearer
Query parameters
Number of records to return per page.
Page number to return.
Comma-separated list of fields to return.
Sort column immediately followed by ASC or DESC, without whitespace.
Filter products by Web Product flag.
Filter products by Active flag.
Filter products by style code.
Response
Product list returned.
Example response
[
{
"customSortRowNumber": 1,
"liTotalCount": 2,
"productId": "00000000-0000-4000-8000-000000000001",
"productCode": "STYLE02",
"longDescription": "STYLE 02",
"productSize": "XS",
"styleCode": "STY001",
"productColour": "GREEN",
"active": true
}
]Changes
- info
endpoint deprecated
- info
- breaking
the response's body type changed from no type to
arrayfor status - breaking
the response's body type changed from
objectto no type for status - breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
removed
subschema #1subschema #2from the response bodyoneOflist for the response status
- breaking