Products

Add a product group name.

Adds a product group name and returns it.

post/products/groups

Request

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

Request body

idinteger

Product group id.

namestring required

Product group name.

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

Product type.

Example request

{
  "type": "TRAVEL"
}

Response

The product group name was successfully added.

idinteger

Product group id.

namestring required

Product group name.

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

Product type.

Example response

{
  "type": "TRAVEL"
}

Changes

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