Retrieve a Customer Group by its ID. You can expand the customer group's relations or select the fields that should be returned.
Request samples
curl --location --request GET 'https://api.medusa-commerce.com/admin/customer-groups/'
Responses
application/json {
"customer_group": {
"id": "cgrp_01G8ZH853Y6TFXWPG5EYE81X63",
"name": "VIP",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"customers": [
{}
],
"price_lists": [
{}
],
"metadata": {
"car": "white"
}
}
}
Modified at 2023-10-08 12:50:29