Skip to content

API SDK returns different field keys for Category Param Id and Value #42

@DRN88

Description

@DRN88

Stated in Category.md

  {
    "categoryParamId": "SURFACE",
    "title": "Povrch",
    "unit": "",
    "values": [
      {
        "id": "BRON ELOX",
        "text": "bronzový elox"
      },
      {
        "id": "CHROME",
        "text": "chrom"
      },
      ...
    ]
  },

Actual

  7 => array:4 [
    "paramId" => "LISTING_DESCRIPTION"
    "title" => "A lista leírása"
    "unit" => ""
    "values" => array:3 [
      0 => array:2 [
        "value" => "BASIC"
        "text" => "alapvető"
      ]
      1 => array:2 [
        "value" => "UPGRADE"
        "text" => "frissítés"
      ]
      2 => array:2 [
        "value" => "PREMIUM"
        "text" => "prémium"
      ]
    ]

categoryParamId vs paramId and id vs value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions