trebol-ecommerce / api

eCommerce web service REST specification
GNU General Public License v3.0
0 stars 0 forks source link

Make operation `POST /data/product_list_contents` accept only one product as request body #54

Closed bglamadrid closed 2 years ago

bglamadrid commented 2 years ago

Unlike the PUT request, which is thought of as a batch operation as "Update contents of lists" may signify, POST was thought as a single-object operation, among the lines of "add to list contents". Consumers may benefit from calling this "micro" operation many times e.g. in parallel to assert each attempt is successful on their own.

Proposal