Products

Update a product group name.

Updates a product group name and returns it.

put/products/groups/{groupId}

Request

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

Path parameters

groupIdinteger required

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 updated.

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.