Pricegroup
The group parameter can be use to load additional data. Use 'groups[]=translation' to load translations as well.
Authorizations
Query parameters
id[between]stringOptional
id[gt]stringOptional
id[gte]stringOptional
id[lt]stringOptional
id[lte]stringOptional
groups[]string[]Optional
Responses
200
Pricegroup collection
get
GET /pricegroups HTTP/1.1
Host: api
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
Pricegroup collection
{
"hydra:member": [
{
"@id": "text",
"@type": "text",
"@context": "text",
"id": 1,
"name": "text",
"nameTranslations": [
{
"@context": "text",
"@id": "text",
"@type": "text",
"language": "/entitiy/1",
"content": "text"
}
],
"descriptionTranslations": [
{
"@context": "text",
"@id": "text",
"@type": "text",
"language": "/entitiy/1",
"content": "text"
}
],
"kind": "PGKIND_INTERNAL",
"orderIndex": 1,
"frame": "/entitiy/1"
}
],
"hydra:totalItems": 1,
"hydra:view": {
"@id": "string",
"type": "string",
"hydra:first": "string",
"hydra:last": "string",
"hydra:previous": "string",
"hydra:next": "string"
},
"hydra:search": {
"@type": "text",
"hydra:template": "text",
"hydra:variableRepresentation": "text",
"hydra:mapping": [
{
"@type": "text",
"variable": "text",
"property": "text",
"required": true
}
]
}
}
The group parameter can be use to load additional data. Use 'groups[]=translation' to load translations as well.
Authorizations
Path parameters
idstringRequired
Resource identifier
Responses
200
Pricegroup resource
404
Resource not found
get
GET /pricegroups/{id} HTTP/1.1
Host: api
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"@id": "text",
"@type": "text",
"@context": "text",
"id": 1,
"name": "text",
"nameTranslations": [
{
"@context": "text",
"@id": "text",
"@type": "text",
"language": "/entitiy/1",
"content": "text"
}
],
"descriptionTranslations": [
{
"@context": "text",
"@id": "text",
"@type": "text",
"language": "/entitiy/1",
"content": "text"
}
],
"kind": "PGKIND_INTERNAL",
"orderIndex": 1,
"frame": "/entitiy/1"
}
Was this helpful?