Previous Next JavaScript must be enabled to correctly display this content

## Partially update a specific group customer by group customer Id

patch

/PASService/rest/services/v1/groupCustomers/{groupCustomerId}

Partially updates a single group customer based on the specified group customer Id

### Request

Path Parameters

- groupCustomerId(required): string(guid)
  Group Customer Id

Supported Media Types

- application/json

Request Body - application/json ()
Root Schema : schema
Type: `string`
Back to Top

### Response

#### 204 Response

successful operation
Back to Top

### Examples

This example describes how to update a group customer partially for the fields given in request body for a specified group customer by group customer Id.

Note

Below is the list of Fields that are not allowed for update using PATCH.

- groupCustomerGuid
- clientGuid
- customerNumber

Example cURL Command

Use the following cURL command to submit a request on the REST resource:

    curl -X PUT \
         -H "Accept: application/json" \
         -H "Content-Type: application/json" \
         -u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
         -L "http://server:port/PASService/rest/services/v1/groupCustomers/C19DCECD-31F3-4196-8374-7F27E3948918" \
         -d '{"Use this placeholder to plug-in the example request body given below"}'

Example Request Body

The following shows an example of the request body in JSON format:

    {
      "groupCustomer": {
        "IndustryCode": {
          "textValue": "327910",
          "optionText": "Abrasive Product Manufacturing - 327910"
        },
        "TaxIDSource": {
          "textValue": "00",
          "optionText": "Application"
        },
        "Corporation": {
          "textValue": "00",
          "optionText": "No"
        }
      }
    }

Back to Top