Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Get customer group by slug

Get a customer group by app_id and slug

GET/api/v1/{app_id}/customer-groups/{customer_group_slug}
Path parameters
app_idstringrequired

UUID of the app

customer_group_slugstringrequired

Customer group slug

Responses
200

OK

app_idstring
created_atstring
discount_percentageinteger
discount_percentage_decimalsinteger
idstring
namestring
slugstring
store_group_idstring
typestring
updated_atstring
400

Invalid request

codeStatus
Allowed:201403401500404400409
detailsstring[] | null
extra_fieldsobject
messagestring
404

Not found

codeStatus
Allowed:201403401500404400409
detailsstring[] | null
extra_fieldsobject
messagestring
500

Internal server error

codeStatus
Allowed:201403401500404400409
detailsstring[] | null
extra_fieldsobject
messagestring
Try it
Server
Parameters
Request
curl -X GET '//customers.enad.io/api/v1/string/customer-groups/string' \
  -H 'Accept: application/json'
Response
{
  "app_id": "string",
  "created_at": "string",
  "discount_percentage": 0,
  "discount_percentage_decimals": 0,
  "id": "string",
  "name": "string",
  "slug": "string",
  "store_group_id": "string",
  "type": "string",
  "updated_at": "string"
}