ReDoc documentation

customerGroups/{id}

customerGroups/{id}

get/V1/customerGroups/{id}

Get customer group by group ID.

Request
path Parameters
id
required
integer
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

500

Internal Server error

default

Unexpected error

Response samples
{
  • "id": 0,
  • "code": "string",
  • "tax_class_id": 0,
  • "tax_class_name": "string",
  • "extension_attributes": {
    }
}

customerGroups/{id}

put/V1/customerGroups/{id}

Save customer group.

Request
path Parameters
id
required
string
Request Body schema:
required
object (customer-data-group-interface)

Customer group interface.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

500

Internal Server error

default

Unexpected error

Request samples
{
  • "group": {
    }
}
Response samples
{
  • "id": 0,
  • "code": "string",
  • "tax_class_id": 0,
  • "tax_class_name": "string",
  • "extension_attributes": {
    }
}

customerGroups/{id}

delete/V1/customerGroups/{id}

Delete customer group by ID.

Request
path Parameters
id
required
integer
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

500

Internal Server error

default

Unexpected error

Response samples
true