open-api icon indicating copy to clipboard operation
open-api copied to clipboard

[BUG]: Ring Size Scale not appearing in the shop manager but API

Open yovasx2 opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the bug

After setting Ring Size Scale, the API returns it but the value is not visible in the shop manager

Steps to reproduce

Define the property for a listing:

curl --location --request PUT 'https://openapi.etsy.com/v3/application/shops/18976342/listings/1297365420/properties/54142602013' \
--header 'Content-Type: application/json' \
--data-raw '{
    "property_id": 54142602013,
    "property_name": "Ring size",
    "scale_id": 22,
    "scale_name": "FR",
    "value_ids": [],
    "values": [
        "40"
    ]
}'

response:

{
    "property_id": 54142602013,
    "property_name": "Ring size",
    "scale_id": 22,
    "scale_name": "FR",
    "value_ids": [
        629266885431
    ],
    "values": [
        "40"
    ]
}

Ensure the value was set using get properties:

curl --location --request GET 'https://openapi.etsy.com/v3/application/shops/18976342/listings/1297365420/properties' \

response:

...
  {
            "property_id": 54142602013,
            "property_name": "Ring size",
            "scale_id": 22,
            "scale_name": "FR",
            "value_ids": [
                629266885431
            ],
            "values": [
                "40"
            ]
        }
....

But the shop manager is showing blank:

Screen Shot 2022-09-24 at 12 21 40

Expected behavior

To visualize the value in the shop manager once the API returns it

Additional context

Probs related with https://github.com/etsy/open-api/issues/502

yovasx2 avatar Sep 24 '22 17:09 yovasx2

@yovasx2 Out of curiosity, is the value in your system for the ring size a free text entry? Or is it a dropdown of values? The reason I ask is that I see that the value "40" was submitted and not the value id. I'm curious if you were enforcing a selection set on this one.

etsyachristensen avatar Sep 26 '22 16:09 etsyachristensen

good point I need to check it, it's dropdown prepopulated, what is the name of those vs the free input?

yovasx2 avatar Sep 27 '22 00:09 yovasx2