Pricegroup

Retrieves the collection of Pricegroup resources.

get

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

Autorisierungen
Abfrageparameter
id[between]stringOptional
id[gt]stringOptional
id[gte]stringOptional
id[lt]stringOptional
id[lte]stringOptional
groups[]string[]Optional
Antworten
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
      }
    ]
  }
}

Retrieves a Pricegroup resource.

get

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

Autorisierungen
Pfadparameter
idstringErforderlich

Resource identifier

Antworten
200

Pricegroup resource

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"
}

War das hilfreich?