CustomerGroups
Get customer group by group ID.
Path parameters
idstringRequiredExample:
(Required)
<integer>
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get
GET /V1/customerGroups/{id} HTTP/1.1
Host: {{baseurl}}
Accept: */*
{
"code": "<string>",
"tax_class_id": "<integer>",
"id": "<integer>",
"tax_class_name": "<string>",
"extension_attributes": "<object>"
}
Save customer group.
Path parameters
idstringRequiredExample:
(Required)
<string>
Header parameters
Content-TypestringOptionalExample:
application/json
Body
objectOptionalExample:
{"group":{"code":"<string>","tax_class_id":"<integer>","id":"<integer>","tax_class_name":"<string>","extension_attributes":"<object>"}}
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
put
PUT /V1/customerGroups/{id} HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 135
{
"group": {
"code": "<string>",
"tax_class_id": "<integer>",
"id": "<integer>",
"tax_class_name": "<string>",
"extension_attributes": "<object>"
}
}
{
"code": "<string>",
"tax_class_id": "<integer>",
"id": "<integer>",
"tax_class_name": "<string>",
"extension_attributes": "<object>"
}
Delete customer group by ID.
Path parameters
idstringRequiredExample:
(Required)
<integer>
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
delete
DELETE /V1/customerGroups/{id} HTTP/1.1
Host: {{baseurl}}
Accept: */*
true
Save customer group.
Header parameters
Content-TypestringOptionalExample:
application/json
Body
objectOptionalExample:
{"group":{"code":"<string>","tax_class_id":"<integer>","id":"<integer>","tax_class_name":"<string>","extension_attributes":"<object>"}}
Responses
200
OK
application/json
Responseobject
400
Bad Request
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
post
POST /V1/customerGroups HTTP/1.1
Host: {{baseurl}}
Content-Type: application/json
Accept: */*
Content-Length: 135
{
"group": {
"code": "<string>",
"tax_class_id": "<integer>",
"id": "<integer>",
"tax_class_name": "<string>",
"extension_attributes": "<object>"
}
}
{
"code": "<string>",
"tax_class_id": "<integer>",
"id": "<integer>",
"tax_class_name": "<string>",
"extension_attributes": "<object>"
}