API v1.0.65 Release Notes
Released on Tuesday, November 21, 2017
New Features
The Me endpoint for categories is an optional
ProductID
filter. This allows a user to find all the categories assigned to them that have that product in them, removing the need to give a user theCategoryReader
role to accomplish this.
Request:
1GET https://api.ordercloud.io/v1/me/categories?ProductID=SuperAwesomeProduct
Response:
1Status Code = 20023{4 "Meta": {5 "Page": 1,6 "PageSize": 20,7 "TotalCount": 25,8 "TotalPages": 2,9 "ItemRange": [10 1,11 2012 ]13 },14 "Items": [15 {16 "ID": "SuperAwesomeCategory",17 "Name": "I Contain the SuperAwesomeProduct",18 "Description": "",19 "ListOrder": 1,20 "Active": true,21 "ParentID": "",22 "ChildCount": 0,23 "xp": {}24 }25 ]26}
We also added a Me route for
GET
ing a single category! DOCSGET
https://api.ordercloud.io/v1/me/categories/{categoryID}
Bug Fixes
Previously, if you attempted to submit an order that had a lineitem with a product that had specs and options, it would fail. Fixed now!
On
OrderSubmitted
Message Sender Mandrill Templates, the order total merge variable was not accurately reflecting order total, leaving out promotion discount. This is now fixed. (The API model was never affected, only the Message Sender merge variable.)We fixed a bad index that was causing massive performance problems for
DELETE
ing a Security Profile assignment. You should be able to go forth and delete to your hearts content now with no fear of the angry spinner!