Get and create images for a specific product #42

merged 1 commit into from Apr 2, 2013


None yet
3 participants

SebastianSzturo commented Apr 2, 2013

Added 2 methods to get and create images for a specific product.

GET /products/id/images.json
POST /products/id/images.json

The problem is the naming of the method "get_product_images" and "create_product_images" aren't quite right because all product resources are named plural. But I don't really know how to name them.

This should be added for every product specific resource like videos or discount rules.


maetl commented Apr 2, 2013

Those methods are named correctly—it should be plural for a collection resource (ie: /products), and singular for an entity resource (ie: /products/1).

maetl merged commit 3bd68d0 into bigcommerce:master Apr 2, 2013

1 check passed

default The Travis build passed

pedelman added the v0.x label Mar 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment