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

[BUG] update listing endpoint not setting type and shipping profile in one step

Open yovasx2 opened this issue 2 years ago • 2 comments

Describe the bug I cannot set type (physical) and shipping profile id (fixed) in one step transitioning from digital type

To Reproduce Create a digital listing, use updateListing endpoint to set type physical and shipping_profile_id to a fixed profile

Expected behavior Set all parameters sent to the endpoint in one step

Screenshots Screen Shot 2021-12-14 at 15 36 38

Additional context Request:

curl --location --request PUT 'https://openapi.etsy.com/v3/application/shops/XXXXXX/listings/XXXXXX' \
--header 'x-api-key: XXXXXX' \
--header 'Authorization: Bearer XXXXXX' \
--header 'Content-Type: application/json' \
--header 'Cookie: uaid=XXXXXX.; user_prefs=XXXXXX.' \
--data-raw '{
        "shipping_profile_id": XXXXXX,
        "type": "physical"
}
'

Response:

    ...,
    "listing_type": 0,
    "tags": [],
    "materials": [],
    "shipping_profile_id": null,
    ...

yovasx2 avatar Dec 14 '21 21:12 yovasx2

is there an update on this?

mfarooq925 avatar Jan 27 '22 07:01 mfarooq925

is there an update on this?

yovasx2 avatar May 12 '22 17:05 yovasx2