List genres
GET
/
delivery
/
reference
/
genres
List genres
curl --request GET \
--url https://api.ammdistro.com/api/v2/external/delivery/reference/genres \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ammdistro.com/api/v2/external/delivery/reference/genres', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.ammdistro.com/api/v2/external/delivery/reference/genres"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"genres": [
{
"id": 123,
"name": "<string>",
"parentId": 123
}
]
}⌘I
List genres
curl --request GET \
--url https://api.ammdistro.com/api/v2/external/delivery/reference/genres \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.ammdistro.com/api/v2/external/delivery/reference/genres', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.ammdistro.com/api/v2/external/delivery/reference/genres"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"genres": [
{
"id": 123,
"name": "<string>",
"parentId": 123
}
]
}