Update price and quantity through API

491 views
Skip to first unread message

Kovacevic Luka

unread,
Dec 20, 2017, 4:30:15 PM12/20/17
to Etsy API
Hi,

I really need your help. What is the way to update price and quantity of listing created through Etsy API. I created single listing without variations so my questions is how can I update price and quantity of that listing, when I don't have inventory with property ids and property values, since passing price and quantity parameters on updateListing endpoint is deprecated?

I really hope someone can help me. 
Kind reqards,
Luka Kovacevic

david olick

unread,
Dec 20, 2017, 4:53:06 PM12/20/17
to Etsy API V2
You will need to get the property ids and property values in order to update the price.

--
You received this message because you are subscribed to the Google Groups "Etsy API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to etsy-api-v2+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kovacevic Luka

unread,
Dec 26, 2017, 4:56:41 PM12/26/17
to Etsy API
I know that, I managed to create and update variations, but what if I just create listing without variations, by default it counts like that listing have one product in inventory, but that product don't have properties and property values so my question is how can I update price or quantity of product like that?

среда, 20. децембар 2017. 22.53.06 UTC+1, david olick је написао/ла:
You will need to get the property ids and property values in order to update the price.
On Mon, Dec 18, 2017 at 7:12 AM, Kovacevic Luka <l.kovac...@gmail.com> wrote:
Hi,

I really need your help. What is the way to update price and quantity of listing created through Etsy API. I created single listing without variations so my questions is how can I update price and quantity of that listing, when I don't have inventory with property ids and property values, since passing price and quantity parameters on updateListing endpoint is deprecated?

I really hope someone can help me. 
Kind reqards,
Luka Kovacevic

--
You received this message because you are subscribed to the Google Groups "Etsy API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to etsy-api-v2...@googlegroups.com.

david olick

unread,
Jan 4, 2018, 10:20:59 PM1/4/18
to Etsy API V2
I thought Etsy gives a default product with properties?  Can you provide an example of the inventory results of the listing?

To unsubscribe from this group and stop receiving emails from it, send an email to etsy-api-v2+unsubscribe@googlegroups.com.

Kovacevic Luka

unread,
Jan 16, 2018, 4:06:25 PM1/16/18
to Etsy API
I thought also, but it seems like Etsy creates default product but without default properties, here is example of getting inventory for listing which doesn't have variations:

"results": {
        "products": [
            {
                "product_id": 2184468176,
                "sku": "",
                "property_values": [],
                "offerings": [
                    {
                        "offering_id": 2148512914,
                        "price": {
                            "amount": 99,
                            "divisor": 100,
                            "currency_code": "EUR",
                            "currency_formatted_short": "€0.99",
                            "currency_formatted_long": "€0.99 EUR",
                            "currency_formatted_raw": "0.99"
                        },
                        "quantity": 25,
                        "is_enabled": 1,
                        "is_deleted": 0
                    }
                ],
                "is_deleted": 0
            }
        ],
        "price_on_property": [],
        "quantity_on_property": [],
        "sku_on_property": []
    },

david olick

unread,
Jan 18, 2018, 4:44:13 PM1/18/18
to Etsy API V2
And you can't just change the "amount"?

To unsubscribe from this group and stop receiving emails from it, send an email to etsy-api-v2+unsubscribe@googlegroups.com.

Kovacevic Luka

unread,
Jan 28, 2018, 11:26:02 AM1/28/18
to Etsy API
As far as I see, I can't, because it returns error and says that I am missing valid property ids(which in this case I don't have)

he...@barbarypress.com

unread,
Mar 12, 2018, 11:13:46 AM3/12/18
to Etsy API
I have not tried updating price, but I have been able to update the quantity successfully by doing a PUT request to:


Example parameters sent with the request: {"quantity":15}


Note that Etsy says this will be deprecated, and recommends using updateInventory instead. However, it appears to majorly broken, or the documentation is very poor, because I couldn't get updateInventory to work after many hours and gave up.
Reply all
Reply to author
Forward
0 new messages