trebol-ecommerce / api

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

Minor patch over v1.1.1 #43

Closed bglamadrid closed 2 years ago

bglamadrid commented 2 years ago

This PR will update data type for product categories code, which was an alias for the underlying id number property. Instead, code should be a string, and should allow only simple characters (alphanumeric, dashes and underlines).

The expected result is that when making API calls using said code, such as /product_categories?code=XSM_CARE12V, the URL remains somewhat readable, without using encoded chars for white-spaces and so on.

In addition to this, some minor incongruities in the spec were addressed, too. And the README file now gives some insight on the overall features and purposes of this API.

Also, resolve #44