Skip to content

inserting length with "values" field for continuous datatype returns missing value_ids error, worked in v2, fails in v3 #658

Discussion options

You must be logged in to vote

@alihammadraza I just did some testing on this. If you don't include the value_ids parameter of course it throws and error. What I did find was that if you pass in the value_ids parameter but leave it blank, the system will fill in the value_id when it's added. Here's the cURL.

curl --location --request PUT 'https://openapi.etsy.com/v3/application/shops/12345678/listings/987654321/properties/47626759838' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'x-api-key: xxxxxx' \
--header 'Authorization: Bearer yyyyyy' \
--data-urlencode 'value_ids=' \
--data-urlencode 'values=58.3'

This returned:

{
    "property_id": 18107239445,
    "property_name": "Length",
    "scal…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@etsyachristensen
Comment options

Comment options

You must be logged in to vote
1 reply
@alihammadraza
Comment options

Answer selected by etsyachristensen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants