Products

Get product groups by product type.

Endpoint for getting groups whose meet search criteria.

get/products/groups

Request

  • Base URL: https://pts-api.procountor.com/api
  • URL: https://pts-api.procountor.com/api/products/groups
  • Auth: HTTP bearer

Query parameters

type'SALES' | 'PURCHASE' | 'TRAVEL'

Product type. Endpoint will return product groups for types: SALES and PURCHASE when user will not specify type.

Response

Product groups were successfully returned.

Example response

{
  "productGroups": [
    {
      "type": "TRAVEL"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.