Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DRN88 opened this issue Apr 27, 2023 · 0 comments
Open

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

DRN88 opened this issue Apr 27, 2023 · 0 comments

Comments

@DRN88
Copy link

DRN88 commented Apr 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant