Proposed Change to Etsy API v3 | Allow / Store External System Ids #947
Replies: 1 comment 4 replies
-
Etsy API developers will likely never add something to help store external ID's. The closet thing you have to that is the SKU on the Product/Variation. The reason why they probably won't, is because the API is just a façade in front the the core Etsy systems and has no influence on how these core systems operate. This was mentioned a few times by Etsy "API" developers on here in other issues/discussions. They just do their best to work with what the core systems provide. Doesn't mean they can't take ideas, we have provided here, and pass them onto the core teams, but I am yeah to see anything drastically impactful happen in that space. To help you out, although not ideal, but sounds like the only course of action here is to store the Etsy generated ID in your system with a mapping to your internal ID. Then the next time you need you do an update, you can swap the Etsy ID into the request instead of you're own. This is just a stab in the dark suggestion as I am "yet" to work with listings and variations etc. That is the next phase of my app! |
Beta Was this translation helpful? Give feedback.
-
updateListingInventory, uploadListingImage, updateVariationImages would be affected, but generally these principles should be applied throughout the API.
When you add inventory to a listing you specify your own property_values -> value_ids. Upon saving or some other event Etsy disposes or hides the ids, you supplied initially, from retrieval. These ids and similar user supplied identifiers aid external systems to, among other things, programmatically supply an appropriate variation image(s) to their inventory.
Etsy also disposes of any identifying properties / ids when adding images to a listing. To be clear, the API should be mindful that external system need to supply their own identifier to all Listings and associated objects.
Steps to reproduce:
createDraftListing() or updateInventory an existing listing.
You're required to provide property_id, values_ids and values for the property_values array.
Upon successful update review the resulting property_values -> value_ids.
Notice they have all been replaced with Etsy's own Ids.
Listing Images is the same, you have no way to supply any identifier other than the filename and rank (both required).
API's should inherently support external id's for its consumers. There is little effort, it seems to me, on the API team's part and it could make a big difference for the consumer. Please consider offer ids for external systems throughout your API. Gratitude in advance for your consideration.
Beta Was this translation helpful? Give feedback.
All reactions