# Pricegroup

## Retrieves the collection of Pricegroup resources.

> The group parameter can be use to load additional data. Use 'groups\[]=translation' to load translations as well.

```json
{"openapi":"3.0.0","info":{"title":"Converia API","version":"3.5.0"},"servers":[{"url":"/","description":""}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"Pricegroup.PricegroupDTO.jsonld-pricegroup.read_translation":{"type":"object","description":"Pricegroup","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"description":"The unique identifier for the pricegroup","type":"integer"},"name":{"description":"The Name","type":"string"},"nameTranslations":{"description":"Array of translation objects containing the field translations in all available languages. Not loaded by default, see translation.","type":"array","items":{"$ref":"#/components/schemas/Translation.TranslationDTO.jsonld-pricegroup.read_translation"}},"descriptionTranslations":{"description":"Array of translation objects containing the field translations in all available languages. Not loaded by default, see translation.","type":"array","items":{"$ref":"#/components/schemas/Translation.TranslationDTO.jsonld-pricegroup.read_translation"}},"kind":{"$ref":"#/components/schemas/PricegroupKinds","description":"The pricegroup kind","type":"string"},"orderIndex":{"description":"The order index","type":"number"},"frame":{"type":"string","format":"iri-reference","nullable":true}}},"Translation.TranslationDTO.jsonld-pricegroup.read_translation":{"type":"object","description":"Translation","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"language":{"type":"string","format":"iri-reference"},"content":{"type":"string"}}},"PricegroupKinds":{"type":"string","enum":["PGKIND_INTERNAL","PGKIND_NORM","PGKIND_CANCELED"]},"Pricegroup.PricegroupDTO-pricegroup.read_translation":{"type":"object","description":"Pricegroup","properties":{"id":{"description":"The unique identifier for the pricegroup","type":"integer"},"name":{"description":"The Name","type":"string"},"nameTranslations":{"description":"Array of translation objects containing the field translations in all available languages. Not loaded by default, see translation.","type":"array","items":{"$ref":"#/components/schemas/Translation.TranslationDTO-pricegroup.read_translation"}},"descriptionTranslations":{"description":"Array of translation objects containing the field translations in all available languages. Not loaded by default, see translation.","type":"array","items":{"$ref":"#/components/schemas/Translation.TranslationDTO-pricegroup.read_translation"}},"kind":{"$ref":"#/components/schemas/PricegroupKinds","description":"The pricegroup kind","type":"string"},"orderIndex":{"description":"The order index","type":"number"},"frame":{"type":"string","format":"iri-reference","nullable":true}}},"Translation.TranslationDTO-pricegroup.read_translation":{"type":"object","description":"Translation","properties":{"language":{"type":"string","format":"iri-reference"},"content":{"type":"string"}}}}},"paths":{"/api/pricegroups":{"get":{"operationId":"getPricegroupCollection","tags":["Pricegroup"],"responses":{"200":{"description":"Pricegroup collection","content":{"application/ld+json":{"schema":{"type":"object","properties":{"hydra:member":{"type":"array","items":{"$ref":"#/components/schemas/Pricegroup.PricegroupDTO.jsonld-pricegroup.read_translation"}},"hydra:totalItems":{"type":"integer","minimum":0},"hydra:view":{"type":"object","properties":{"@id":{"type":"string","format":"iri-reference"},"@type":{"type":"string"},"hydra:first":{"type":"string","format":"iri-reference"},"hydra:last":{"type":"string","format":"iri-reference"},"hydra:previous":{"type":"string","format":"iri-reference"},"hydra:next":{"type":"string","format":"iri-reference"}}},"hydra:search":{"type":"object","properties":{"@type":{"type":"string"},"hydra:template":{"type":"string"},"hydra:variableRepresentation":{"type":"string"},"hydra:mapping":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"variable":{"type":"string"},"property":{"type":"string","nullable":true},"required":{"type":"boolean"}}}}}}},"required":["hydra:member"]}},"text/html":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Pricegroup.PricegroupDTO-pricegroup.read_translation"}}}}}},"summary":"Retrieves the collection of Pricegroup resources.","description":"The group parameter can be use to load additional data. Use 'groups[]=translation' to load translations as well.","parameters":[{"name":"id[between]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"id[gt]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"id[gte]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"id[lt]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"id[lte]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"string"},"style":"form","explode":false,"allowReserved":false},{"name":"groups[]","in":"query","description":"","required":false,"deprecated":false,"allowEmptyValue":true,"schema":{"type":"array","items":{"type":"string"}},"style":"form","explode":true,"allowReserved":false}],"deprecated":false}}}}
```

## Retrieves a Pricegroup resource.

> The group parameter can be use to load additional data. Use 'groups\[]=translation' to load translations as well.

```json
{"openapi":"3.0.0","info":{"title":"Converia API","version":"3.5.0"},"servers":[{"url":"/","description":""}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}},"schemas":{"Pricegroup.PricegroupDTO.jsonld-pricegroup.read_translation":{"type":"object","description":"Pricegroup","properties":{"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"id":{"description":"The unique identifier for the pricegroup","type":"integer"},"name":{"description":"The Name","type":"string"},"nameTranslations":{"description":"Array of translation objects containing the field translations in all available languages. Not loaded by default, see translation.","type":"array","items":{"$ref":"#/components/schemas/Translation.TranslationDTO.jsonld-pricegroup.read_translation"}},"descriptionTranslations":{"description":"Array of translation objects containing the field translations in all available languages. Not loaded by default, see translation.","type":"array","items":{"$ref":"#/components/schemas/Translation.TranslationDTO.jsonld-pricegroup.read_translation"}},"kind":{"$ref":"#/components/schemas/PricegroupKinds","description":"The pricegroup kind","type":"string"},"orderIndex":{"description":"The order index","type":"number"},"frame":{"type":"string","format":"iri-reference","nullable":true}}},"Translation.TranslationDTO.jsonld-pricegroup.read_translation":{"type":"object","description":"Translation","properties":{"@context":{"readOnly":true,"oneOf":[{"type":"string"},{"type":"object","properties":{"@vocab":{"type":"string"},"hydra":{"type":"string","enum":["http://www.w3.org/ns/hydra/core#"]}},"required":["@vocab","hydra"],"additionalProperties":true}]},"@id":{"readOnly":true,"type":"string"},"@type":{"readOnly":true,"type":"string"},"language":{"type":"string","format":"iri-reference"},"content":{"type":"string"}}},"PricegroupKinds":{"type":"string","enum":["PGKIND_INTERNAL","PGKIND_NORM","PGKIND_CANCELED"]},"Pricegroup.PricegroupDTO-pricegroup.read_translation":{"type":"object","description":"Pricegroup","properties":{"id":{"description":"The unique identifier for the pricegroup","type":"integer"},"name":{"description":"The Name","type":"string"},"nameTranslations":{"description":"Array of translation objects containing the field translations in all available languages. Not loaded by default, see translation.","type":"array","items":{"$ref":"#/components/schemas/Translation.TranslationDTO-pricegroup.read_translation"}},"descriptionTranslations":{"description":"Array of translation objects containing the field translations in all available languages. Not loaded by default, see translation.","type":"array","items":{"$ref":"#/components/schemas/Translation.TranslationDTO-pricegroup.read_translation"}},"kind":{"$ref":"#/components/schemas/PricegroupKinds","description":"The pricegroup kind","type":"string"},"orderIndex":{"description":"The order index","type":"number"},"frame":{"type":"string","format":"iri-reference","nullable":true}}},"Translation.TranslationDTO-pricegroup.read_translation":{"type":"object","description":"Translation","properties":{"language":{"type":"string","format":"iri-reference"},"content":{"type":"string"}}}}},"paths":{"/api/pricegroups/{id}":{"get":{"operationId":"getPricegroupItem","tags":["Pricegroup"],"responses":{"200":{"description":"Pricegroup resource","content":{"application/ld+json":{"schema":{"$ref":"#/components/schemas/Pricegroup.PricegroupDTO.jsonld-pricegroup.read_translation"}},"text/html":{"schema":{"$ref":"#/components/schemas/Pricegroup.PricegroupDTO-pricegroup.read_translation"}}}},"404":{"description":"Resource not found"}},"summary":"Retrieves a Pricegroup resource.","description":"The group parameter can be use to load additional data. Use 'groups[]=translation' to load translations as well.","parameters":[{"name":"id","in":"path","description":"Resource identifier","required":true,"deprecated":false,"allowEmptyValue":false,"schema":{"type":"string"},"style":"simple","explode":false,"allowReserved":false}],"deprecated":false}}}}
```
