Can I create Multiple Pickup Points with the API?

Can create multiple Pickup Points with api, for example I would like to create 10 or more delivery points at a time. How could it be done, the documentation shows only one put. Can pass an array of points to the api, how would that be?

https://developers.vtex.com/vtex-rest-api/reference/pickup-points-1#createupdate

@sejo I think you would simply have to call the API multiple times, providing different values for the pickupPointId path param. Would that be an issue for your application?

It would be good to be able to do it all at once, it would be much faster, I seemed to see a video where it was mentioned that several points could be created with a single call to the api.

Hey @sejo! You can upload an spreadsheet with all the pickup points via admin or you could configure a Runner on Postman to upload all your pickup points using that API that you sent before.

1 Like