[Python] Using Etsy API v3, I have written a script to add and update listings. It fails when...

Discussão em 'Python' iniciado por Stack, Julho 21, 2025.

  1. Stack

    Stack Membro Participativo

    I have written a script that successfully creates a Draft mode listing. Etsy's "unique" API will not apply a SKU at that stage - the SKU is not associated with the product, but with the Inventory of that product and Inventory creation requires a 2nd API call. The payload for that 2nd call is a json structure potentially containing many attributes. Documentation indicates Price is one, despite price having already been set in the 1st call. Including price in the payload returns an error of "price must e float" or "price must be integer", the opposite of the value I provide. I omit Price altogether and it returns the error "missing price".

    Has anyone encountered this? What did you do to eliminate these contradictory error messages?

    I am cautiously optimistic that getting past this will result in the SKU and Images being correctly associated with the listing.

    Continue reading...

Compartilhe esta Página